POST api/partitions

Request Information

URI Parameters

None.

Body Parameters

Collection of Partition
NameDescriptionTypeAdditional information
PartitionId

integer

None.

Number

integer

None.

Location

string

None.

FloorNo

integer

None.

ProjectId

integer

None.

Comment

string

None.

GlassThicknessName

string

None.

GlassTypeName

string

None.

JointTypeName

string

None.

LeftSideStopName

string

None.

LeftSideCustomWidth

integer

None.

RightSideStopName

string

None.

RightSideCustomWidth

integer

None.

TopStopName

string

None.

OptimizeStandard

boolean

None.

TopStopCustomHeight

integer

None.

BottomStopName

string

None.

LocationAsPrefix

boolean

None.

BottomStopCustomHeight

integer

None.

GlassThicknessName2

string

None.

GlassTypeName2

string

None.

FGTypeName

string

None.

FireClassName

string

None.

CustomJointWidth

integer

None.

DeductionWidth

integer

None.

DeductionHeight

integer

None.

Images

string

None.

Measures

Collection of Measure

None.

SupportLines

Collection of SupportLine

None.

Project

Project

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "partitionId": 1,
    "number": 1,
    "location": "sample string 2",
    "floorNo": 1,
    "projectId": 3,
    "comment": "sample string 4",
    "glassThicknessName": "sample string 5",
    "glassTypeName": "sample string 6",
    "jointTypeName": "sample string 7",
    "leftSideStopName": "sample string 8",
    "leftSideCustomWidth": 1,
    "rightSideStopName": "sample string 9",
    "rightSideCustomWidth": 1,
    "topStopName": "sample string 10",
    "optimizeStandard": true,
    "topStopCustomHeight": 1,
    "bottomStopName": "sample string 12",
    "locationAsPrefix": true,
    "bottomStopCustomHeight": 14,
    "glassThicknessName2": "sample string 15",
    "glassTypeName2": "sample string 16",
    "fgTypeName": "sample string 17",
    "fireClassName": "sample string 18",
    "customJointWidth": 1,
    "deductionWidth": 1,
    "deductionHeight": 1,
    "images": "sample string 19",
    "measures": [
      {
        "$id": "2",
        "measureId": "sample string 1",
        "partitionId": 2,
        "fixed": 1,
        "measurement": 1,
        "measureType": "sample string 3",
        "deduction": 4
      },
      {
        "$ref": "2"
      }
    ],
    "supportLines": [
      {
        "$id": "3",
        "position": 1,
        "partitionId": 1,
        "supportLineId": 2,
        "projectId": 1
      },
      {
        "$ref": "3"
      }
    ],
    "project": {
      "$id": "4",
      "projectId": 1,
      "name": "sample string 2",
      "caseNumber": 3,
      "comment": "sample string 4",
      "glassThicknessName": "sample string 5",
      "jointTypeName": "sample string 6",
      "glassTypeName": "sample string 7",
      "doorId": 1,
      "locationAsPrefix": true,
      "companyId": 9,
      "fgTypeName": "sample string 10",
      "fireClassName": "sample string 11",
      "topStopName": "sample string 12",
      "topStopCustomHeight": 1,
      "bottomStopName": "sample string 13",
      "bottomStopCustomHeight": 1,
      "customJointWidth": 1
    }
  },
  {
    "$ref": "1"
  }
]

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.