POST api/v0/Contact/UpdateContact

Request Information

URI Parameters

None.

Body Parameters

ContactContract
NameDescriptionTypeAdditional information
FarmId

integer

None.

ContactId

integer

None.

Name

string

None.

Phone

string

None.

Remarks

string

None.

ExternalID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FarmId": 1,
  "ContactId": 2,
  "Name": "sample string 3",
  "Phone": "sample string 4",
  "Remarks": "sample string 5",
  "ExternalID": "sample string 6"
}

application/xml, text/xml

Sample:
<ContactContract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.agrifoodatsolutions.com/FDService/v0/contracts/2017/01">
  <ContactId>2</ContactId>
  <ExternalID>sample string 6</ExternalID>
  <FarmId>1</FarmId>
  <Name>sample string 3</Name>
  <Phone>sample string 4</Phone>
  <Remarks>sample string 5</Remarks>
</ContactContract>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.