POST api/Authenticate_V1

Get WS-Key using username passwor and client id

Request Information

URI Parameters

None.

Body Parameters

Request that contains UserName, Password and ClientId

TwoShipAPI.Controllers.GetWSKeyRequest
NameDescriptionTypeAdditional information
UserName

string

None.

Password

string

None.

ClientId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserName": "sample string 1",
  "Password": "sample string 2",
  "ClientId": 3
}

application/xml, text/xml

Sample:
<GetWSKeyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TwoShipAPI.Controllers">
  <ClientId>3</ClientId>
  <Password>sample string 2</Password>
  <UserName>sample string 1</UserName>
</GetWSKeyRequest>

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>