POST api/v{version}/fireSafety

Request Information

URI Parameters

NameDescriptionTypeAdditional information
version

The requested API version

string

Required

Default value is 1

Body Parameters

FireSafetyModel
NameDescriptionTypeAdditional information
customerId

string

None.

propertyName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "customerId": "sample string 1",
  "propertyName": "sample string 2"
}

text/javascript

Sample:
{"customerId":"sample string 1","propertyName":"sample string 2"}

application/xml, text/xml

Sample:
<FireSafetyModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UNITE.External.API.Models">
  <CustomerId>sample string 1</CustomerId>
  <PropertyId>sample string 2</PropertyId>
</FireSafetyModel>

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

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.