POST Group/create

Request Information

URI Parameters

None.

Body Parameters

GroupModel
NameDescriptionTypeAdditional information
name

string

Required

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1"
}

application/xml, text/xml

Sample:
<GroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api.Models">
  <name>sample string 1</name>
</GroupModel>

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

Response Information

Resource Description

ResponseMessageData
NameDescriptionTypeAdditional information
status

integer

None.

code

integer

None.

message

string

None.

data

Data

None.

Response Formats

application/json, text/json

Sample:
{
  "status": 1,
  "code": 2,
  "message": "sample string 3",
  "data": {
    "Groupid": 1,
    "owner_id": 2,
    "name": "sample string 3",
    "originators": [
      "sample string 1",
      "sample string 2"
    ]
  }
}

application/xml, text/xml

Sample:
<CommonHelper.ResponseMessageData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IdenCard.Api">
  <code>2</code>
  <data>
    <Groupid>1</Groupid>
    <name>sample string 3</name>
    <originators xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </originators>
    <owner_id>2</owner_id>
  </data>
  <message>sample string 3</message>
  <status>1</status>
</CommonHelper.ResponseMessageData>