POST ops/housing/maintenanceTypes
Request Information
URI Parameters
None.
Body Parameters
MaintenanceTypePOSTName | Description | Type | Additional information |
---|---|---|---|
Description | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "description": "sample string 1" }
application/xml, text/xml
Sample:
<MaintenanceTypePOST xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Description>sample string 1</Description> </MaintenanceTypePOST>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
MaintenanceTypeGETName | Description | Type | Additional information |
---|---|---|---|
Id | integer |
None. |
|
Description | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "description": "sample string 2" }
application/xml, text/xml
Sample:
<MaintenanceTypeGET xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations.Housing"> <Description>sample string 2</Description> <Id>1</Id> </MaintenanceTypeGET>