PUT api/DealerCustomers
Request Information
URI Parameters
None.
Body Parameters
DealerCustomerViewModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
FarmName | string |
None. |
|
FirstName | string |
Required |
|
LastName | string |
Required |
|
Address | string |
Required |
|
Address2 | string |
None. |
|
City | string |
Required |
|
State | string |
Required |
|
Zip | string |
Required |
|
Phone | string |
None. |
|
string |
Required |
||
FullName | string |
None. |
|
CustomerLandType | CustomerLandType |
Required |
|
OldCustomerId | string |
None. |
|
OrganizationId | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": "sample string 1", "farmName": "sample string 2", "firstName": "sample string 3", "lastName": "sample string 4", "address": "sample string 5", "address2": "sample string 6", "city": "sample string 7", "state": "sample string 8", "zip": "sample string 9", "phone": "sample string 10", "email": "sample string 11", "fullName": "sample string 3 sample string 4", "customerLandType": 0, "oldCustomerId": "sample string 12", "organizationId": "sample string 13" }
application/xml, text/xml
Sample:
<DealerCustomerViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LindsayDealer.Poco.Models"> <Address>sample string 5</Address> <Address2>sample string 6</Address2> <City>sample string 7</City> <CustomerLandType>LandOwner</CustomerLandType> <Email>sample string 11</Email> <FarmName>sample string 2</FarmName> <FirstName>sample string 3</FirstName> <Id>sample string 1</Id> <LastName>sample string 4</LastName> <OldCustomerId>sample string 12</OldCustomerId> <OrganizationId>sample string 13</OrganizationId> <Phone>sample string 10</Phone> <State>sample string 8</State> <Zip>sample string 9</Zip> </DealerCustomerViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.