POST api/SPIntegration/UpdateUnit

Request Information

URI Parameters

None.

Body Parameters

UnitUpdateDto
NameDescriptionTypeAdditional information
OldSPUrl

string

None.

NewSPUrl

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:
{
  "OldSPUrl": "sample string 1",
  "NewSPUrl": "sample string 2",
  "Environment": "sample string 3",
  "AccountSimplexID": "sample string 4",
  "AccountName": "sample string 5",
  "VinNumber": "sample string 6",
  "SimplexUnitNumber": "sample string 7",
  "VehicleType": "sample string 8",
  "DOTNumber": "sample string 9",
  "MCNumber": "sample string 10"
}

application/xml, text/xml

Sample:
<UnitUpdateDto 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 5</AccountName>
  <AccountSimplexID xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 4</AccountSimplexID>
  <DOTNumber xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 9</DOTNumber>
  <MCNumber xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 10</MCNumber>
  <SimplexUnitNumber xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 7</SimplexUnitNumber>
  <VehicleType xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 8</VehicleType>
  <VinNumber xmlns="http://schemas.datacontract.org/2004/07/LoadInvoiceReport.Da.Models">sample string 6</VinNumber>
  <Environment>sample string 3</Environment>
  <NewSPUrl>sample string 2</NewSPUrl>
  <OldSPUrl>sample string 1</OldSPUrl>
</UnitUpdateDto>

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.