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": "557bd74d-55d2-4ad1-a5b6-96ba0af93697",
"StopId": "228c7554-8ac9-4c23-9632-b331b8802c72",
"CollectionTypeId": "9b5ae218-297e-4dc1-b65f-0dcf1d4f9923",
"Notation": "sample string 3",
"AdjNote": "sample string 4",
"Amount": 5.0,
"AdjAmount": 1.0,
"Identifier": "sample string 6",
"Updated": "2025-10-26T02:39:27.3128585-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>9b5ae218-297e-4dc1-b65f-0dcf1d4f9923</CollectionTypeId> <Id>557bd74d-55d2-4ad1-a5b6-96ba0af93697</Id> <Identifier>sample string 6</Identifier> <IsDeleted>1</IsDeleted> <Notation>sample string 3</Notation> <StopId>228c7554-8ac9-4c23-9632-b331b8802c72</StopId> <Updated>2025-10-26T02:39:27.3128585-04: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. |