POST api/DeliveryAgent/Agents/SaveDeliveryAgentPersonalDtls
Request Information
URI Parameters
None.
Body Parameters
AgentPersonalDtlsAddModel| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryAgentID | string |
Required |
|
| DOB | date |
Required |
|
| Gender | string |
Required |
|
| ProfilePicture | string |
Required |
|
| Address | string |
Required |
|
| MobileNo | string |
Required Matching regular expression pattern: ^[0-9]*$ String length: inclusive between 9 and 10 |
|
| AlternativeEmailID | string |
Required |
|
| DeliveryServicePreferences | Collection of integer |
Required |
|
| IPAddress | string |
None. |
|
| UserID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeliveryAgentID": "sample string 1",
"DOB": "2025-12-07T10:00:45.667529+05:30",
"Gender": "sample string 2",
"ProfilePicture": "sample string 3",
"Address": "sample string 4",
"MobileNo": "sample string 5",
"AlternativeEmailID": "sample string 6",
"DeliveryServicePreferences": [
1,
2
],
"IPAddress": "sample string 7",
"UserID": "sample string 8"
}
application/xml, text/xml
Sample:
<AgentPersonalDtlsAddModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryAgent.Operations.CustomModels">
<Address>sample string 4</Address>
<AlternativeEmailID>sample string 6</AlternativeEmailID>
<DOB>2025-12-07T10:00:45.667529+05:30</DOB>
<DeliveryAgentID>sample string 1</DeliveryAgentID>
<DeliveryServicePreferences xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:long>1</d2p1:long>
<d2p1:long>2</d2p1:long>
</DeliveryServicePreferences>
<Gender>sample string 2</Gender>
<IPAddress>sample string 7</IPAddress>
<MobileNo>sample string 5</MobileNo>
<ProfilePicture>sample string 3</ProfilePicture>
<UserID>sample string 8</UserID>
</AgentPersonalDtlsAddModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse 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>