POST api/Contact/GetAllSubGroups
Request Information
URI Parameters
None.
Body Parameters
SubGroupRequestInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| GID | 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:
{
"GID": 1,
"UserId": 2,
"UserType": "sample string 3",
"CustomerId": 4,
"ContactId": 5,
"TokenId": "sample string 6",
"dbOperation": "sample string 7"
}
application/xml, text/xml
Sample:
<SubGroupRequestInfo 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> <GID>1</GID> </SubGroupRequestInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
SubGroupResponseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| objSubGroupList | Collection of SubGroup |
None. |
|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"objSubGroupList": [
{
"GID": 1,
"SGID": 1,
"SubGroupName": "sample string 2",
"AttendanceType": "sample string 3",
"ShiftId": 4,
"SlotIds": "sample string 5",
"AbsentSMSTriggerAuto": true,
"AbsentSMSTriggerTime": "sample string 7",
"OutSMSTriggerTime": "sample string 8",
"PresentSMSTriggerAuto": true,
"OutSMSTriggerAuto": true
},
{
"GID": 1,
"SGID": 1,
"SubGroupName": "sample string 2",
"AttendanceType": "sample string 3",
"ShiftId": 4,
"SlotIds": "sample string 5",
"AbsentSMSTriggerAuto": true,
"AbsentSMSTriggerTime": "sample string 7",
"OutSMSTriggerTime": "sample string 8",
"PresentSMSTriggerAuto": true,
"OutSMSTriggerAuto": true
}
],
"Status": 1,
"Message": "sample string 2",
"Exception": "sample string 3"
}
application/xml, text/xml
Sample:
<SubGroupResponseInfo 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>
<objSubGroupList>
<SubGroup>
<AbsentSMSTriggerAuto>true</AbsentSMSTriggerAuto>
<AbsentSMSTriggerTime>sample string 7</AbsentSMSTriggerTime>
<AttendanceType>sample string 3</AttendanceType>
<GID>1</GID>
<OutSMSTriggerAuto>true</OutSMSTriggerAuto>
<OutSMSTriggerTime>sample string 8</OutSMSTriggerTime>
<PresentSMSTriggerAuto>true</PresentSMSTriggerAuto>
<SGID>1</SGID>
<ShiftId>4</ShiftId>
<SlotIds>sample string 5</SlotIds>
<SubGroupName>sample string 2</SubGroupName>
</SubGroup>
<SubGroup>
<AbsentSMSTriggerAuto>true</AbsentSMSTriggerAuto>
<AbsentSMSTriggerTime>sample string 7</AbsentSMSTriggerTime>
<AttendanceType>sample string 3</AttendanceType>
<GID>1</GID>
<OutSMSTriggerAuto>true</OutSMSTriggerAuto>
<OutSMSTriggerTime>sample string 8</OutSMSTriggerTime>
<PresentSMSTriggerAuto>true</PresentSMSTriggerAuto>
<SGID>1</SGID>
<ShiftId>4</ShiftId>
<SlotIds>sample string 5</SlotIds>
<SubGroupName>sample string 2</SubGroupName>
</SubGroup>
</objSubGroupList>
</SubGroupResponseInfo>