POST Group/AddOriginator

Request Information

URI Parameters

None.

Body Parameters

AddOriginatorModel
NameDescriptionTypeAdditional information
group_id

string

None.

originator_id

Collection of string

None.

originators

string

None.

Request Formats

application/json, text/json

Sample:
{
  "group_id": "sample string 1",
  "originator_id": [
    "sample string 1",
    "sample string 2"
  ],
  "originators": "sample string 2"
}

application/xml, text/xml

Sample:
<AddOriginatorModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <group_id>sample string 1</group_id>
  <originator_id xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </originator_id>
  <originators>sample string 2</originators>
</AddOriginatorModel>

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

Response Information

Resource Description

ResponseMessage
NameDescriptionTypeAdditional information
status

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "code": 2,
  "message": "sample string 3"
}

application/xml, text/xml

Sample:
<CommonHelper.ResponseMessage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api">
  <code>2</code>
  <message>sample string 3</message>
  <status>1</status>
</CommonHelper.ResponseMessage>