POST api/DeliveryAgent/Agents/AddAgent

Request Information

URI Parameters

None.

Body Parameters

DeliveryAgentRegisterModel
NameDescriptionTypeAdditional information
AccountEmailID

string

Required

ProfileName

string

None.

PreferredDeliveryZoneID

integer

Required

IsActive

boolean

None.

UserID

string

None.

AccountUserID

string

None.

IPAddress

string

None.

AddedByAdmin

boolean

None.

IsEmailConfirmed

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AccountEmailID": "sample string 1",
  "ProfileName": "sample string 2",
  "PreferredDeliveryZoneID": 3,
  "IsActive": true,
  "UserID": "sample string 5",
  "AccountUserID": "sample string 6",
  "IPAddress": "sample string 7",
  "AddedByAdmin": true,
  "IsEmailConfirmed": true
}

application/xml, text/xml

Sample:
<DeliveryAgentRegisterModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DeliveryAgent.Operations.CustomModels">
  <AccountEmailID>sample string 1</AccountEmailID>
  <AccountUserID>sample string 6</AccountUserID>
  <AddedByAdmin>true</AddedByAdmin>
  <IPAddress>sample string 7</IPAddress>
  <IsActive>true</IsActive>
  <IsEmailConfirmed>true</IsEmailConfirmed>
  <PreferredDeliveryZoneID>3</PreferredDeliveryZoneID>
  <ProfileName>sample string 2</ProfileName>
  <UserID>sample string 5</UserID>
</DeliveryAgentRegisterModel>

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>