POST api/DeliveryAgent/Agents/SaveDeliveryAgentDocumentDtls

Request Information

URI Parameters

None.

Body Parameters

DeliveryAgentDocumentPostView
NameDescriptionTypeAdditional information
DeliveryAgentID

string

Required

DocTypeID

string

Required

SelectedDocTypeID

string

None.

HasSelectList

boolean

None.

ValidityDate

date

Data type: Date

DeliveryAgentAddedDocuments

Collection of DeliveryAgentDocumentPostModel

None.

IPAddress

string

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DeliveryAgentID": "sample string 1",
  "DocTypeID": "sample string 2",
  "SelectedDocTypeID": "sample string 3",
  "HasSelectList": true,
  "ValidityDate": "2025-12-07T09:56:12.8379809+05:30",
  "DeliveryAgentAddedDocuments": [
    {
      "DocTypeID": "sample string 1",
      "Document": "sample string 2",
      "DocumentDescription": "sample string 3",
      "OldDocumentID": 4,
      "OldDocument": "sample string 5",
      "ValidityDate": "2025-12-07T09:56:12.8379809+05:30"
    },
    {
      "DocTypeID": "sample string 1",
      "Document": "sample string 2",
      "DocumentDescription": "sample string 3",
      "OldDocumentID": 4,
      "OldDocument": "sample string 5",
      "ValidityDate": "2025-12-07T09:56:12.8379809+05:30"
    }
  ],
  "IPAddress": "sample string 5",
  "UserID": "sample string 6"
}

application/xml, text/xml

Sample:
<DeliveryAgentDocumentPostView xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryAgent.Operations.CustomModels">
  <DeliveryAgentAddedDocuments>
    <DeliveryAgentDocumentPostModel>
      <DocTypeID>sample string 1</DocTypeID>
      <Document>sample string 2</Document>
      <DocumentDescription>sample string 3</DocumentDescription>
      <OldDocument>sample string 5</OldDocument>
      <OldDocumentID>4</OldDocumentID>
      <ValidityDate>2025-12-07T09:56:12.8379809+05:30</ValidityDate>
    </DeliveryAgentDocumentPostModel>
    <DeliveryAgentDocumentPostModel>
      <DocTypeID>sample string 1</DocTypeID>
      <Document>sample string 2</Document>
      <DocumentDescription>sample string 3</DocumentDescription>
      <OldDocument>sample string 5</OldDocument>
      <OldDocumentID>4</OldDocumentID>
      <ValidityDate>2025-12-07T09:56:12.8379809+05:30</ValidityDate>
    </DeliveryAgentDocumentPostModel>
  </DeliveryAgentAddedDocuments>
  <DeliveryAgentID>sample string 1</DeliveryAgentID>
  <DocTypeID>sample string 2</DocTypeID>
  <HasSelectList>true</HasSelectList>
  <IPAddress>sample string 5</IPAddress>
  <SelectedDocTypeID>sample string 3</SelectedDocTypeID>
  <UserID>sample string 6</UserID>
  <ValidityDate>2025-12-07T09:56:12.8379809+05:30</ValidityDate>
</DeliveryAgentDocumentPostView>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>