PUT api/Collection/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
Required |
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": "910b0b06-a44a-4e11-be08-7bc48ae6685f",
"StopId": "64732bf0-16c2-4a80-a9b1-9eb0a105f3a3",
"CollectionTypeId": "ad99ad46-18c6-4717-bbf3-cea5cd99bc68",
"Notation": "sample string 3",
"AdjNote": "sample string 4",
"Amount": 5.0,
"AdjAmount": 1.0,
"Identifier": "sample string 6",
"Updated": "2025-10-26T02:42:20.5871637-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>ad99ad46-18c6-4717-bbf3-cea5cd99bc68</CollectionTypeId> <Id>910b0b06-a44a-4e11-be08-7bc48ae6685f</Id> <Identifier>sample string 6</Identifier> <IsDeleted>1</IsDeleted> <Notation>sample string 3</Notation> <StopId>64732bf0-16c2-4a80-a9b1-9eb0a105f3a3</StopId> <Updated>2025-10-26T02:42:20.5871637-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. |