POST api/v{version}/fireSafety
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| version |
The requested API version |
string |
Required Default value is 1 |
Body Parameters
FireSafetyModel| Name | Description | Type | Additional 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:
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |