POST api/Group
Request Information
URI Parameters
None.
Body Parameters
Group| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CompanyId | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| HeadName | string |
None. |
|
| MobileNumber | string |
None. |
|
| Status | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreatedBy | integer |
None. |
|
| LastModifiedBy | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CompanyId": 2,
"Code": "sample string 3",
"Name": "sample string 4",
"HeadName": "sample string 5",
"MobileNumber": "sample string 6",
"Status": "sample string 7",
"IsActive": true,
"CreatedBy": 9,
"LastModifiedBy": 1
}
application/xml, text/xml
Sample:
<Group xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgentDeskWebService.Domain"> <Code>sample string 3</Code> <CompanyId>2</CompanyId> <CreatedBy>9</CreatedBy> <HeadName>sample string 5</HeadName> <Id>1</Id> <IsActive>true</IsActive> <LastModifiedBy>1</LastModifiedBy> <MobileNumber>sample string 6</MobileNumber> <Name>sample string 4</Name> <Status>sample string 7</Status> </Group>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |