PUT Business/Update

Request Information

URI Parameters

None.

Body Parameters

BusinessUpdateModel
NameDescriptionTypeAdditional information
Id

integer

None.

Address

string

None.

City

string

None.

StateId

integer

None.

Zip

string

None.

ContactName

string

None.

Phone

string

None.

PhoneNotification

integer

None.

EmailNotification

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Address": "sample string 1",
  "City": "sample string 2",
  "StateId": 1,
  "Zip": "sample string 3",
  "ContactName": "sample string 4",
  "Phone": "sample string 5",
  "PhoneNotification": 6,
  "EmailNotification": 7
}

application/xml, text/xml

Sample:
<BusinessUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TowPaymentsAPI.Models">
  <Address>sample string 1</Address>
  <City>sample string 2</City>
  <ContactName>sample string 4</ContactName>
  <EmailNotification>7</EmailNotification>
  <Id>1</Id>
  <Phone>sample string 5</Phone>
  <PhoneNotification>6</PhoneNotification>
  <StateId>1</StateId>
  <Zip>sample string 3</Zip>
</BusinessUpdateModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BusinessUpdateModel'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.