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: number
ship Id
-
subDepartmentCode: string
Sub Department Code
Response
Supported Media Types
- application/json
200 Response
OK
Root Schema : Configured Sub Department
Type:
object
Title:
Configured Sub Department
Configured Sub Department Record
Show Source
-
creditCardOtherDetails(optional):
object Credit Card Other Details
Title:
Credit Card Other Details
Credit Card Other Details. Note: only appear if the sub dept code is configured with payment type = CC Credit Card -
departmentGrouping(optional):
object Department Grouping
Title:
Department Grouping
Department Grouping -
departmentRouting(optional):
boolean
Title:
Department for Routing
Add a column for credit department for routing purposes * `true` - Checked * `false` - UncheckedExample:true
-
departmentSecurityLevel(optional):
object Department Security Level
Title:
Department Security Level
Department Security Level -
departmentType(optional):
string
Title:
Department Type
Default Value:Debit
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Department type. Always equal to DebitExample:Debit
-
glSystemOrigin(optional):
object GL System Origin
Title:
GL System Origin
GL System Origin -
isActive(optional):
boolean
Activation status of the user group: * `true` - User group is active * `false` - User group is inactiveExample:
true
-
lastModifiedDate(optional):
string
Last modified dateExample:
2022-09-21 17:00:00
-
mainDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Main Department CodeExample:1000
-
mainDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Main Department DescriptionExample:Food and Beverage
-
microsCabinChargeOnly(optional):
object Micros Cabin Charge Only
Title:
Micros Cabin Charge Only
Micros Cabin Charge Only -
nonRefundableCredit(optional):
object Non-Refundable Credit
Title:
Non-Refundable Credit
Non-Refundable Credit -
paymentType(optional):
string
Title:
Payment Type
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Payment TypeExample:CC Credit Card
-
paymentTypeDetails(optional):
object Payment Type Details
Title:
Payment Type Details
Payment Type Details -
payrollPayoutTagSignature(optional):
string
Tag Signature Capture required during payroll payout * Yes * No * Not SpecifiedExample:
Yes
-
posPaymentTypeSubsystem(optional):
object Payment Type in POS Subsystem
Title:
Payment Type in POS Subsystem
Payment Type in POS Subsystem -
subDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department CodeExample:1001
-
subDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department DescriptionExample:Sports Bar - Food
-
subDepartmentOtherDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub department other descriptionExample:Tiket Perlayaran
Nested Schema : Credit Card Other Details
Type:
object
Title:
Credit Card Other Details
Credit Card Other Details. Note: only appear if the sub dept code is configured with payment type = CC Credit Card
Show Source
-
creditCardDisclaimerNote(optional):
string
Title:
Credit Card Disclaimer
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Credit card disclaimer note for signature captureExample:<Overwrite and Input Credit Card Disclaimer Note Here>
-
paymentDepartmentType(optional):
string
Title:
Payment Department Type
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-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:
object
Title:
Department Grouping
Department Grouping
Show Source
-
departmentGroupingCode(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Department grouping codeExample:GRP01
-
departmentGroupingDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Department grouping descriptionExample:Group One
Nested Schema : Department Security Level
Type:
object
Title:
Department Security Level
Department Security Level
Show Source
-
securityLevel(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Security LevelExample:Debit Department Level 1
Nested Schema : GL System Origin
Type:
object
Title:
GL System Origin
GL System Origin
Show Source
-
glControlAccount(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL control accountExample:abc1234
-
glDepartment(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL departmentExample:abc1234
-
glMaterial(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL materialExample:abc1234
-
glMpmissue(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL mpmissueExample:abc1234
-
glOrigin(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL originExample:abc1234
-
glSpare(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL spareExample:abc1234
-
glSubAccount(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL sub accountExample:abc1234
-
glVoyage(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
GL voyageExample:abc1234
Nested Schema : Micros Cabin Charge Only
Type:
object
Title:
Micros Cabin Charge Only
Micros Cabin Charge Only
Show Source
-
allowCrewCabinPost(optional):
boolean
Title:
Allow Posting to Crew Cabin
MICROS Cabin Charge only allowed for Crew * `true` - Allowed * `false` - DisallowedExample:true
-
allowGiftCardPost(optional):
boolean
Title:
Allow Posting to Gift Card
MICROS Cabin Charge only allowed for Gift Card * `true` - Allowed * `false` - DisallowedExample:true
-
allowGuestCabinPost(optional):
boolean
Title:
Allow Posting to Guest Cabin
MICROS Cabin Charge only allowed for Passenger * `true` - Allowed * `false` - DisallowedExample:true
Nested Schema : Non-Refundable Credit
Type:
object
Title:
Non-Refundable Credit
Non-Refundable Credit
Show Source
-
applyCount(optional):
integer
Pattern:
^[0-9]*$
Apply countExample:1
-
applyValue(optional):
integer
Pattern:
^[0-9]*$
Apply valueExample:1
-
eligibleDepartments(optional):
array eligibleDepartments
Eligible Departments
-
redirectionAccount(optional):
object redirectionAccount
Redirection Account
-
resetCountPeriod(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Reset count periodExample:Day
Nested Schema : Payment Type Details
Type:
object
Title:
Payment Type Details
Payment Type Details
Show Source
-
autoBalance(optional):
boolean
Title:
Auto Balance
Auto Balance option for cash & credit card posting via Interface: * `true` - Checked * `false` - UncheckedExample:true
-
commissionDepartment(optional):
object Commission Department
Title:
Commission Department
Commission Department (Note: only debit department code is displayed) -
commissionRate(optional):
integer
Title:
Commission Rate
Pattern:^[0-9]*$
Payment Charge CommissionExample:5
-
commissionValue(optional):
boolean
Title:
Commission Value
Payment Charge Commission is: * `true` - by Fix Value * `false` - by PercentageExample:true
-
creditCardDigits(optional):
string
Title:
Credit Card Digits
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-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(optional):
string
Title:
Credit Card ID
Maximum Length:2
Pattern:^[-zA-Z]{2}$
Credit Card ID (VI-Visa, MC-Master,AX-Amex,...)Example:AX
-
creditCardInternalId(optional):
string
Title:
Credit Card Internal ID
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Credit card internal ID in stratus (interface) related columns (V-Visa, A-Amex, M-Master,...)Example:V Visa
-
creditCardMerchantNumber(optional):
string
Title:
Credit Card Merchant Number
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Credit Card Merchant NumberExample:9593091390
-
creditCardMinLength(optional):
integer
Title:
Credit Card Minimum Length
Pattern:^[0-9]*$
Credit Card Minimum LengthExample:1
-
crewFloorLimit(optional):
integer
Title:
Crew Floor Limit
Pattern:^[0-9]*$
Credit Limit for CrewExample:10000
-
crewMinAuthValue(optional):
integer
Title:
Crew Minimum Authorized Value
Pattern:^[0-9]*$
Minimum balance value that can be sent to credit card authorization system for crewExample:100
-
dailyLimit(optional):
integer
Title:
Daily Limit
Pattern:^[0-9]*$
Maximum daily spending limit in Casino ( where 0=No Limit)Example:10000
-
debitCardNoCommissionCharge(optional):
boolean
Title:
Debit Card No Commission Charge
Commission Charge will be charged to: * `true` - Exclude debit card * `false` - All cardsExample:true
-
floorLimit(optional):
integer
Title:
Floor Limit
Pattern:^[0-9]*$
Payment limit maximum payment acceptedExample:10000
-
foreignCurrencyCode(optional):
string
Title:
Foreign Currency Code
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
International currency description (when defining Foreign Currency)Example:EUR
-
minAuthValue(optional):
integer
Title:
Minimum Authorized Value
Pattern:^[0-9]*$
Minimum balance value that can be sent to credit card authorization systemExample:1
-
paymentAllowForSpecifiedCard(optional):
integer
Title:
Payment Allowed For Specified Card
Pattern:^(012)$
Payment Allowed For Specified Card: * `0` - No * `1` - Reward Card * `2` - Gift CardExample:1
Nested Schema : Payment Type in POS Subsystem
Type:
object
Title:
Payment Type in POS Subsystem
Payment Type in POS Subsystem
Show Source
-
externalDepartmentId(optional):
string
Title:
External Department ID
Pattern:^[0-9]*$
External Department IDExample:9040
-
externalItemizerId(optional):
string
Title:
External Itemizer ID
Maximum Length:3
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]{3}$
POS sales itemizer number (Debit department) / External itemizer ID (Credit department)Example:001
-
incentivesPayoutGroup(optional):
string
Title:
Incentives Payout Group
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Incentives Payout Group (Note: this field will be combination of Incentive name and percentage)Example:Cash - Micros 50% (50%)
-
posTenderTypeNumber(optional):
integer
Title:
POS Tender Type Number
Pattern:^[0-9]*$
POS Tender Type number in POS sub systemExample:10
-
systemAccountNumber(optional):
integer
Pattern:
^[0-9]*$
System account numberExample:20312
Nested Schema : redirectionAccount
Type:
object
Redirection Account
Show Source
-
systemAccountDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
System account descriptionExample:Prepaid Wedding Package
-
systemAccountNumber(optional):
integer
Pattern:
^[0-9]*$
System account numberExample:20312
Nested Schema : items
Type:
Show Source
object
-
mainDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Main Department CodeExample:1000
-
mainDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Main Department DescriptionExample:Food and Beverage
-
subDepartments(optional):
array subDepartments
Eligible Sub Departments
Nested Schema : items
Type:
Show Source
object
-
subDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department CodeExample:1001
-
subDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department DescriptionExample:Sports Bar - Food
Nested Schema : Commission Department
Type:
object
Title:
Commission Department
Commission Department (Note: only debit department code is displayed)
Show Source
-
subDepartmentCode(optional):
string
Maximum Length:
10
Pattern:^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department CodeExample:1001
-
subDepartmentDescription(optional):
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø-ÿ0-9 _,?/.\-+*n~!@#$%&{}[]()=<>|^'":;@`]*$
Sub Department DescriptionExample:Sports Bar - Food
400 Response
Bad Request
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error 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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
401 Response
Unauthorized
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error 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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
403 Response
Forbidden
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error 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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
404 Response
Not Found
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error 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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
405 Response
Method Not Allowed
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error 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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
406 Response
Not Acceptable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error 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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
500 Response
Internal Server Error
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error 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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source
503 Response
Service Unavailable
Root Schema : schema
Match All
Show Source
-
object
Error Response
Title:
Error Response
Error 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:
object
Title:
Error Response
Error Response returned when encountered error
Show Source