Get a list of all workday objects of an account.

Request

Method URL
GET /api/account/{accountId}/configuration/ac-common/workinghours

Path Parameters

Parameter Description Type / Value
accountId LP site ID String

Request Headers

Header Description Notes
Authorization Contains token string to allow request authentication and authorization.  

Response

Response Codes

Code Description
200 OK
304 Not Modified
400 Bad Request
401 Not Authorized
403 Forbidden
404 Data Not Found
409 Conflict
500 Internal Server Error

Response Headers

Header Description
ac-revision Account config object type collection revision.

Response example

[
    {
        "id": 2852537612,
        "name": "Workdays 11112",
        "deleted": false,
        "isDefault": false
    },
    {
        "id": 2852545912,
        "name": "Workdays 111122",
        "deleted": false,
        "isDefault": false
    },
    {
        "id": 2852546012,
        "name": "Workdays 1111222",
        "deleted": false,
        "isDefault": false
    }
]

Entity structure

For details on the entity structure, please see the appendix