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 .jsv suffix or ?format=jsv
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/jsv
HTTP/1.1 200 OK Content-Type: text/jsv 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: 0001-01-01, RollNum: String, Content: String, Status: 0, CrTime: 0001-01-01, CUser: String, Salary: 0, Amount: 0, TaxAmaunt: 0, RollPeriod: 0001-01-01, PensionPersonalAmount: 0, PensionCompanyAmount: 0 } ] }