PUT api/DealerPivots

Request Information

URI Parameters

None.

Body Parameters

DealerPivotViewModel
NameDescriptionTypeAdditional information
Id

string

None.

SerialNumber

string

Required

Name

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

TowerCount

integer

Range: inclusive between 1 and 99

DealerCustomerId

string

Required

DealerCustomerFirstName

string

None.

DealerCustomerLastName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": "sample string 1",
  "serialNumber": "sample string 2",
  "name": "sample string 3",
  "latitude": 4.1,
  "longitude": 5.1,
  "towerCount": 6,
  "dealerCustomerId": "sample string 7",
  "dealerCustomerFirstName": "sample string 8",
  "dealerCustomerLastName": "sample string 9"
}

application/xml, text/xml

Sample:
<DealerPivotViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LindsayDealer.Poco.Models">
  <DealerCustomerFirstName>sample string 8</DealerCustomerFirstName>
  <DealerCustomerId>sample string 7</DealerCustomerId>
  <DealerCustomerLastName>sample string 9</DealerCustomerLastName>
  <Id>sample string 1</Id>
  <Latitude>4.1</Latitude>
  <Longitude>5.1</Longitude>
  <Name>sample string 3</Name>
  <SerialNumber>sample string 2</SerialNumber>
  <TowerCount>6</TowerCount>
</DealerPivotViewModel>

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.