Registrations - Balance Adjustment, PUT

API Url

Balance Adjustment (BA) variant of generic registration

Ignore the URI, for the correct URI see

PUT
http://localhost:16010/ProMarkREST/{DummyRegistration?type=BA}

Parameter

FieldTypeDescription
balanceAdjustmentobject

Balance Adjustment

  accountobject

Account being changed

    idstring

Id of account

  adjustmentTypenumber

1: Set account to given value. 2: Adjust account by given value. 3: Move given value to another account.

Allowed values:123
  commentoptionalstring

Text comment.

  departmentoptionalobject

Explicit department dimension

    idstring

Id of department

  groupoptionalobject

Explicit group dimension

    idstring

Id of group

    statusstring

Holiday status

    typeobject

Holiday type

      idstring

Id of Holiday type

    yearnumber

Holiday year

  linkPostingoptionalboolean

Forward post the value to linked accounts.

  toAccountoptionalobject

Account that value is moved to in case adjustmentType is 3

    factornumber

Move to account with factor

    idstring

Id of account

  valuenumber

Value depending of adjustmentType.

empIdstring

Internal employee ID

locationoptionalobject

Geo location of registration

  latitudenumber

Latitude, negative value is west

Size range: -180 to 180
  longitudenumber

Longitude, negative value is south

Size range: -180 to 180
regTimedatetime

The time of registration

terminalIdstring

Numeric ID of registration terminal, or if not numeric, then it's the ID of the user that changed or added the registration

transSeqnumber

Unique reference of registration

typestring
Default value: BA