POST api/ldb/Attendance
Request Information
URI Parameters
None.
Body Parameters
AttendanceRequestEntityName | Description | Type | Additional information |
---|---|---|---|
ApiUserName | string |
None. |
|
Token | string |
None. |
|
AttendanceId | integer |
None. |
|
Empid | integer |
None. |
|
OfficeId | integer |
None. |
|
CheckIn | string |
None. |
|
Inlongitude | string |
None. |
|
InLatitude | string |
None. |
|
InLocationText | string |
None. |
|
InDistance | decimal number |
None. |
|
InSelfiPath | string |
None. |
|
Checkout | string |
None. |
|
Outlongitude | string |
None. |
|
OutLatitude | string |
None. |
|
OutLocationText | string |
None. |
|
OutDistance | decimal number |
None. |
|
OutSelfiPath | string |
None. |
|
DaySummary | string |
None. |
|
EntryDate | string |
None. |
|
Checktype | string |
None. |
|
Data | Collection of ActivityData |
None. |
Request Formats
application/json, text/json
Sample:
{ "ApiUserName": "sample string 1", "Token": "sample string 2", "AttendanceId": 3, "Empid": 4, "OfficeId": 5, "CheckIn": "sample string 6", "Inlongitude": "sample string 7", "InLatitude": "sample string 8", "InLocationText": "sample string 9", "InDistance": 10.0, "InSelfiPath": "sample string 11", "Checkout": "sample string 12", "Outlongitude": "sample string 13", "OutLatitude": "sample string 14", "OutLocationText": "sample string 15", "OutDistance": 16.0, "OutSelfiPath": "sample string 17", "DaySummary": "sample string 18", "EntryDate": "sample string 19", "Checktype": "sample string 20", "Data": [ { "ActTypeid": 1, "Empid": 2, "NoPeople": "sample string 3", "NameContactNo": "sample string 4", "TentativeAmt": "sample string 5", "Remarks": "sample string 6", "Receipts": "sample string 7", "JRcomp": "A", "TVComp": "A", "GenLedComp": "A", "BalHoGenAC": 11.0, "RemittanceToHo": 12.0, "RemittanceByHo": 13.0, "OpeningBalCashbook": 14.0, "Income": 15.0, "Expenditure": 16.0, "ClosingBal": 17.0 }, { "ActTypeid": 1, "Empid": 2, "NoPeople": "sample string 3", "NameContactNo": "sample string 4", "TentativeAmt": "sample string 5", "Remarks": "sample string 6", "Receipts": "sample string 7", "JRcomp": "A", "TVComp": "A", "GenLedComp": "A", "BalHoGenAC": 11.0, "RemittanceToHo": 12.0, "RemittanceByHo": 13.0, "OpeningBalCashbook": 14.0, "Income": 15.0, "Expenditure": 16.0, "ClosingBal": 17.0 } ] }
application/xml, text/xml
Sample:
<AttendanceRequestEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models"> <ApiUserName>sample string 1</ApiUserName> <AttendanceId>3</AttendanceId> <CheckIn>sample string 6</CheckIn> <Checkout>sample string 12</Checkout> <Checktype>sample string 20</Checktype> <Data> <ActivityData> <ActTypeid>1</ActTypeid> <BalHoGenAC>11</BalHoGenAC> <ClosingBal>17</ClosingBal> <Empid>2</Empid> <Expenditure>16</Expenditure> <GenLedComp>65</GenLedComp> <Income>15</Income> <JRcomp>65</JRcomp> <NameContactNo>sample string 4</NameContactNo> <NoPeople>sample string 3</NoPeople> <OpeningBalCashbook>14</OpeningBalCashbook> <Receipts>sample string 7</Receipts> <Remarks>sample string 6</Remarks> <RemittanceByHo>13</RemittanceByHo> <RemittanceToHo>12</RemittanceToHo> <TVComp>65</TVComp> <TentativeAmt>sample string 5</TentativeAmt> </ActivityData> <ActivityData> <ActTypeid>1</ActTypeid> <BalHoGenAC>11</BalHoGenAC> <ClosingBal>17</ClosingBal> <Empid>2</Empid> <Expenditure>16</Expenditure> <GenLedComp>65</GenLedComp> <Income>15</Income> <JRcomp>65</JRcomp> <NameContactNo>sample string 4</NameContactNo> <NoPeople>sample string 3</NoPeople> <OpeningBalCashbook>14</OpeningBalCashbook> <Receipts>sample string 7</Receipts> <Remarks>sample string 6</Remarks> <RemittanceByHo>13</RemittanceByHo> <RemittanceToHo>12</RemittanceToHo> <TVComp>65</TVComp> <TentativeAmt>sample string 5</TentativeAmt> </ActivityData> </Data> <DaySummary>sample string 18</DaySummary> <Empid>4</Empid> <EntryDate>sample string 19</EntryDate> <InDistance>10</InDistance> <InLatitude>sample string 8</InLatitude> <InLocationText>sample string 9</InLocationText> <InSelfiPath>sample string 11</InSelfiPath> <Inlongitude>sample string 7</Inlongitude> <OfficeId>5</OfficeId> <OutDistance>16</OutDistance> <OutLatitude>sample string 14</OutLatitude> <OutLocationText>sample string 15</OutLocationText> <OutSelfiPath>sample string 17</OutSelfiPath> <Outlongitude>sample string 13</Outlongitude> <Token>sample string 2</Token> </AttendanceRequestEntity>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AttendanceResponseEntityName | Description | Type | Additional information |
---|---|---|---|
respCode | string |
None. |
|
respMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "respCode": "sample string 1", "respMessage": "sample string 2" }
application/xml, text/xml
Sample:
<AttendanceResponseEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMNSYAPI.Models"> <respCode>sample string 1</respCode> <respMessage>sample string 2</respMessage> </AttendanceResponseEntity>