POST api/Collection
Request Information
URI Parameters
None.
Body Parameters
CollectionData| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| StopId | globally unique identifier |
Required |
|
| CollectionTypeId | globally unique identifier |
Required |
|
| Notation | string |
None. |
|
| AdjNote | string |
None. |
|
| Amount | decimal number |
Required |
|
| AdjAmount | decimal number |
None. |
|
| Identifier | string |
None. |
|
| Updated | date |
None. |
|
| IsDeleted | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "e617cf05-1c69-4dc6-af17-a3198bbdea90",
"StopId": "e9cc3bcf-8b45-4467-aad9-bafff5761bdd",
"CollectionTypeId": "daf2c140-3143-4a3d-b324-6ad3c430fee9",
"Notation": "sample string 3",
"AdjNote": "sample string 4",
"Amount": 5.0,
"AdjAmount": 1.0,
"Identifier": "sample string 6",
"Updated": "2025-12-15T23:37:08.327516-05:00",
"IsDeleted": 1
}
application/xml, text/xml
Sample:
<CollectionData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IosWebApi.Models"> <AdjAmount>1</AdjAmount> <AdjNote>sample string 4</AdjNote> <Amount>5</Amount> <CollectionTypeId>daf2c140-3143-4a3d-b324-6ad3c430fee9</CollectionTypeId> <Id>e617cf05-1c69-4dc6-af17-a3198bbdea90</Id> <Identifier>sample string 6</Identifier> <IsDeleted>1</IsDeleted> <Notation>sample string 3</Notation> <StopId>e9cc3bcf-8b45-4467-aad9-bafff5761bdd</StopId> <Updated>2025-12-15T23:37:08.327516-05:00</Updated> </CollectionData>
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. |