POST api/collections/save
Request Information
URI Parameters
None.
Body Parameters
AgentCollectionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| AgentCollectionId | globally unique identifier |
None. |
|
| AgentDeviceGuid | globally unique identifier |
None. |
|
| CustomerAccountId | globally unique identifier |
None. |
|
| BusinessDate | date |
None. |
|
| ReceiptNumber | integer |
None. |
|
| ReceiptDateTime | date |
None. |
|
| PaymentMode | string |
None. |
|
| CollectionAmount | decimal number |
None. |
|
| Note | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AgentCollectionId": "4f782b45-9a9d-4ec0-b209-24941c201c11",
"AgentDeviceGuid": "ee1c0263-5d98-4dbf-847c-1f2b7a0c7322",
"CustomerAccountId": "7bc07f0a-d099-46c7-88f6-f9f63df9236b",
"BusinessDate": "2026-10-04T14:43:30.8681139+00:00",
"ReceiptNumber": 5,
"ReceiptDateTime": "2026-10-04T14:43:30.8681139+00:00",
"PaymentMode": "sample string 7",
"CollectionAmount": 8.0,
"Note": "sample string 9"
}
application/xml, text/xml
Sample:
<AgentCollectionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DemoProject.Services.Application.Dtos.API.Collections"> <AgentCollectionId>4f782b45-9a9d-4ec0-b209-24941c201c11</AgentCollectionId> <AgentDeviceGuid>ee1c0263-5d98-4dbf-847c-1f2b7a0c7322</AgentDeviceGuid> <BusinessDate>2026-10-04T14:43:30.8681139+00:00</BusinessDate> <CollectionAmount>8</CollectionAmount> <CustomerAccountId>7bc07f0a-d099-46c7-88f6-f9f63df9236b</CustomerAccountId> <Note>sample string 9</Note> <PaymentMode>sample string 7</PaymentMode> <ReceiptDateTime>2026-10-04T14:43:30.8681139+00:00</ReceiptDateTime> <ReceiptNumber>5</ReceiptNumber> </AgentCollectionRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.