POST api/User

Request Information

URI Parameters

None.

Body Parameters

UserParm
NameDescriptionTypeAdditional information
auth

string

None.

FirstName

string

None.

LastName

string

None.

EmailAddress

string

None.

ApplicationID

string

None.

OfficeID

integer

None.

AccountNumber

string

None.

LogonName

string

None.

ShowInactive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "auth": "sample string 1",
  "FirstName": "sample string 2",
  "LastName": "sample string 3",
  "EmailAddress": "sample string 4",
  "ApplicationID": "sample string 5",
  "OfficeID": 1,
  "AccountNumber": "sample string 6",
  "LogonName": "sample string 7",
  "ShowInactive": true
}

application/xml, text/xml

Sample:
<UserParm xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <AccountNumber>sample string 6</AccountNumber>
  <ApplicationID>sample string 5</ApplicationID>
  <EmailAddress>sample string 4</EmailAddress>
  <FirstName>sample string 2</FirstName>
  <LastName>sample string 3</LastName>
  <LogonName>sample string 7</LogonName>
  <OfficeID>1</OfficeID>
  <ShowInactive>true</ShowInactive>
  <auth>sample string 1</auth>
</UserParm>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UserResp
NameDescriptionTypeAdditional information
IsSuccessful

boolean

None.

ErrorMessage

string

None.

Users

Collection of User

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccessful": true,
  "ErrorMessage": "sample string 2",
  "Users": null
}

application/xml, text/xml

Sample:
<UserResp xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParcelLogic.WebApi.Transportation.Models">
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsSuccessful>true</IsSuccessful>
  <Users i:nil="true" />
</UserResp>