POST PhoneType/Update

Request Information

URI Parameters

None.

Body Parameters

PhoneTypeEntity
NameDescriptionTypeAdditional information
PhoneTypeID

integer

None.

PhoneTypeDesc

string

Max length: 3

Description

string

None.

RequiresPhoneCode

string

Required

Max length: 1

TenantID

integer

None.

TenantName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneTypeID": 1,
  "PhoneTypeDesc": "sample string 2",
  "Description": "sample string 3",
  "RequiresPhoneCode": "sample string 4",
  "TenantID": 1,
  "TenantName": "sample string 5"
}

text/html

Sample:
{"PhoneTypeID":1,"PhoneTypeDesc":"sample string 2","Description":"sample string 3","RequiresPhoneCode":"sample string 4","TenantID":1,"TenantName":"sample string 5"}

application/xml, text/xml

Sample:
<PhoneTypeEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">
  <Description>sample string 3</Description>
  <PhoneTypeDesc>sample string 2</PhoneTypeDesc>
  <PhoneTypeID>1</PhoneTypeID>
  <RequiresPhoneCode>sample string 4</RequiresPhoneCode>
  <TenantID>1</TenantID>
  <TenantName>sample string 5</TenantName>
</PhoneTypeEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.