POST api/Login/UserRegistration

Request Information

URI Parameters

None.

Body Parameters

UserRegistrationModel
NameDescriptionTypeAdditional information
firstname

string

None.

lastname

string

None.

emailaddress1

string

None.

telephone1

string

None.

mobilephone

string

None.

scn_vatnumber

string

None.

scn_customsnumber

string

None.

scn_brokerid

string

None.

address1_line1

string

None.

address1_city

string

None.

address1_postalcode

string

None.

adx_identity_username

string

None.

scn_password

string

None.

scn_confirmpassword

string

None.

scn_Country@odata.bind

string

None.

scn_awbnumber

string

None.

ldv_isconsignee

boolean

None.

ldv_isagent

boolean

None.

scn_is2factorsformobile

boolean

None.

ldv_isshipper

boolean

None.

scn_isairline

boolean

None.

scn_brokerchoice

string

None.

scn_brokerchoice_text

string

None.

scn_twofactordirection

string

None.

adx_identity_emailaddress1confirmed

boolean

None.

adx_identity_mobilephoneconfirmed

boolean

None.

adx_identity_twofactorenabled

boolean

None.

adx_identity_logonenabled

boolean

None.

adx_identity_lockoutenabled

boolean

None.

entityimage

string

None.

scn_contacttype

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "firstname": "sample string 1",
  "lastname": "sample string 2",
  "emailaddress1": "sample string 3",
  "telephone1": "sample string 4",
  "mobilephone": "sample string 5",
  "scn_vatnumber": "sample string 6",
  "scn_customsnumber": "sample string 7",
  "scn_brokerid": "sample string 8",
  "address1_line1": "sample string 9",
  "address1_city": "sample string 10",
  "address1_postalcode": "sample string 11",
  "adx_identity_username": "sample string 12",
  "scn_password": "sample string 13",
  "scn_confirmpassword": "sample string 14",
  "scn_Country@odata.bind": "sample string 15",
  "scn_awbnumber": "sample string 16",
  "ldv_isconsignee": true,
  "ldv_isagent": true,
  "scn_is2factorsformobile": true,
  "ldv_isshipper": true,
  "scn_isairline": true,
  "scn_brokerchoice": "sample string 22",
  "scn_brokerchoice_text": "sample string 23",
  "scn_twofactordirection": "sample string 24",
  "adx_identity_emailaddress1confirmed": true,
  "adx_identity_mobilephoneconfirmed": true,
  "adx_identity_twofactorenabled": true,
  "adx_identity_logonenabled": true,
  "adx_identity_lockoutenabled": true,
  "entityimage": "sample string 30",
  "scn_contacttype": 31
}

application/xml, text/xml

Sample:
<UserRegistrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAL.API.Repository.Models">
  <AWBNumber>sample string 16</AWBNumber>
  <AddressLine1>sample string 9</AddressLine1>
  <BrokerChoice>sample string 22</BrokerChoice>
  <BrokerChoiceCode>sample string 23</BrokerChoiceCode>
  <BrokerId>sample string 8</BrokerId>
  <City>sample string 10</City>
  <ConfirmPassword>sample string 14</ConfirmPassword>
  <ContactType>31</ContactType>
  <CustomNumber>sample string 7</CustomNumber>
  <EmailAddress>sample string 3</EmailAddress>
  <FirstName>sample string 1</FirstName>
  <IdentityUsername>sample string 12</IdentityUsername>
  <Is2Factor>true</Is2Factor>
  <IsEmailConfirm>true</IsEmailConfirm>
  <IsTelephoneConfirm>true</IsTelephoneConfirm>
  <IsTwoFactorsConfirm>true</IsTwoFactorsConfirm>
  <Islockoutenabled>true</Islockoutenabled>
  <Islogonenabled>true</Islogonenabled>
  <LastName>sample string 2</LastName>
  <LdvCountryIdOdataBind>sample string 15</LdvCountryIdOdataBind>
  <Mobilephone>sample string 5</Mobilephone>
  <Password>sample string 13</Password>
  <Photo>sample string 30</Photo>
  <PostalCodeCity>sample string 11</PostalCodeCity>
  <Telephone1>sample string 4</Telephone1>
  <TwoFactorCode>sample string 24</TwoFactorCode>
  <VatNumber>sample string 6</VatNumber>
  <isAirline>true</isAirline>
  <isBroker>true</isBroker>
  <isConsignee>true</isConsignee>
  <isShipper>true</isShipper>
</UserRegistrationModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'UserRegistrationModel'.

Response Information

Resource Description

SALError
NameDescriptionTypeAdditional information
code

integer

None.

message

string

None.

incidentid

string

None.

ldv_awbnumberexists

boolean

None.

objectid

string

None.

casenumber

string

None.

Response Formats

application/json, text/json

Sample:
{
  "code": 1,
  "message": "sample string 2",
  "incidentid": "sample string 3",
  "ldv_awbnumberexists": true,
  "objectid": "sample string 5",
  "casenumber": "sample string 6"
}

application/xml, text/xml

Sample:
<SALError xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAL.API.Repository.Models">
  <CaseNumber>sample string 6</CaseNumber>
  <Code>1</Code>
  <IncidentId>sample string 3</IncidentId>
  <LdvAwbNumberExists>true</LdvAwbNumberExists>
  <Message>sample string 2</Message>
  <ObjectId>sample string 5</ObjectId>
</SALError>