Create new posting transaction from Simphony/POS
post
/spms/v2/ships/{shipId}/financials/folios
Create new posting transaction from Simphony/POS
Request
Supported Media Types
- application/json
Path Parameters
Required to create posting
Root Schema : CreatePOSPostingRequest
Match All
Show Source
-
object
CreatePOSPosting
Title:
CreatePOSPosting
Nested Schema : CreatePOSPosting
Type:
objectTitle:
Show Source
CreatePOSPosting-
itemDetails:
object ItemDetails
Title:
ItemDetails -
postingType(required):
string
Posting type. POS- for pos typeExample:
POS
Nested Schema : ItemDetails
Type:
objectTitle:
Show Source
ItemDetails-
buyerId:
integer
Buyer Id - required if post to credit card tender mediaExample:
3118243 -
cardExpiryDate:
integer
card expiry date in format yyyyMMExample:
202411 -
checkServer1:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=|^'":;@`]*$Check server #1Example:server 1 -
checkServer2:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=|^'":;@`]*$Check server #2Example:server 2 -
exchangeRate:
object exchangeRate
-
isBufferPosting:
boolean
is buffer postingExample:
false -
isCardSwipe:
boolean
is card swipeExample:
false -
isQuantityPackage:
boolean
is quantity packageExample:
false -
items:
array items
-
manualServiceChargeAmount:
number
manual service charge amountExample:
100 -
numberOfGuest:
integer
Number of guestExample:
2 -
posCheckNumber:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=|^'":;@`]*$Posting check numberExample:A123 -
posEmployeeNamePerCheck:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=|^'":;@`]*$Posting employee name per checkExample:A123 -
posEmployeeNumberPerCheck:
integer
Posting employee number per checkExample:
123 -
posEmployeeNumberPerTransaction:
integer
Posting employee number per transactionExample:
123 -
posRevenueCenterId(required):
integer
posting revenue centerExample:
1 -
posSimphonyId:
integer
Posting simphony idExample:
1234567 -
posUniqueKey:
string
Pattern:
^[a-zA-ZÀ-ÖØ-öø--9 _,?/.\-+*n~!@#$%&{}[]()=|^'":;@`]*$Posting unique keyExample:af21d12c6e2b44a3a6ed6de6aeccf506 -
roundingAmount:
number
rounding amountExample:
0.1 -
salesContext(required):
array salesContext
-
searchValue(required):
string
search value - reservationIdExample:
1039034 -
servingPeriod:
integer
Serving periodExample:
20 -
tenderMediaNumber(required):
integer
tender media numberExample:
20 -
workstationId:
integer
workstation idExample:
1 -
workstationNumber:
integer
workstation numberExample:
1
Nested Schema : exchangeRate
Type:
Show Source
object-
exchangeBaseAmount:
number
exchange base amountExample:
100 -
exchangeChangeDue:
number
exchange change dueExample:
1 -
exchangeForeignAmount:
number
exchange foreign amountExample:
100 -
foreignCurrencyCode:
integer
foreign currency codeExample:
1
Nested Schema : items
Type:
Show Source
array-
Array of:
object ItemsPOS
Title:
ItemsPOS
Example:
[
{
"itemNumber":558950185,
"itemName":"BLUE ORB",
"quantity":1,
"totalAmount":100,
"isVoided":false,
"isReturn":false,
"itemType":"MENUITEM",
"remark":"test",
"majorGroup":101,
"familyGroup":1001,
"saleItemizer":1,
"isItemPostedToMicros":false,
"isItemDiscount":false,
"itemIndex":0,
"discountItemizer":3,
"voidLink":0,
"itemPosSimphonyLink":0,
"typeDefinition":"000000110001100000000010000000000100010000000000000000000000000000000000000000000000000000000000",
"taxType":"0000000000000000",
"taxTotal":10,
"detailLink":1
},
{
"itemNumber":558950186,
"itemName":"Cabin Charge",
"quantity":1,
"totalAmount":100,
"isVoided":false,
"isReturn":false,
"itemType":"TENDERMEDIA",
"remark":"test",
"majorGroup":0,
"familyGroup":0,
"saleItemizer":0,
"isItemPostedToMicros":false,
"isItemDiscount":false,
"itemIndex":0,
"discountItemizer":3,
"voidLink":0,
"itemPosSimphonyLink":1234567,
"typeDefinition":"000000110001100000000010000000000100010000000000000000000000000000000000000000000000000000000000",
"taxType":"0000000000000000",
"taxTotal":0,
"detailLink":6
}
]Nested Schema : salesContext
Type:
Show Source
array-
Array of:
object SalesContext
Title:
SalesContext
Example:
[
{
"salesItemizerNumber":1,
"salesItemizerAmount":100,
"autoServiceChargeAmount":0,
"discountAmount":0,
"tipAmount":10,
"taxAmount":10
},
{
"salesItemizerNumber":2,
"salesItemizerAmount":20,
"autoServiceChargeAmount":0,
"discountAmount":0,
"tipAmount":0,
"taxAmount":5
}
]Nested Schema : ItemsPOS
Type:
objectTitle:
Show Source
ItemsPOS-
detailLink:
integer
detail linkExample:
1 -
discountItemizer:
integer
discount itemizerExample:
3 -
familyGroup:
integer
family groupExample:
42 -
isItemDiscount:
boolean
is item discountExample:
false -
isItemPostedToMicros:
boolean
is item posted to microsExample:
false -
isReturn:
boolean
is returnExample:
false -
isVoided:
boolean
is voidedExample:
false -
itemIndex:
integer
item indexExample:
0 -
itemName:
string
item nameExample:
Blue orb -
itemNumber:
integer
item numberExample:
558 -
itemPosSimphonyLink:
integer
item posting simphony linkExample:
0 -
itemType:
string
Allowed Values:
[ "MENUITEM", "DISCOUNT", "SERVICECHARGE", "TENDERMEDIA" ]item TypeExample:MENUITEM -
majorGroup:
integer
major groupExample:
4 -
quantity:
integer
quantityExample:
1 -
remark:
string
remarkExample:
test -
saleItemizer:
integer
sale itemizerExample:
1 -
taxTotal:
number
tax totalExample:
0 -
taxType:
string
tax typeExample:
0000000000 -
totalAmount:
number
total amountExample:
100 -
typeDefinition:
string
type definitionExample:
000000110001100000000010000000000100010000000000000000000000000000000000000000000000000000000000 -
voidLink:
integer
void linkExample:
0
Nested Schema : SalesContext
Type:
objectTitle:
Show Source
SalesContext-
autoServiceChargeAmount:
number
auto service charge amountExample:
25 -
discountAmount:
number
discount amountExample:
-20 -
salesItemizerAmount:
number
sales itemizer amountExample:
100 -
salesItemizerNumber:
integer
sales iteizer numberExample:
1 -
taxAmount:
number
tax amountExample:
6 -
tipAmount:
number
tip amountExample:
10
Response
Supported Media Types
- application/json
201 Response
Created
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.2",
"title":"Bad Request",
"detail":"Department ID 1 is not found"
}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":"Unauthorised",
"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":"HTTP://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.4",
"title":"Forbidden",
"detail":"Access to this resource was forbidden"
}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":"https://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
415 Response
Unsupported Media Type
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.16",
"title":"Invalid content",
"detail":"Content type Not supported"
}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":"https://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