PUT TowCompany/Update

Request Information

URI Parameters

None.

Body Parameters

TowCompanyUpdateModel
NameDescriptionTypeAdditional information
TowCompanyId

integer

None.

TowCompanyName

string

None.

Address

string

None.

City

string

None.

State

string

None.

Zip

string

None.

ContactName

string

None.

Telephone

string

None.

Email

string

None.

PhoneNotification

integer

None.

EmailNotification

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "TowCompanyId": 1,
  "TowCompanyName": "sample string 2",
  "Address": "sample string 3",
  "City": "sample string 4",
  "State": "sample string 5",
  "Zip": "sample string 6",
  "ContactName": "sample string 7",
  "Telephone": "sample string 8",
  "Email": "sample string 9",
  "PhoneNotification": 10,
  "EmailNotification": 11
}

application/xml, text/xml

Sample:
<TowCompanyUpdateModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TowPaymentsAPI.Models">
  <Address>sample string 3</Address>
  <City>sample string 4</City>
  <ContactName>sample string 7</ContactName>
  <Email>sample string 9</Email>
  <EmailNotification>11</EmailNotification>
  <PhoneNotification>10</PhoneNotification>
  <State>sample string 5</State>
  <Telephone>sample string 8</Telephone>
  <TowCompanyId>1</TowCompanyId>
  <TowCompanyName>sample string 2</TowCompanyName>
  <Zip>sample string 6</Zip>
</TowCompanyUpdateModel>

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 'TowCompanyUpdateModel'.

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.