GET | /Accounting/PayRoll/{RollId} | ||
---|---|---|---|
GET | /Accounting/PayRoll |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RollId | path | int? | No | |
D1 | query | DateTime | No | |
D2 | query | DateTime | No | |
PayDate1 | query | DateTime? | No | |
PayDate2 | query | DateTime? | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
ResponseStatus | form | ResponseStatus | No | |
Result | form | List<PayRollView> | No |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
RollId | form | int | No | |
RollType | form | int | No | |
DDate | form | DateTime | No | |
RollNum | form | string | No | |
Content | form | string | No | |
Status | form | int | No | |
CrTime | form | DateTime | No | |
CUser | form | string | No | |
Salary | form | decimal | No | |
Amount | form | decimal | No | |
TaxAmaunt | form | decimal | No | |
RollPeriod | form | DateTime? | No | |
PensionPersonalAmount | form | decimal | No | |
PensionCompanyAmount | form | decimal | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .x-protobuf suffix or ?format=x-protobuf
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: application/x-protobuf
HTTP/1.1 200 OK Content-Type: application/x-protobuf 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}]}