POST api/SalesOrgMapping/AddSalesOrg

Request Information

URI Parameters

None.

Body Parameters

AddSalesOrgCommandDto
NameDescriptionTypeAdditional information
BU

string

None.

SalesOrg

string

None.

UserId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BU": "sample string 1",
  "SalesOrg": "sample string 2",
  "UserId": "sample string 3"
}

application/xml, text/xml

Sample:
<AddSalesOrgCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.SalesOrgMappingModule.Model">
  <BU>sample string 1</BU>
  <SalesOrg>sample string 2</SalesOrg>
  <UserId>sample string 3</UserId>
</AddSalesOrgCommandDto>

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

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Message": "sample string 1"
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Utilities.Common">
  <Message>sample string 1</Message>
  <Status>Failed</Status>
</Response>