Budgets - Get the days for a period of a budget

API Url

Use it to return the days

GET
http://localhost:16010/ProMarkREST/web/System/Budgets/{id}/days

Permissions: user

Request headers

FieldTypeDescription
Accept-LanguageoptionalString

=en-GB Language use for localization.

X-ClientoptionalString

=Client type.

Allowed values:"Portal""Mobile""Admin"
X-RoleoptionalNumber

ProMark role (1: Employee, 2: User).

Allowed values:{12}
X-WebPart-IdoptionalNumber

Unique web-part identifier.

Path parameters

FieldTypeDescription
idNumber

Budget id.

Query parameters

FieldTypeDescription
contextIdoptionalString

Context id

contextTypeoptionalNumber

Context type 1: Department 2: Group 3: Approval group

fromoptionalDate

Start date for the budget periods

tooptionalDate

End date for the budget periods

Error 4xx

FieldTypeDescription
responseObject

Main object containing the response data.

  dataObject

Object containing the requested data (empty).

  errorCodeNumber

Error code.

  errorMessageString

Error description.