Retrieve configured sub department record.
get
/spms/v2/ships/{shipId}/configurations/financialSubDepartments/credit/{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
-
creditCardOtherDetails:
object Credit Card Other Details
Title:
Credit Card Other DetailsCredit Card Other Details. Note: only appear if the sub dept code is configured with payment type = CC Credit Card -
departmentGrouping:
object Department Grouping
Title:
Department GroupingDepartment Grouping -
departmentRouting:
boolean
Title:
Department for RoutingAdd a column for credit department for routing purposes * `true` - Checked * `false` - UncheckedExample:true -
departmentSecurityLevel:
object Department Security Level
Title:
Department Security LevelDepartment Security Level -
departmentType:
string
Title:
Department TypeDefault Value:CreditPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Department type. Always equal to CreditExample:Credit -
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
Title:
Last Modified DateLast 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 -
microsCabinChargeOnly:
object Micros Cabin Charge Only
Title:
Micros Cabin Charge OnlyMicros Cabin Charge Only -
nonRefundableCredit:
object Non-Refundable Credit
Title:
Non-Refundable CreditNon-Refundable Credit -
paymentType:
string
Title:
Payment TypePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Payment TypeExample:CC Credit Card -
paymentTypeDetails:
object Payment Type Details
Title:
Payment Type DetailsPayment Type Details -
payrollPayoutTagSignature:
string
Title:
Tag Signature for Payroll PayoutPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Tag Signature Capture required during payroll payout * Yes * No * Not SpecifiedExample:Yes -
posPaymentTypeSubsystem:
object Payment Type in POS Subsystem
Title:
Payment Type in POS SubsystemPayment Type in POS Subsystem -
subDepartmentCode:
string
Title:
Sub Department CodePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department CodeExample:9041 -
subDepartmentDescription:
string
Title:
Sub Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department DescriptionExample:Visa Card -
subDepartmentOtherDescription:
string
Title:
Sub Department Other DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department Other DescriptionExample:Kad Visa
Nested Schema : Credit Card Other Details
Type:
objectTitle:
Credit Card Other DetailsCredit Card Other Details. Note: only appear if the sub dept code is configured with payment type = CC Credit Card
Show Source
-
creditCardDisclaimerNote:
string
Title:
Credit Card DisclaimerPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Credit card disclaimer note for signature captureExample:<Overwrite and Input Credit Card Disclaimer Note Here> -
paymentDepartmentType:
string
Title:
Payment Department TypePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Identify whether the department is used for: * Both Debit and Credit Card * Only Credit Card * Only Debit CardExample:Both Debit and Credit Card
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 : Micros Cabin Charge Only
Type:
objectTitle:
Micros Cabin Charge OnlyMicros Cabin Charge Only
Show Source
-
allowCrewCabinPost:
boolean
Title:
Allow Posting to Crew CabinMICROS Cabin Charge only allowed for Crew * `true` - Allowed * `false` - DisallowedExample:true -
allowGiftCardPost:
boolean
Title:
Allow Posting to Gift CardMICROS Cabin Charge only allowed for Gift Card * `true` - Allowed * `false` - DisallowedExample:true -
allowGuestCabinPost:
boolean
Title:
Allow Posting to Guest CabinMICROS Cabin Charge only allowed for Passenger * `true` - Allowed * `false` - DisallowedExample:true
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 : Payment Type Details
Type:
objectTitle:
Payment Type DetailsPayment Type Details
Show Source
-
autoBalance:
boolean
Title:
Auto BalanceAuto Balance option for cash & credit card posting via Interface: * `true` - Checked * `false` - UncheckedExample:true -
commissionDepartment:
object Commission Department
Title:
Commission DepartmentCommission Department (Note: only debit department code is displayed) -
commissionRate:
integer
Title:
Commission RatePattern:^[0-9]*$Payment Charge CommissionExample:5 -
commissionValue:
boolean
Title:
Commission ValuePayment Charge Commission is: * `true` - by Fix Value * `false` - by PercentageExample:true -
creditCardDigits:
string
Title:
Credit Card DigitsPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Credit Card definition digits pattern set of first digits defining card separated with commaExample:-40-,-41-,-42-,-43-,-44-,-45-,-46-,-47-,-48-,-49- -
creditCardId:
string
Title:
Credit Card IDMaximum Length:2Pattern:^[-zA-Z]{2}$Credit Card ID (VI-Visa, MC-Master,AX-Amex,...)Example:AX -
creditCardInternalId:
string
Title:
Credit Card Internal IDPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Credit card internal ID in stratus (interface) related columns (V-Visa, A-Amex, M-Master,...)Example:V Visa -
creditCardMerchantNumber:
string
Title:
Credit Card Merchant NumberPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Credit Card Merchant NumberExample:9593091390 -
creditCardMinLength:
integer
Title:
Credit Card Minimum LengthPattern:^[0-9]*$Credit Card Minimum LengthExample:1 -
crewFloorLimit:
integer
Title:
Crew Floor LimitPattern:^[0-9]*$Credit Limit for CrewExample:10000 -
crewMinAuthValue:
integer
Title:
Crew Minimum Authorized ValuePattern:^[0-9]*$Minimum balance value that can be sent to credit card authorization system for crewExample:100 -
dailyLimit:
integer
Title:
Daily LimitPattern:^[0-9]*$Maximum daily spending limit in Casino ( where 0=No Limit)Example:10000 -
debitCardNoCommissionCharge:
boolean
Title:
Debit Card No Commission ChargeCommission Charge will be charged to: * `true` - Exclude debit card * `false` - All cardsExample:true -
floorLimit:
integer
Title:
Floor LimitPattern:^[0-9]*$Payment limit maximum payment acceptedExample:10000 -
foreignCurrencyCode:
string
Title:
Foreign Currency CodePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$International currency description (when defining Foreign Currency)Example:EUR -
minAuthValue:
integer
Title:
Minimum Authorized ValuePattern:^[0-9]*$Minimum balance value that can be sent to credit card authorization systemExample:1 -
paymentAllowForSpecifiedCard:
integer
Title:
Payment Allowed For Specified CardPattern:^(012)$Payment Allowed For Specified Card: * `0` - No * `1` - Reward Card * `2` - Gift CardExample:1
Nested Schema : Payment Type in POS Subsystem
Type:
objectTitle:
Payment Type in POS SubsystemPayment Type in POS Subsystem
Show Source
-
externalDepartmentId:
string
Title:
External Department IDPattern:^[0-9]*$External Department IDExample:9040 -
externalItemizerId:
string
Title:
External Itemizer IDMaximum Length:3Pattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]{3}$POS sales itemizer number (Debit department) / External itemizer ID (Credit department)Example:001 -
incentivesPayoutGroup:
string
Title:
Incentives Payout GroupPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Incentives Payout Group (Note: this field will be combination of Incentive name and percentage)Example:Cash - Micros 50% (50%) -
posTenderTypeNumber:
integer
Title:
POS Tender Type NumberPattern:^[0-9]*$POS Tender Type number in POS sub systemExample:10 -
systemAccountNumber:
integer
Title:
System Account NumberPattern:^[0-9]*$System Account NumberExample:20310
Nested Schema : Collector Department
Type:
objectTitle:
Collector DepartmentCollector Department. Note: only credit department code will be displayed
Show Source
-
subDepartmentCode:
string
Title:
Sub Department CodePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department CodeExample:9041 -
subDepartmentDescription:
string
Title:
Sub Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department DescriptionExample:Visa Card
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 CodePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department CodeExample:9041 -
subDepartmentDescription:
string
Title:
Sub Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department DescriptionExample:Visa Card
Nested Schema : Commission Department
Type:
objectTitle:
Commission DepartmentCommission Department (Note: only debit department code is displayed)
Show Source
-
subDepartmentCode:
string
Title:
Sub Department CodePattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department CodeExample:9041 -
subDepartmentDescription:
string
Title:
Sub Department DescriptionPattern:^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$Sub Department DescriptionExample:Visa Card
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