POST api/CustomerInspections/PostInspection
Request Information
URI Parameters
None.
Body Parameters
CustomerInspectionDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CustomerID | integer |
None. |
|
CustomerVenueID | integer |
None. |
|
Name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ID": 1, "CustomerID": 2, "CustomerVenueID": 3, "Name": "sample string 4" }
application/xml, text/xml
Sample:
<CustomerInspectionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <CustomerID>2</CustomerID> <CustomerVenueID>3</CustomerVenueID> <ID>1</ID> <Name>sample string 4</Name> </CustomerInspectionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
CustomerInspectionDTOName | Description | Type | Additional information |
---|---|---|---|
ID | integer |
None. |
|
CustomerID | integer |
None. |
|
CustomerVenueID | integer |
None. |
|
Name | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ID": 1, "CustomerID": 2, "CustomerVenueID": 3, "Name": "sample string 4" }
application/xml, text/xml
Sample:
<CustomerInspectionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO"> <CustomerID>2</CustomerID> <CustomerVenueID>3</CustomerVenueID> <ID>1</ID> <Name>sample string 4</Name> </CustomerInspectionDTO>