POST api/rep/IdentifierTypeProfile/{repDID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
repDID

string

Required

Body Parameters

RepIdentifierTypeProfileViewModel
NameDescriptionTypeAdditional information
id

integer

None.

identifierTypeId

integer

None.

description

string

None.

isActive

boolean

None.

value

string

None.

Request Formats

application/xml, text/xml

Sample:
<RepIdentifierTypeProfileViewModel>
  <ID>1</ID>
  <IdentifierTypeID>2</IdentifierTypeID>
  <Description>sample string 3</Description>
  <IsActive>True</IsActive>
  <Value>sample string 5</Value>
</RepIdentifierTypeProfileViewModel>

application/json, text/json

Sample:
{
  "id": 1,
  "identifierTypeId": 2,
  "description": "sample string 3",
  "isActive": true,
  "value": "sample string 5"
}

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'FormUrlEncodedFormatter' to write type 'RepIdentifierTypeProfileViewModel'.

Response Information

Resource Description

RepIdentifierTypeProfileViewModel
NameDescriptionTypeAdditional information
id

integer

None.

identifierTypeId

integer

None.

description

string

None.

isActive

boolean

None.

value

string

None.

Response Formats

application/xml, text/xml

Sample:
<RepIdentifierTypeProfileViewModel>
  <ID>1</ID>
  <IdentifierTypeID>2</IdentifierTypeID>
  <Description>sample string 3</Description>
  <IsActive>True</IsActive>
  <Value>sample string 5</Value>
</RepIdentifierTypeProfileViewModel>

application/json, text/json

Sample:
{
  "id": 1,
  "identifierTypeId": 2,
  "description": "sample string 3",
  "isActive": true,
  "value": "sample string 5"
}