POST api/Group/Post

Request Information

URI Parameters

None.

Body Parameters

GroupVM
NameDescriptionTypeAdditional information
GroupId

integer

None.

ParentGroupId

integer

None.

GroupName

string

None.

GroupDesc

string

None.

Status

boolean

None.

Logo

string

None.

Banner

string

None.

CreatedOn

date

None.

ApplicationId

integer

None.

ObjectState

State

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupId": 1,
  "ParentGroupId": 1,
  "GroupName": "sample string 2",
  "GroupDesc": "sample string 3",
  "Status": true,
  "Logo": "sample string 5",
  "Banner": "sample string 6",
  "CreatedOn": "2018-11-16T19:56:11.1178744+00:00",
  "ApplicationId": 8,
  "ObjectState": 0
}

application/xml, text/xml

Sample:
<GroupVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstantAppAPI.ViewModels">
  <ApplicationId>8</ApplicationId>
  <Banner>sample string 6</Banner>
  <CreatedOn>2018-11-16T19:56:11.1178744+00:00</CreatedOn>
  <GroupDesc>sample string 3</GroupDesc>
  <GroupId>1</GroupId>
  <GroupName>sample string 2</GroupName>
  <Logo>sample string 5</Logo>
  <ObjectState>Unchanged</ObjectState>
  <ParentGroupId>1</ParentGroupId>
  <Status>true</Status>
</GroupVM>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.