POST api/GroupApi/Post_group_for_save_update

Request Information

URI Parameters

None.

Body Parameters

Group
NameDescriptionTypeAdditional information
GroupId

string

None.

GroupName

string

None.

WholeSellerMargin

string

None.

RetailerMargin

string

None.

Database

string

None.

Compcode

string

None.

EventType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupId": "sample string 1",
  "GroupName": "sample string 2",
  "WholeSellerMargin": "sample string 3",
  "RetailerMargin": "sample string 4",
  "Database": "sample string 5",
  "Compcode": "sample string 6",
  "EventType": "sample string 7"
}

application/xml, text/xml

Sample:
<Group xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <Compcode>sample string 6</Compcode>
  <Database>sample string 5</Database>
  <EventType>sample string 7</EventType>
  <GroupId>sample string 1</GroupId>
  <GroupName>sample string 2</GroupName>
  <RetailerMargin>sample string 4</RetailerMargin>
  <WholeSellerMargin>sample string 3</WholeSellerMargin>
</Group>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiResponse
NameDescriptionTypeAdditional information
status

boolean

None.

statuscode

HttpStatusCode

None.

title

string

None.

message

string

None.

data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "status": true,
  "statuscode": 100,
  "title": "sample string 2",
  "message": "sample string 3",
  "data": {}
}

application/xml, text/xml

Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_">
  <data />
  <message>sample string 3</message>
  <status>true</status>
  <statuscode>Continue</statuscode>
  <title>sample string 2</title>
</ApiResponse>