POST api/UpsNfo/CreateUpsCustomer

Used this method to create NFO UPS customer account

Request Information

URI Parameters

None.

Body Parameters

CreateUpsCustomerParm
NameDescriptionTypeAdditional information
UPSAccountNumber

UPS account number

string

Required

String length: inclusive between 7 and 10

UserName

Name of the user

string

Required

Max length: 50

EmailAddress

Email address of the user

string

Required

Max length: 100

PhoneNumber

Phone number of the user

string

Required

Max length: 25

PostalCode

Postal code

string

Required

Max length: 10

Request Formats

application/json, text/json

Sample:
{
  "EmailAddress": "sample string 3",
  "PhoneNumber": "sample string 4",
  "PostalCode": "sample string 5",
  "UPSAccountNumber": "sample string 1",
  "UserName": "sample string 2"
}

application/xml, text/xml

Sample:
<CreateUpsCustomerParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mnx.WebApi.Shipper.Models">
  <EmailAddress>sample string 3</EmailAddress>
  <PhoneNumber>sample string 4</PhoneNumber>
  <PostalCode>sample string 5</PostalCode>
  <UPSAccountNumber>sample string 1</UPSAccountNumber>
  <UserName>sample string 2</UserName>
</CreateUpsCustomerParm>

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.