Piecework - Get piecework's requested entity
API Url
Get data for a given piecework related entity.
GET
http://localhost:16010/ProMarkREST/web/Piecework/{parent}
Permissions: user
Path parameters
| Field | Type | Description |
|---|---|---|
| parent | String | Name of the entity. |
Success 200
| Field | Type | Description |
|---|---|---|
| data | Object | Object containing the requested data. |
Success example:
HTTP/1.1 200 OK{"response": {"data": {"{parent}": [...]}}}
Error 4xx
| Field | Type | Description |
|---|---|---|
| response | Object | Main object containing the response data. |
| data | Object | Object containing the requested data (empty). |
| errorCode | Number | Error code. |
| errorMessage | String | Error description. |