POST phonenumber/addphonenumbermask

Request Information

URI Parameters

None.

Body Parameters

PhoneNumberMask
NameDescriptionTypeAdditional information
MaskId

integer

None.

Sequence

integer

None.

MaskValue

string

None.

MaskDescription

string

None.

MaskLength

integer

None.

IsDefault

boolean

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "MaskId": 1,
  "Sequence": 2,
  "MaskValue": "sample string 3",
  "MaskDescription": "sample string 4",
  "MaskLength": 5,
  "IsDefault": true,
  "IsActive": true
}

text/html

Sample:
{"MaskId":1,"Sequence":2,"MaskValue":"sample string 3","MaskDescription":"sample string 4","MaskLength":5,"IsDefault":true,"IsActive":true}

application/xml, text/xml

Sample:
<PhoneNumberMask xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.PhoneNumbers">
  <IsActive>true</IsActive>
  <IsDefault>true</IsDefault>
  <MaskDescription>sample string 4</MaskDescription>
  <MaskId>1</MaskId>
  <MaskLength>5</MaskLength>
  <MaskValue>sample string 3</MaskValue>
  <Sequence>2</Sequence>
</PhoneNumberMask>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.