Entur Developer
Partner
REST
Order Notes

ApiError

timestamp
​string · date-time · required
status
​integer · int32 · required
error
​string · required
exception
​string · required
message
​string · required
path
​string · required
title
​string

Short, human-readable summary of the problem

OrderNoteRequest

orderId
​string · minLength: 8 · maxLength: 8 · required

Id of order the note refers to. Unique in combination with type.

text
​string · required

Contents of order-note. Usage is specific to type

type
​OrderNoteType · enum · required

Type of Order Note.

PENALTY_FARE - info used to generate penalty fare invoice

ZERO_TICKET - info regarding why zero ticket issued

VENDOR_CONTACT_INFO_OVERRIDE - updated contact info for vendor eg. for group travel offer

DEADLINE - deadline for changes to order eg. for group travel offer

CUSTOMER_COMMUNICATION - note sent to customer, either manually or automated

TERMS_AND_CONDITIONS - note relating to terms and conditions

REFUND - note created as a part of refund process, either manually or automated

GENERIC - note with additional order info

UNKNOWN - untagged info

Enum values:
PENALTY_FARE
ZERO_TICKET
VENDOR_CONTACT_INFO_OVERRIDE
DEADLINE
CUSTOMER_COMMUNICATION
TERMS_AND_CONDITIONS
REFUND
GENERIC
Default: UNKNOWN
orderLineIds
​string[]

Specify if the order note should only be part of specific order lines. If left empty, the note will belong to the whole order.

createdBy
​string

Identifying information about who created the note. Should adhere to the pattern 'system:identifer'. Due to this standard, the character ':' is not available for use in either system or identifier. See examples.

Example: Sørvis:OlaNordmann
updatedBy
​string

Identifying information about who most recently updated the note. Should adhere to the pattern 'system:identifer'. Due to this standard, the character ':' is not available for use in either system or identifier. See examples.

Example: SJ:22211

OrderNoteResponse

id
​integer · int64 · required

Id of the note

orderId
​string · minLength: 8 · maxLength: 8 · required

Id of order the note refers to. Unique in combination with type.

orderLineIds
​string[] · required

Specific order lines the order note is part of. If empty, the note belongs to the whole order.

createdAt
​string · date-time · required

Timestamp for when the order-note was created.

updatedAt
​string · date-time · required

Timestamp for when the order-note was last updated.

text
​string · required

Contents of order-note. Usage is specific to type

type
​OrderNoteType · enum · required

Type of Order Note.

PENALTY_FARE - info used to generate penalty fare invoice

ZERO_TICKET - info regarding why zero ticket issued

VENDOR_CONTACT_INFO_OVERRIDE - updated contact info for vendor eg. for group travel offer

DEADLINE - deadline for changes to order eg. for group travel offer

CUSTOMER_COMMUNICATION - note sent to customer, either manually or automated

TERMS_AND_CONDITIONS - note relating to terms and conditions

REFUND - note created as a part of refund process, either manually or automated

GENERIC - note with additional order info

UNKNOWN - untagged info

Enum values:
PENALTY_FARE
ZERO_TICKET
VENDOR_CONTACT_INFO_OVERRIDE
DEADLINE
CUSTOMER_COMMUNICATION
TERMS_AND_CONDITIONS
REFUND
GENERIC
Default: UNKNOWN
createdBy
​string

Identifying information about who created the note. Should adhere to the pattern 'system:identifer'. Due to this standard, the character ':' is not available for use in either system or identifier. See examples.

Example: Email:no-reply@entur.org
updatedBy
​string

Identifying information about who most recently updated the note. Should adhere to the pattern 'system:identifer'. Due to this standard, the character ':' is not available for use in either system or identifier. See examples.

Example: Sørvis:OlaNordmann

PageOfOrderNoteResponse

​OrderNoteResponse[] · required
totalPages
​integer · int32 · required
totalItems
​integer · int64 · required

OrderNoteType

string · enum
Enum values:
PENALTY_FARE
ZERO_TICKET
VENDOR_CONTACT_INFO_OVERRIDE
DEADLINE
CUSTOMER_COMMUNICATION
TERMS_AND_CONDITIONS
REFUND
GENERIC

Type of Order Note.

PENALTY_FARE - info used to generate penalty fare invoice

ZERO_TICKET - info regarding why zero ticket issued

VENDOR_CONTACT_INFO_OVERRIDE - updated contact info for vendor eg. for group travel offer

DEADLINE - deadline for changes to order eg. for group travel offer

CUSTOMER_COMMUNICATION - note sent to customer, either manually or automated

TERMS_AND_CONDITIONS - note relating to terms and conditions

REFUND - note created as a part of refund process, either manually or automated

GENERIC - note with additional order info

UNKNOWN - untagged info

Default: UNKNOWN
Did you find what you were looking for?