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": "45fa9a2e-97f4-43cb-a9c9-976788c76fc9",
"StopId": "58b6b963-2ced-45af-97e6-8d720ed01307",
"CollectionTypeId": "5ce15b1a-0c8e-46a2-9831-e0ea673a2def",
"Notation": "sample string 3",
"AdjNote": "sample string 4",
"Amount": 5.0,
"AdjAmount": 1.0,
"Identifier": "sample string 6",
"Updated": "2025-10-26T03:46:53.346577-04: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>5ce15b1a-0c8e-46a2-9831-e0ea673a2def</CollectionTypeId> <Id>45fa9a2e-97f4-43cb-a9c9-976788c76fc9</Id> <Identifier>sample string 6</Identifier> <IsDeleted>1</IsDeleted> <Notation>sample string 3</Notation> <StopId>58b6b963-2ced-45af-97e6-8d720ed01307</StopId> <Updated>2025-10-26T03:46:53.346577-04:00</Updated> </CollectionData>
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. |