POST api/DeliveryAgent/Agents/SaveDeliveryAgentProfileImage
Request Information
URI Parameters
None.
Body Parameters
UploadAgentProfileImageModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AgentID | string |
None. |
|
| ProfilePic | string |
None. |
|
| OldImage | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AgentID": "sample string 1",
"ProfilePic": "sample string 2",
"OldImage": "sample string 3"
}
application/xml, text/xml
Sample:
<UploadAgentProfileImageModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryAgent.Operations.CustomModels"> <AgentID>sample string 1</AgentID> <OldImage>sample string 3</OldImage> <ProfilePic>sample string 2</ProfilePic> </UploadAgentProfileImageModel>
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>