POST api/Phones/AddLocationPhoneInfo

Request Information

URI Parameters

None.

Body Parameters

CreateLocationPhoneInfoDto
NameDescriptionTypeAdditional information
LocationId

integer

Required

PhoneNumber

integer

Required

Matching regular expression pattern: ^[0-9]{10}$

PhoneExt

integer

None.

Name

string

Required

String length: inclusive between 0 and 50

Note

string

String length: inclusive between 0 and 100

IsPreferred

boolean

None.

PhoneTypeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "LocationId": 1,
  "PhoneNumber": 2,
  "PhoneExt": 1,
  "Name": "sample string 3",
  "Note": "sample string 4",
  "IsPreferred": true,
  "PhoneTypeId": 6
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
Message

string

None.

Result

Object

None.

StatusCode

integer

None.

StatusGroup

string

None.

Details

Collection of Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.