Registrations - Daily Allowance, PUT

API Url

Daily Allowance (XT) variant of generic registration

Ignore the URI, for the correct URI see

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

Parameter

FieldTypeDescription
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

travelobject

Travel

  daysobject[]

Travel days

    endTimedatetime

End date and time of day.

    entryNonumber

Entry number (day no).

    mealsobject

Meals take on the day.

      breakfastboolean

True = you had breakfast.

      dinnerboolean

True = you had dinner.

      lunchboolean

True = you had lunch.

    startTimedatetime

Start date and time of day.

    supplementIdstring

Supplement ID (on accomodation).

  departmentoptionalobject
    idstring
  endTimedatetime

Last day and time of travel

  questionsoptionalobject

Questions to answer related to mileage

  relatedToobject

Fill if expense is related to a dimension. It can be related to: Nothing, Project/Activity or Department.

  startTimedatetime

First day and time of travel

typestring
Default value: XT

Success 200

FieldTypeDescription
    answeroptionalstring

The answer itself

    answerDescriptionoptionalstring

Answer description.

    dataTypenumber

0: Text, 1: Integer, 2: Decimal, 3: Boolean, 4: Date, 5: TimeOfDay, 6: DateTime, 7: TimeDuration, 8: TimeInterval, 9: DateInterval, 10: DateTimeInterval

Allowed values:0-10
    idstring

Question ID

    inputTypenumber

0 :Standard, 1: FillIn, 2: DropDown, 3: ComboBox, 4: TextArea, 5: RadioSet, 6: CheckBox, 7: SelectionList, 8: Calendar, 9: CalendarDropDown, 10: ExternalLookup

Allowed values:0-10
    labelstring

Label on the question

    orderstring

Question order

    activityobject

Activity

      descriptionstring

Description of activity

      idstring

ID of activity

    extraInfooptionalobject[]

Collection of extra info objects

      descriptionstring

Description of extra info

      idstring

ID of extra info

      valueobject

Extra info value

        descriptionstring

Description of extra info value

        idstring

ID of extra info value

    pieceworkoptionalobject

Piecework

      descriptionstring

Description of piecework

      idstring

ID of piecework

    projectobject

Project

      descriptionstring

Description of project

      idstring

ID of project

    timeTypeoptionalobject

Time Type

      descriptionstring

Description of timeType

      idstring

ID of timeType