POST api/SPIntegration/CreateUnit

Request Information

URI Parameters

None.

Body Parameters

UnitDefaultValuesDto
NameDescriptionTypeAdditional information
LibraryUrl

string

None.

Environment

string

None.

AccountSimplexID

string

None.

AccountName

string

None.

VinNumber

string

None.

SimplexUnitNumber

string

None.

VehicleType

string

None.

DOTNumber

string

None.

MCNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "LibraryUrl": "sample string 1",
  "Environment": "sample string 2",
  "AccountSimplexID": "sample string 3",
  "AccountName": "sample string 4",
  "VinNumber": "sample string 5",
  "SimplexUnitNumber": "sample string 6",
  "VehicleType": "sample string 7",
  "DOTNumber": "sample string 8",
  "MCNumber": "sample string 9"
}

application/xml, text/xml

Sample:
<UnitDefaultValuesDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Dto">
  <AccountName xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 4</AccountName>
  <AccountSimplexID xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 3</AccountSimplexID>
  <DOTNumber xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 8</DOTNumber>
  <MCNumber xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 9</MCNumber>
  <SimplexUnitNumber xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 6</SimplexUnitNumber>
  <VehicleType xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 7</VehicleType>
  <VinNumber xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 5</VinNumber>
  <Environment>sample string 2</Environment>
  <LibraryUrl>sample string 1</LibraryUrl>
</UnitDefaultValuesDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.