POST phonenumber/save

Request Information

URI Parameters

None.

Body Parameters

PhoneNumbersEntity
NameDescriptionTypeAdditional information
PhoneId

integer

None.

PhoneTypeID

integer

None.

PhoneCode

string

None.

Contact

string

None.

ContactPhone

string

None.

ContactPhone2

string

None.

UserId

integer

None.

TenantID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "PhoneId": 1,
  "PhoneTypeID": 1,
  "PhoneCode": "sample string 2",
  "Contact": "sample string 3",
  "ContactPhone": "sample string 4",
  "ContactPhone2": "sample string 5",
  "UserId": 6,
  "TenantID": 1
}

text/html

Sample:
{"PhoneId":1,"PhoneTypeID":1,"PhoneCode":"sample string 2","Contact":"sample string 3","ContactPhone":"sample string 4","ContactPhone2":"sample string 5","UserId":6,"TenantID":1}

application/xml, text/xml

Sample:
<PhoneNumbersEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">
  <Contact>sample string 3</Contact>
  <ContactPhone>sample string 4</ContactPhone>
  <ContactPhone2>sample string 5</ContactPhone2>
  <PhoneCode>sample string 2</PhoneCode>
  <PhoneId>1</PhoneId>
  <PhoneTypeID>1</PhoneTypeID>
  <TenantID>1</TenantID>
  <UserId>6</UserId>
</PhoneNumbersEntity>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.