POST api/BrokerRequest/CreateBrokerAssigment

Request Information

URI Parameters

None.

Body Parameters

CreateRequestModel
NameDescriptionTypeAdditional information
crefc_awbnumbertext

string

None.

crefc_phonenumber

string

None.

crefc_brokeremail

string

None.

crefc_broker

string

None.

crefc_name

string

None.

crefc_Consignee@odata.bind

string

None.

crefc_BrokerLookup@odata.bind

string

None.

crefc_brokerid

string

None.

Request Formats

application/json, text/json

Sample:
{
  "crefc_awbnumbertext": "sample string 1",
  "crefc_phonenumber": "sample string 2",
  "crefc_brokeremail": "sample string 3",
  "crefc_broker": "sample string 4",
  "crefc_name": "sample string 5",
  "crefc_Consignee@odata.bind": "sample string 6",
  "crefc_BrokerLookup@odata.bind": "sample string 7",
  "crefc_brokerid": "sample string 8"
}

application/xml, text/xml

Sample:
<CreateRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SAL.API.Repository.Models">
  <AWBNumber>sample string 1</AWBNumber>
  <BrokerEmail>sample string 3</BrokerEmail>
  <BrokerId>sample string 7</BrokerId>
  <BrokerIdString>sample string 8</BrokerIdString>
  <ConsigneeId>sample string 6</ConsigneeId>
  <FullName>sample string 4</FullName>
  <Phonenumber>sample string 2</Phonenumber>
  <RequestMessage>sample string 5</RequestMessage>
</CreateRequestModel>

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 'CreateRequestModel'.

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>