| GET | /Accounting/PayedPayRoll/{PayedPayRollId} | ||
|---|---|---|---|
| GET | /Accounting/PayRoll/{RollId}/PayedPayRoll |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| PayedPayRollId | path | int? | No | |
| RollId | path | int? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ResponseStatus | form | ResponseStatus | No | |
| Result | form | List<PayedPayRollView> | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Id | form | int | No | |
| RollId | form | int | No | |
| DDate | form | DateTime | No | |
| PayNum | form | string | No | |
| Content | form | string | No | |
| CUser | form | string | No | |
| CrTime | form | DateTime | No | |
| Status | form | int | No | |
| Amount | form | decimal | No | |
| TaxAmount | form | decimal | No | |
| OtherWithholdAmount | form | decimal | 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/PayedPayRoll/{PayedPayRollId} HTTP/1.1
Host: 10.10.0.107
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":[{"Id":0,"RollId":0,"DDate":"\/Date(-62135596800000-0000)\/","PayNum":"String","Content":"String","CUser":"String","CrTime":"\/Date(-62135596800000-0000)\/","Status":0,"Amount":0,"TaxAmount":0,"OtherWithholdAmount":0,"PensionPersonalAmount":0,"PensionCompanyAmount":0}]}