Docs

Get Order Types

GET /organizations/{orgId}/order-types

GET/organizations/{orgId}/order-types

Lists the organization's order types in order, archived ones included, each with its sidebar sections and attribute placements (required, on create form, the vendor's visible/editable pair, material, tracking, display mode), intakeFormId and templates. Takes an organization token with Order.View, or an event token of an event in the organization (the order create dialog's type picker).

Path Parameters

FieldTypeRequiredDescription
orgIduuidRequired

Response

Type: GetOrderTypeResponse[]

GetOrderTypeResponse

FieldTypeDescription
iduuid
namestring| null
iconstring| null
colorstring| null
isArchivedboolean
indexinteger
intakeFormIduuid| null
orgTemplateIduuid| null
attachmentTemplateIduuid| null
sectionsGetOrderTypeResponseSectionInfo[]| null

GetOrderTypeResponseSectionInfo

FieldTypeDescription
iduuid
namestring| null
indexinteger
zonestring| null
attributesGetOrderTypeResponseAttributeAssignmentInfo[]| null
rolesGetOrderTypeResponseRoleAssignmentInfo[]| null

GetOrderTypeResponseAttributeAssignmentInfo

FieldTypeDescription
orderAttributeIduuid
namestring| null
fieldClassIduuid| null
typestring| null
optionsGetOrderTypeResponseOptionInfo[]| null
isRequiredboolean
folderModestring| null
folderPathstring| null
showOnCreateFormboolean
isCollaboratorVisibleboolean
isCollaboratorEditableboolean
isMaterialboolean
isTaskTrackedboolean
trackedLockedReasonstring| null
isTaskReviewRequiredboolean
dueDateRuleHostDueDateRuleInfo| null
defaultAssigneeHostDefaultAssigneeInfo| null
reviewRouteHostReviewRouteInfo| null
indexinteger
displayModestring| null

GetOrderTypeResponseRoleAssignmentInfo

FieldTypeDescription
isCollaboratorVisibleboolean
isCollaboratorEditableboolean
isMaterialboolean
fillFromEventRoleDefinitionIduuid| null
requiresProcurementboolean
resourceTypesOrderRoleResourceTypeResponse[]| null
roleDefinitionIduuid
namestring| null
fillerKindstring| null
cardinalitystring| null
useCasesstring[]| null
isArchivedboolean
defaultIsRequiredboolean
defaultIsTaskTrackedboolean
isTaskReviewRequiredboolean
showOnCreateFormboolean
dueDateRuleHostDueDateRuleInfo| null
defaultAssigneeHostDefaultAssigneeInfo| null
reviewRouteHostReviewRouteInfo| null
indexinteger