POST api/admin/addShipper

Request Information

URI Parameters

None.

Body Parameters

ShipperBindingViewModel
NameDescriptionTypeAdditional information
Email

string

Required

String length: inclusive between 0 and 250

Password

string

Required

Data type: Password

String length: inclusive between 6 and 100

ConfirmPassword

string

Data type: Password

String length: inclusive between 0 and 250

FirstName

string

Required

String length: inclusive between 0 and 250

LastName

string

Required

String length: inclusive between 0 and 250

PhoneNumber

string

String length: inclusive between 0 and 250

CompanyName

string

Required

String length: inclusive between 0 and 250

Address1

string

String length: inclusive between 0 and 250

Address2

string

String length: inclusive between 0 and 250

City

string

String length: inclusive between 0 and 250

State

string

String length: inclusive between 0 and 250

Zipcode

string

String length: inclusive between 0 and 250

Country

string

String length: inclusive between 0 and 250

BillingAddress1

string

String length: inclusive between 0 and 250

BillingAddress2

string

String length: inclusive between 0 and 250

BillingZipcode

string

String length: inclusive between 0 and 250

BillingCity

string

String length: inclusive between 0 and 250

BillingState

string

String length: inclusive between 0 and 250

BillingCountry

string

String length: inclusive between 0 and 250

SendEmail

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Email": "sample string 1",
  "Password": "sample string 2",
  "ConfirmPassword": "sample string 3",
  "FirstName": "sample string 4",
  "LastName": "sample string 5",
  "PhoneNumber": "sample string 6",
  "CompanyName": "sample string 7",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "City": "sample string 10",
  "State": "sample string 11",
  "Zipcode": "sample string 12",
  "Country": "sample string 13",
  "BillingAddress1": "sample string 14",
  "BillingAddress2": "sample string 15",
  "BillingZipcode": "sample string 16",
  "BillingCity": "sample string 17",
  "BillingState": "sample string 18",
  "BillingCountry": "sample string 19",
  "SendEmail": true
}

application/xml, text/xml

Sample:
<ShipperBindingViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AdminCore.ViewModels.BackOffice">
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <BillingAddress1>sample string 14</BillingAddress1>
  <BillingAddress2>sample string 15</BillingAddress2>
  <BillingCity>sample string 17</BillingCity>
  <BillingCountry>sample string 19</BillingCountry>
  <BillingState>sample string 18</BillingState>
  <BillingZipcode>sample string 16</BillingZipcode>
  <City>sample string 10</City>
  <CompanyName>sample string 7</CompanyName>
  <ConfirmPassword>sample string 3</ConfirmPassword>
  <Country>sample string 13</Country>
  <Email>sample string 1</Email>
  <FirstName>sample string 4</FirstName>
  <LastName>sample string 5</LastName>
  <Password>sample string 2</Password>
  <PhoneNumber>sample string 6</PhoneNumber>
  <SendEmail>true</SendEmail>
  <State>sample string 11</State>
  <Zipcode>sample string 12</Zipcode>
</ShipperBindingViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.