POST api/Contact/GetAllGroups
Request Information
URI Parameters
None.
Body Parameters
GroupRequestInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| CustID | integer |
None. |
|
| UserId | integer |
None. |
|
| UserType | string |
None. |
|
| CustomerId | integer |
None. |
|
| ContactId | integer |
None. |
|
| TokenId | string |
None. |
|
| dbOperation | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustID": 1,
"UserId": 2,
"UserType": "sample string 3",
"CustomerId": 4,
"ContactId": 5,
"TokenId": "sample string 6",
"dbOperation": "sample string 7"
}
application/xml, text/xml
Sample:
<GroupRequestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AttendanceInfo"> <ContactId>5</ContactId> <CustomerId>4</CustomerId> <TokenId>sample string 6</TokenId> <UserId>2</UserId> <UserType>sample string 3</UserType> <dbOperation>sample string 7</dbOperation> <CustID>1</CustID> </GroupRequestInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GroupResponseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| objGroupInfo | Collection of Group |
None. |
|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"objGroupInfo": [
{
"CustID": 1,
"GID": 2,
"GroupName": "sample string 3",
"GroupType": "sample string 4"
},
{
"CustID": 1,
"GID": 2,
"GroupName": "sample string 3",
"GroupType": "sample string 4"
}
],
"Status": 1,
"Message": "sample string 2",
"Exception": "sample string 3"
}
application/xml, text/xml
Sample:
<GroupResponseInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AttendanceInfo">
<Exception>sample string 3</Exception>
<Message>sample string 2</Message>
<Status>1</Status>
<objGroupInfo>
<Group>
<CustID>1</CustID>
<GID>2</GID>
<GroupName>sample string 3</GroupName>
<GroupType>sample string 4</GroupType>
</Group>
<Group>
<CustID>1</CustID>
<GID>2</GID>
<GroupName>sample string 3</GroupName>
<GroupType>sample string 4</GroupType>
</Group>
</objGroupInfo>
</GroupResponseInfo>