POST api/CreateFloorPlan

Request Information

URI Parameters

None.

Body Parameters

CreateFloorPlanRequest
NameDescriptionTypeAdditional information
UserEmail

string

None.

ProjectCode

string

None.

FloorPlanName

string

None.

Remark

string

None.

ImageFloorPlan

CreateFloorPlan_Image

None.

FloorList

Collection of CreateFloorPlan_FloorList

None.

Request Formats

application/json, text/json

Sample:
{
  "UserEmail": "sample string 1",
  "ProjectCode": "sample string 2",
  "FloorPlanName": "sample string 3",
  "Remark": "sample string 4",
  "ImageFloorPlan": {
    "FileID": 1,
    "FileSize": 2,
    "FileName": "sample string 3",
    "ActualFileName": "sample string 4"
  },
  "FloorList": [
    {
      "Floor": "sample string 1",
      "Selected": "sample string 2"
    },
    {
      "Floor": "sample string 1",
      "Selected": "sample string 2"
    }
  ]
}

application/xml, text/xml

Sample:
<CreateFloorPlanRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sirius_Api.Models.Sirius">
  <FloorList>
    <CreateFloorPlanRequest.CreateFloorPlan_FloorList>
      <Floor>sample string 1</Floor>
      <Selected>sample string 2</Selected>
    </CreateFloorPlanRequest.CreateFloorPlan_FloorList>
    <CreateFloorPlanRequest.CreateFloorPlan_FloorList>
      <Floor>sample string 1</Floor>
      <Selected>sample string 2</Selected>
    </CreateFloorPlanRequest.CreateFloorPlan_FloorList>
  </FloorList>
  <FloorPlanName>sample string 3</FloorPlanName>
  <ImageFloorPlan>
    <ActualFileName>sample string 4</ActualFileName>
    <FileID>1</FileID>
    <FileName>sample string 3</FileName>
    <FileSize>2</FileSize>
  </ImageFloorPlan>
  <ProjectCode>sample string 2</ProjectCode>
  <Remark>sample string 4</Remark>
  <UserEmail>sample string 1</UserEmail>
</CreateFloorPlanRequest>

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 'CreateFloorPlanRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.