POST api/admin/phone-mappings

Request Information

URI Parameters

None.

Body Parameters

PhoneMappingCreateDto
NameDescriptionTypeAdditional information
PhoneNumber

string

None.

MappingType

string

None.

ServiceName

string

None.

CompanyName

string

None.

NotificationEmail

string

None.

JobTypeId

integer

None.

Platform

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "phoneNumber": "sample string 1",
  "mappingType": "sample string 2",
  "serviceName": "sample string 3",
  "companyName": "sample string 4",
  "notificationEmail": "sample string 5",
  "jobTypeId": 1,
  "platform": "sample string 6",
  "isActive": true
}

application/xml, text/xml

Sample:
<PhoneMappingCreateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/NHSMSManagement.Models.Api">
  <CompanyName>sample string 4</CompanyName>
  <IsActive>true</IsActive>
  <JobTypeId>1</JobTypeId>
  <MappingType>sample string 2</MappingType>
  <NotificationEmail>sample string 5</NotificationEmail>
  <PhoneNumber>sample string 1</PhoneNumber>
  <Platform>sample string 6</Platform>
  <ServiceName>sample string 3</ServiceName>
</PhoneMappingCreateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.