ApexERPHost

<back to all web services

GetPayRoll

Requires Authentication
The following routes are available for this service:
GET/Accounting/PayRoll/{RollId}
GET/Accounting/PayRoll
GetPayRoll Parameters:
NameParameterData TypeRequiredDescription
RollIdpathint?No
D1queryDateTimeNo
D2queryDateTimeNo
PayDate1queryDateTime?No
PayDate2queryDateTime?No
GetPayRollResponse Parameters:
NameParameterData TypeRequiredDescription
ResponseStatusformResponseStatusNo
ResultformList<PayRollView>No
PayRollView Parameters:
NameParameterData TypeRequiredDescription
RollIdformintNo
RollTypeformintNo
DDateformDateTimeNo
RollNumformstringNo
ContentformstringNo
StatusformintNo
CrTimeformDateTimeNo
CUserformstringNo
SalaryformdecimalNo
AmountformdecimalNo
TaxAmauntformdecimalNo
RollPeriodformDateTime?No
PensionPersonalAmountformdecimalNo
PensionCompanyAmountformdecimalNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /Accounting/PayRoll/{RollId} HTTP/1.1 
Host: apex.nikoratrade.ge 
Accept: text/csv
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}},"Result":[{"RollId":0,"RollType":0,"DDate":"\/Date(-62135596800000-0000)\/","RollNum":"String","Content":"String","Status":0,"CrTime":"\/Date(-62135596800000-0000)\/","CUser":"String","Salary":0,"Amount":0,"TaxAmaunt":0,"RollPeriod":"\/Date(-62135596800000-0000)\/","PensionPersonalAmount":0,"PensionCompanyAmount":0}]}