POST api/ManagingAgentAssign
Request Information
URI Parameters
None.
Body Parameters
ManagingAgentAssignRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| Code | string |
None. |
|
| BuildingID | integer |
None. |
|
| Traffic | boolean |
None. |
|
| Ammonia | boolean |
None. |
|
| Panel | boolean |
None. |
|
| ExpiredDate | string |
None. |
|
| SubmitBy | integer |
None. |
|
| Token | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"Code": "sample string 2",
"BuildingID": 3,
"Traffic": true,
"Ammonia": true,
"Panel": true,
"ExpiredDate": "sample string 7",
"SubmitBy": 8,
"Token": "sample string 9"
}
application/xml, text/xml
Sample:
<ManagingAgentAssignRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/M2senseWebApiProject.Models"> <Ammonia>true</Ammonia> <BuildingID>3</BuildingID> <Code>sample string 2</Code> <ExpiredDate>sample string 7</ExpiredDate> <ID>1</ID> <Panel>true</Panel> <SubmitBy>8</SubmitBy> <Token>sample string 9</Token> <Traffic>true</Traffic> </ManagingAgentAssignRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
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. |