Services for creating, updating, retrieving and deleting order notes.
Search order notes
Search all OrderNotes by the following query params: id, orderId, type, createdAt and updatedAt.
query Parameters
idFilter based on the id of the order note
orderIdFilter based on order id
orderLineIdsFilter based on order line IDs. Supports in: and nin: for multi-value queries (comma-separated).
orderLineIdsInOrEmptyFilter based on order line IDs, and also return Order Notes with no order line IDs. Supports only plain comma-separated values.
typeFilter based on type of order note
createdAtFilter based on when the order note was created
updatedAtFilter based on when the order note last was updated
pageSelect a specific page in the collection
perPageSelect the number of elements per page
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Search order notes › Responses
OK
totalItemstotalPagesCreate order note
Create a new OrderNote. Returns OrderNoteResponse with added timestamps.
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Create order note › Request Body
textContents of order-note. Usage is specific to type
typeType 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
orderIdId of order the note refers to. Unique in combination with type.
createdByIdentifying 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.
updatedByIdentifying 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.
orderLineIdsSpecify if the order note should only be part of specific order lines. If left empty, the note will belong to the whole order.
Create order note › Responses
OK
idId of the note
textContents of order-note. Usage is specific to type
typeType 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
orderIdId of order the note refers to. Unique in combination with type.
createdAtTimestamp for when the order-note was created.
updatedAtTimestamp for when the order-note was last updated.
orderLineIdsSpecific order lines the order note is part of. If empty, the note belongs to the whole order.
createdByIdentifying 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.
updatedByIdentifying 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.
Get an order note based on its id.
Get an OrderNote based on its Id.
path Parameters
idId of the Order Note
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Get an order note based on its id. › Responses
OK
idId of the note
textContents of order-note. Usage is specific to type
typeType 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
orderIdId of order the note refers to. Unique in combination with type.
createdAtTimestamp for when the order-note was created.
updatedAtTimestamp for when the order-note was last updated.
orderLineIdsSpecific order lines the order note is part of. If empty, the note belongs to the whole order.
createdByIdentifying 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.
updatedByIdentifying 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.
Update order note
Make changes to an existing OrderNote. If an OrderNote does not exist, this will return 404. Please check if it exists first, and use POST to create a new OrderNote.
path Parameters
idId of the Order Note
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Update order note › Request Body
textContents of order-note. Usage is specific to type
typeType 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
orderIdId of order the note refers to. Unique in combination with type.
createdByIdentifying 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.
updatedByIdentifying 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.
orderLineIdsSpecify if the order note should only be part of specific order lines. If left empty, the note will belong to the whole order.
Update order note › Responses
OK
idId of the note
textContents of order-note. Usage is specific to type
typeType 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
orderIdId of order the note refers to. Unique in combination with type.
createdAtTimestamp for when the order-note was created.
updatedAtTimestamp for when the order-note was last updated.
orderLineIdsSpecific order lines the order note is part of. If empty, the note belongs to the whole order.
createdByIdentifying 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.
updatedByIdentifying 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.
Delete order note
Delete OrderNote with specified id.
path Parameters
idId of the Order Note
Headers
ET-Client-NameEntur Client Header.
It is required that all consumers identify themselves by using this header.
Entur will deploy strict rate-limiting policies on API-consumers who do not identify with a header and reserves the right to block unidentified consumers.
The structure of ET-Client-Name should be: <company>-<application> for companies, and <personal name>-<application> for individuals.
X-Correlation-IdCorrelation id
Delete order note › Responses
OK