Retrieve configured sub department record.
get
/spms/v2/ships/{shipId}/configurations/financialSubDepartments/debit/{subDepartmentCode}
This is to retrieve the configured sub department codes.
Request
Supported Media Types
- application/json
Path Parameters
-
shipId(required): number
ship Id
-
subDepartmentCode(required): string
Sub Department Code
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Configured sub department
Type:
objectTitle:
Configured sub departmentConfigured sub department record
Show Source
-
allowCasinoDepartmentPosting:
boolean
Posting allow in casino departmentExample:
true -
casinoDepartment:
object casinoDepartment
Department in Casino
-
departmentDiscount:
object departmentDiscount
Department Discounts
-
departmentGrouping:
object Department Grouping
Title:
Department GroupingDepartment Grouping -
departmentSecurityLevel:
object Department Security Level
Title:
Department Security LevelDepartment Security Level -
departmentType:
string
Title:
Department TypeDefault Value:DebitPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Department type. Always equal to DebitExample:Debit -
excludeRevenueOverview:
boolean
Exclude from revenue overviewExample:
true -
glSystemOrigin:
object GL System Origin
Title:
GL System OriginGL System Origin -
isActive:
boolean
Activation status of the sub department: * `true` - sub department is active * `false` - sub department is inactiveExample:
true -
lastModifiedDate:
string
Last modified dateExample:
2022-09-21 17:00:00 -
mainDepartmentCode:
string
Title:
Main Department CodeMaximum Length:10Pattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Main Department CodeExample:1001 -
mainDepartmentDescription:
string
Title:
Main Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Main Department DescriptionExample:Food and Beverage -
nonRefundableCredit:
object Non-Refundable Credit
Title:
Non-Refundable CreditNon-Refundable Credit -
payrollPayoutTagSignature:
string
Tag Signature Capture required during payroll payout * Yes * No * Not SpecifiedExample:
Yes -
pbxDepartmentSubsystem:
object pbxDepartmentSubsystem
Department in PBX Subsystem
-
posDepartmentSubsystem:
object Department in POS Subsystem
Title:
Department in POS SubsystemDepartment in POS Subsystem -
postingType:
string
Title:
Posting TypePosting TypeExample:D Posting Department -
subDepartmentCode:
string
Title:
Sub Department CodeMaximum Length:10Pattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department CodeExample:1001 -
subDepartmentDescription:
string
Title:
Sub Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department DescriptionExample:Cash Currency Exchange -
subDepartmentOtherDescription:
string
Title:
Sub Department Other DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department Other DescriptionExample:Kad Visa -
vatTaxClass:
object vatTaxClass
VAT Tax Class
Nested Schema : casinoDepartment
Type:
objectDepartment in Casino
Show Source
-
maximumCruiseLimit:
integer
Pattern:
^[0-9]*$Maximum cruise limitExample:100 -
maximumDailyLimit:
integer
Pattern:
^[0-9]*$Maximum daily limitExample:10 -
serviceCharge:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Service chargeExample:10 -
serviceChargeDepartment:
object subDepartment
Sub Department
Nested Schema : departmentDiscount
Type:
objectDepartment Discounts
Show Source
-
crewDiscountsDepartment:
object subDepartment
Sub Department
-
guestDiscountsDepartment:
object subDepartment
Sub Department
Nested Schema : Department Grouping
Type:
objectTitle:
Department GroupingDepartment Grouping
Show Source
-
departmentGroupingCode:
string
Title:
Department Grouping CodePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Department Grouping CodeExample:PYT01 -
departmentGroupingDescription:
string
Title:
Department Grouping DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Department Grouping DescriptionExample:Payment Group 1
Nested Schema : Department Security Level
Type:
objectTitle:
Department Security LevelDepartment Security Level
Show Source
-
securityLevel:
string
Title:
Security LevelPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Security LevelExample:Credit Department Level 1
Nested Schema : GL System Origin
Type:
objectTitle:
GL System OriginGL System Origin
Show Source
-
glControlAccount:
string
Title:
General Ledger Control AccountPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$General Ledger Control AccountExample:abc1234 -
glDepartment:
string
Title:
General Ledger DepartmentPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$General Ledger DepartmentExample:abc1234 -
glMaterial:
string
Title:
General Ledger MaterialPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$General Ledger MaterialExample:abc1234 -
glMpmissue:
string
Title:
General Ledger MpmissuePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$General Ledger MpmissueExample:abc1234 -
glOrigin:
string
Title:
General Ledger OriginPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$General Ledger OriginExample:abc1234 -
glSpare:
string
Title:
General Ledger SparePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$General Ledger SpareExample:abc1234 -
glSubAccount:
string
Title:
General Ledger Sub AccountPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$General Ledger Sub AccountExample:abc1234 -
glVoyage:
string
Title:
General Ledger VoyagePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$General Ledger VoyageExample:abc1234
Nested Schema : Non-Refundable Credit
Type:
objectTitle:
Non-Refundable CreditNon-Refundable Credit
Show Source
-
applyCount:
integer
Title:
Apply CountPattern:^[0-9]*$Apply CountExample:1 -
applyValue:
integer
Title:
Apply ValuePattern:^[0-9]*$Apply ValueExample:1 -
collectorDepartment:
object Collector Department
Title:
Collector DepartmentCollector Department. Note: only credit department code will be displayed -
eligibleDepartments:
array eligibleDepartments
Eligible Departments
-
redirectionAccount:
object Redirection Account
Title:
Redirection AccountRedirection Account -
resetCountPeriod:
string
Title:
Reset Count PeriodPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Reset Count PeriodExample:Day
Nested Schema : pbxDepartmentSubsystem
Type:
objectDepartment in PBX Subsystem
Show Source
-
pbxCallType:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$PBX call typeExample:VC: Voice Cell
Nested Schema : Department in POS Subsystem
Type:
objectTitle:
Department in POS SubsystemDepartment in POS Subsystem
Show Source
-
allowDeclineAuthPosting:
boolean
Allow posting with declined authorizationExample:
true -
debitCodeGratuitiesAuto:
object subDepartment
Sub Department
-
debitCodeGratuitiesManual:
object subDepartment
Sub Department
-
debitCodeTaxes:
object subDepartment
Sub Department
-
gratuityServiceTaxDepartment:
boolean
Gratuity service/tax departmentExample:
true -
gratuityTip:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Gratuity tipExample:Tips Waiters -
posRevenueCenter:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$POS revenue centerExample:10 -
posRevenueCenterDescription:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$POS revenue center descriptionExample:Sports Bar -
posSalesItemizerNo:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$POS sales itemizer numberExample:1 -
posSalesPeriod:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$POS sales periodExample:11
Nested Schema : vatTaxClass
Type:
objectVAT Tax Class
Show Source
-
vatTaxClassCode:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$VAT tax class codeExample:US-VAT7 -
vatTaxClassDescription:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$VAT tax class descriptionExample:US VAT
Nested Schema : subDepartment
Type:
objectSub Department
Show Source
-
subDepartmentCode:
string
Title:
Sub Department CodeMaximum Length:10Pattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department CodeExample:1001 -
subDepartmentDescription:
string
Title:
Sub Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department DescriptionExample:Cash Currency Exchange
Nested Schema : Collector Department
Type:
objectTitle:
Collector DepartmentCollector Department. Note: only credit department code will be displayed
Show Source
-
subDepartmentCode:
string
Title:
Sub Department CodeMaximum Length:10Pattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department CodeExample:1001 -
subDepartmentDescription:
string
Title:
Sub Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department DescriptionExample:Cash Currency Exchange
Nested Schema : Redirection Account
Type:
objectTitle:
Redirection AccountRedirection Account
Show Source
-
systemAccountDescription:
string
Title:
System Account DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$System Account DescriptionExample:Wedding Dinner Package -
systemAccountNumber:
integer
Title:
System Account NumberPattern:^[0-9]*$System Account NumberExample:20310
Nested Schema : items
Type:
Show Source
object-
mainDepartmentCode:
string
Title:
Main Department CodeMaximum Length:10Pattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Main Department CodeExample:1001 -
mainDepartmentDescription:
string
Title:
Main Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Main Department DescriptionExample:Food and Beverage -
subDepartments:
array subDepartments
Eligible Sub Departments
Nested Schema : items
Type:
Show Source
object-
subDepartmentCode:
string
Title:
Sub Department CodeMaximum Length:10Pattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department CodeExample:1001 -
subDepartmentDescription:
string
Title:
Sub Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department DescriptionExample:Cash Currency Exchange
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.1",
"title":"Bad Request",
"detail":"Limit must not be less than one!"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2",
"title":"Unauthorized",
"detail":"Valid token is required to access this resource"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
"title":"Forbidden",
"detail":"Access to this resource is forbidden"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.5",
"title":"Not Found",
"detail":"This resource path does not exist"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.6",
"title":"Method Not Supported",
"detail":"HTTP method not supported for this resource"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.7",
"title":"Not Acceptable",
"detail":"Request a Mime type that is supported for this Resource"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.1",
"title":"Internal Server Error",
"detail":"Issue fulfilling request. Please retry or contact support"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error ResponseError Response returned when encountered error
Example:
{
"type":"https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.5.4",
"title":"Service Unavailable",
"detail":"Service Unavailable. Try again later"
}Nested Schema : Error Response
Type:
objectTitle:
Error ResponseError Response returned when encountered error
Show Source