POST api/Shift/GetContactWeakDays
Request Information
URI Parameters
None.
Body Parameters
RequestInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| 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:
{
"UserId": 1,
"UserType": "sample string 2",
"CustomerId": 3,
"ContactId": 4,
"TokenId": "sample string 5",
"dbOperation": "sample string 6"
}
application/xml, text/xml
Sample:
<RequestInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AttendanceInfo"> <ContactId>4</ContactId> <CustomerId>3</CustomerId> <TokenId>sample string 5</TokenId> <UserId>1</UserId> <UserType>sample string 2</UserType> <dbOperation>sample string 6</dbOperation> </RequestInfo>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ContactWeakDayResponseInfo| Name | Description | Type | Additional information |
|---|---|---|---|
| objContactWeakDayInfoList | Collection of ContactWeakDayInfo |
None. |
|
| Status | integer |
None. |
|
| Message | string |
None. |
|
| Exception | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"objContactWeakDayInfoList": [
{
"WeakDayOffId": 1,
"ContactId": 2,
"WeakDayId": 3,
"First": true,
"Second": true,
"Third": true,
"Fourth": true,
"Fifth": true,
"IsActive": true,
"UserId": 10,
"dbOperation": "sample string 11"
},
{
"WeakDayOffId": 1,
"ContactId": 2,
"WeakDayId": 3,
"First": true,
"Second": true,
"Third": true,
"Fourth": true,
"Fifth": true,
"IsActive": true,
"UserId": 10,
"dbOperation": "sample string 11"
}
],
"Status": 1,
"Message": "sample string 2",
"Exception": "sample string 3"
}
application/xml, text/xml
Sample:
<ContactWeakDayResponseInfo 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>
<objContactWeakDayInfoList>
<ContactWeakDayInfo>
<UserId>10</UserId>
<dbOperation>sample string 11</dbOperation>
<ContactId>2</ContactId>
<Fifth>true</Fifth>
<First>true</First>
<Fourth>true</Fourth>
<IsActive>true</IsActive>
<Second>true</Second>
<Third>true</Third>
<WeakDayId>3</WeakDayId>
<WeakDayOffId>1</WeakDayOffId>
</ContactWeakDayInfo>
<ContactWeakDayInfo>
<UserId>10</UserId>
<dbOperation>sample string 11</dbOperation>
<ContactId>2</ContactId>
<Fifth>true</Fifth>
<First>true</First>
<Fourth>true</Fourth>
<IsActive>true</IsActive>
<Second>true</Second>
<Third>true</Third>
<WeakDayId>3</WeakDayId>
<WeakDayOffId>1</WeakDayOffId>
</ContactWeakDayInfo>
</objContactWeakDayInfoList>
</ContactWeakDayResponseInfo>