POST api/UserRegistrations/{userRegistrationId}/Contact

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userRegistrationId

globally unique identifier

Required

Body Parameters

ContactResultModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

PhoneNumber

string

None.

Type

string

None.

IsDefault

boolean

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "9b47957f-7bce-48d4-8bfe-f7be89e18c8a",
  "PhoneNumber": "sample string 2",
  "Type": "sample string 3",
  "IsDefault": true,
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<ContactResultModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iP.Products.Domains.MySDS.Models">
  <Id>9b47957f-7bce-48d4-8bfe-f7be89e18c8a</Id>
  <IsDefault>true</IsDefault>
  <IsDeleted>true</IsDeleted>
  <PhoneNumber>sample string 2</PhoneNumber>
  <Type>sample string 3</Type>
</ContactResultModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Id"

9b47957f-7bce-48d4-8bfe-f7be89e18c8a
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="PhoneNumber"

sample string 2
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="Type"

sample string 3
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsDefault"

True
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name="IsDeleted"

True
--MultipartDataMediaFormatterBoundary1q2w3e--

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml, multipart/form-data

Sample:

Sample not available.