POST api/Coding/InsertProductGroup?isOpen={isOpen}&userId={userId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
isOpen

boolean

Required

userId

integer

Default value is 0

Body Parameters

ProductGroupModel
NameDescriptionTypeAdditional information
GroupId

integer

None.

GroupName

string

None.

CompanyId

string

None.

IsGroup

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupId": 1,
  "GroupName": "sample string 2",
  "CompanyId": "sample string 3",
  "IsGroup": true
}

application/xml, text/xml

Sample:
<ProductGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Ultrabiz_ERP_API.Models">
  <CompanyId>sample string 3</CompanyId>
  <GroupId>1</GroupId>
  <GroupName>sample string 2</GroupName>
  <IsGroup>true</IsGroup>
</ProductGroupModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

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.