POST Groups/Groups_Insert

Request Information

URI Parameters

None.

Body Parameters

Group
NameDescriptionTypeAdditional information
Id

integer

None.

GroupPrimaryName

string

None.

GroupSecondaryName

string

None.

GroupName

string

None.

CompanyId

integer

None.

BranchId

integer

None.

IsMaterial

boolean

None.

FromWhere

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "GroupPrimaryName": "sample string 2",
  "GroupSecondaryName": "sample string 3",
  "GroupName": "sample string 4",
  "CompanyId": 5,
  "BranchId": 6,
  "IsMaterial": true,
  "FromWhere": 1
}

application/xml, text/xml

Sample:
<Group xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/POCO">
  <BranchId>6</BranchId>
  <CompanyId>5</CompanyId>
  <FromWhere>1</FromWhere>
  <GroupName>sample string 4</GroupName>
  <GroupPrimaryName>sample string 2</GroupPrimaryName>
  <GroupSecondaryName>sample string 3</GroupSecondaryName>
  <Id>1</Id>
  <IsMaterial>true</IsMaterial>
</Group>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
ErrorCode

integer

None.

ErrorMessage

string

None.

IsScusses

boolean

None.

ResponseDetails

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorCode": 1,
  "ErrorMessage": "sample string 2",
  "IsScusses": true,
  "ResponseDetails": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Accounting.API.Models">
  <ErrorCode>1</ErrorCode>
  <ErrorMessage>sample string 2</ErrorMessage>
  <IsScusses>true</IsScusses>
  <ResponseDetails />
</Response>