POST api/Groupmember/MemberGroupMap

Request Information

URI Parameters

None.

Body Parameters

Collection of GroupwiseMemberMappingModel
NameDescriptionTypeAdditional information
Id

integer

None.

GroupId

integer

None.

GroupMemberId

integer

None.

Status

boolean

None.

MappedOn

date

None.

ObjectState

State

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "GroupId": 2,
    "GroupMemberId": 3,
    "Status": true,
    "MappedOn": "2018-09-26T07:31:08.8633913+00:00",
    "ObjectState": 0
  },
  {
    "Id": 1,
    "GroupId": 2,
    "GroupMemberId": 3,
    "Status": true,
    "MappedOn": "2018-09-26T07:31:08.8633913+00:00",
    "ObjectState": 0
  }
]

application/xml, text/xml

Sample:
<ArrayOfGroupwiseMemberMappingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/InstantAppAPI.Model">
  <GroupwiseMemberMappingModel>
    <GroupId>2</GroupId>
    <GroupMemberId>3</GroupMemberId>
    <Id>1</Id>
    <MappedOn>2018-09-26T07:31:08.8633913+00:00</MappedOn>
    <ObjectState>Unchanged</ObjectState>
    <Status>true</Status>
  </GroupwiseMemberMappingModel>
  <GroupwiseMemberMappingModel>
    <GroupId>2</GroupId>
    <GroupMemberId>3</GroupMemberId>
    <Id>1</Id>
    <MappedOn>2018-09-26T07:31:08.8633913+00:00</MappedOn>
    <ObjectState>Unchanged</ObjectState>
    <Status>true</Status>
  </GroupwiseMemberMappingModel>
</ArrayOfGroupwiseMemberMappingModel>

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 'GroupwiseMemberMappingModel[]'.

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.