53 Poslog Services, Version 1.0
This chapter provides the information necessary to send messages contained in version 1.0 of the Poslog Services API. Information can be obtained using the Web Service Description Language (WSDL) in conjunction with a Simple Object Access Protocol (SOAP), XML Schema, and various methods contained in the classes of the API to provide the web service described above.
The URL for the WSDL is:
https://<servername>:<portNumber>/ws/v1_0/PoslogServices?wsdl
where <servername>
is the name or address of the server. For a cloud installation, the default port number is 443.
The information presented below describes the methods and classes.
The format of the method and any arguments is shown along with an explanation of what the method does and any other information that is necessary to use the method properly. If an argument is shown in dark blue, it is a class and the class name is a link to a description of the class and its attributes.
The class section shows the attributes of the classes along with an explanation of each attribute and when necessary, when they are used.
Note:
Authentication is required. See Introduction for information on creating and implementing an authentication key.
Methods
This section presents the methods used in Version 1.0 of the Poslog Services API.
postTransaction
PoslogType postTransaction( TransactionType transaction) throws RelateProcessingException
Variable | Required? | Description |
---|---|---|
|
(Optional) |
Transaction information being posted. |
The postTransaction
method posts a transaction for processing.
This method returns a PoslogType element.
Classes
This section presents the classes used in Version 1.0 of the Poslog Services API.
AmountType
The getValue()
function for the AmountType
class returns a decimal value.
The AmountType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
Action |
Action associated with the amount. |
AssociateType
The AssociateType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
AssociateID |
ID of the associate. |
AuthorizationType
The AuthorizationType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
AuthorizationCode |
Authorization code returned. |
string |
AdjudicationCode |
Adjudication code returned. |
dateTime |
AuthorizationDateTime |
Date and time of the authorization. |
string |
ReferenceNumber |
Reference number for the authorization. |
decimal |
RequestedAmount |
Amount requested for authorization. |
CheckType
The CheckType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
AccountNumber |
Account number for the check. |
CouponType
The CouponType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
ScanCode |
Code scanned for the coupon. |
dateTime |
ExpirationDate |
Expiration date of the coupon. |
CreditDebitType
The CreditDebitType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
PrimaryAccountNumber |
Account number of the credit or debit card. |
string |
ReconciliationCode |
Reconciliation code for the credit or debit card. |
dateTime |
ExpirationDate |
Expiration date for the credit or debit card. |
CustomerAccountType
The CustomerAccountType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
LoyaltyAccount |
Loyalty account associated with the customer. |
CustomerOrderForDeliveryType
The CustomerOrderForDeliveryType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
ItemID |
ID of the ordered item. |
decimal |
UnitCostPrice |
Cost of one ordered item unit. |
decimal |
RegularSalesUnitPrice |
Regular sale price of one ordered item unit. |
decimal |
ActualSalesUnitPrice |
Actual sale price of one ordered item unit in this transaction. |
decimal |
ExtendedAmount |
Total amount of the sale of the ordered item. |
decimal |
Quantity |
Quantity of the ordered item. |
string |
SerialNumber |
Serial number of the ordered item. |
Associate |
Associate who entered the ordered item. |
|
RetailPriceModifier |
Modifiers that have been applied to the ordered item price. |
|
PercentageOfItem |
Percentage of the ordered item. |
|
Delivery |
Delivery information for the item. |
|
string |
InventoryReservationID |
ID of the inventory reservation. |
string |
From |
Name used in the From: information. |
The CustomerOrderForDeliveryType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
Action |
Action for the item. |
string |
ItemType |
ID for the type of item. |
string |
Setup |
Setup information for the item. |
CustomerOrderForPickupType
The CustomerOrderForPickupType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
ItemID |
ID of the ordered item. |
decimal |
UnitCostPrice |
Cost of one ordered item unit. |
decimal |
RegularSalesUnitPrice |
Regular sale price of one ordered item unit. |
decimal |
ActualSalesUnitPrice |
Actual sale price of one ordered item unit in this transaction. |
decimal |
ExtendedAmount |
Total amount of the sale of the ordered item. |
decimal |
Quantity |
Quantity of the ordered item. |
string |
SerialNumber |
Serial number of the ordered item. |
Associate |
Associate who entered the ordered item. |
|
RetailPriceModifier |
Modifiers that have been applied to the ordered item price. |
|
PercentageOfItem |
Percentage of the ordered item. |
|
Delivery |
Delivery information for the item. |
|
string |
InventoryReservationID |
ID of the inventory reservation. |
string |
From |
Name used in the From: information. |
The CustomerOrderForPickupType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
ItemType |
ID for the type of item. |
string |
OrderStatus |
Status of the order. |
string |
Action |
Action for the item. |
CustomerVerificationType
The CustomerVerificationType
class contains the following elements:
Type | Element | Description |
---|---|---|
PersonalID |
Information about the personal ID used to verify the customer’s identity. |
DeliveryType
The DeliveryType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
Name |
Name of person to whom the delivery is being sent. |
Address |
Delivery address. |
|
string |
TelephoneNumber |
Telephone number associated with the delivery. |
string |
TrackingNumber |
Delivery tracking number. |
GiftCardType
The GiftCardType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
CardNumber |
Card number of gift card. |
string |
DateSold |
Date the gift card was sold. |
string |
IntialBalance |
Initial balance on the gift card. |
string |
CurrentBalance |
Current balance of the gift card. |
Authorization |
Authorization information for the gift card. |
LineItemType
The LineItemType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
SequenceNumber |
Sequence number of the line item. |
string |
BeginDateTime |
Date and time at which the line item was started. |
string |
EndDateTime |
Date and time at which the line item was completed. |
SaleForDelivery |
Information for sale for delivery item. |
|
PreviousLayaway |
Information for a previous layaway. |
|
PreviousCustomerOrder |
Information for a previous customer order. |
|
CustomerOrderForDelivery |
Information for a customer order for delivery. |
|
CustomerOrderForPickup |
Information for a customer order for pickup. |
|
Return |
Information for a returned item. |
|
Sale |
Information for a sold item. |
|
Tender |
Information about a tender applied to the transaction. |
|
Tax |
Information about a tax applied to the transaction. |
|
string |
DocumentType |
Type of document. |
string |
ActivityCode |
ID code for the item activity. |
RetailPriceModifier |
Modifiers that have been applied to the layaway item price. |
The LineItemType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
boolean |
VoidFlag |
Indicates whether the line item has been voided. |
LoyaltyAccountType
The LoyaltyAccountType
element contains the following elements:
Type | Element | Description |
---|---|---|
string |
LoyaltyAccountID |
ID of a loyalty account. |
The LoyaltyAccountType
element contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
TypeCode |
ID code for the type of loyalty account., |
LoyaltyPointsType
The LoyaltyPointsType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
LoyaltyAccountID |
ID of the loyalty account. |
string |
LoyaltyProgramID |
ID of the loyalty program to which the account belongs. |
string |
LoyaltyProgramLevelID |
ID of the program level to which the account belongs. |
PointsBalance |
Current points balance. |
|
TransactionPoints |
Points for the transaction. |
PercentageOfItemType
The PercentageOfItemType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
AssociateID |
Associate ID. |
decimal |
Percentage |
Percentage of item. |
PersonalIDType
The PersonalIDType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
IDNumber |
ID number for the personal identification. |
string |
Issuer |
Entity that issued the identification. |
string |
Province |
Province/State associated with the identification. |
The PersonalIDType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
IDType |
ID code for the type of identification. |
PointsBalanceType
The PointsBalanceType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
Points |
Array of point balances and point types in the account. |
PointsEntryType
The getValue()
function for the PointsEntryType class returns a string value.
The PointsEntryType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
Type |
Points Type. |
POSIdentity
The POSIdentity
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
POSItemID |
ID of the item in POS. |
PoslogAddressType
The PoslogAddressType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
AddressLine |
Line 1 of the address. |
string |
City |
City of the address. |
string |
State |
State/province of the address. |
string |
PostalCode |
Postal/ZIP code of the address. |
string |
CountryCode |
ID code of the country of the address. |
PoslogAlternateKeyType
The PoslogAlternateKeyType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
AlternateID |
ID of the Alternate Key |
The PoslogAlternateKeyType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
TypeCode |
ID code for the type of alternate key. |
PoslogCustomerType
The PoslogCustomerType class contains the following elements:
Type | Element | Description |
---|---|---|
string |
Name |
Customer name. |
Address |
Customer address. |
|
string |
TelephoneNumber |
Customer telephone number. |
string |
|
Customer email address. |
string |
CustomerID |
Customer account number. |
AlternateKey |
Alternate keys identifying the customer. |
PoslogType
The PoslogType
class contains the following elements:
Type | Element | Description |
---|---|---|
Transaction |
Response to the transaction posted. |
PosTransactionPropertiesType
The PosTransactionPropertiesType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
PosTransactionPropertyCode |
ID code for the POS transaction property. |
string |
PosTransactionPropertyValue |
Value of the POS transaction property. |
PreviousCustomerOrderType
The PreviousCustomerOrderType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
ItemID |
ID of the item. |
decimal |
UnitCostPrice |
Cost of one item unit. |
decimal |
RegularSalesUnitPrice |
Regular sale price of one item unit. |
decimal |
ActualSalesUnitPrice |
Actual sale price of one item unit in this transaction. |
decimal |
ExtendedAmount |
Total amount of the sale of the item. |
decimal |
Quantity |
Quantity of the item. |
string |
SerialNumber |
Serial number of the item. |
RetailPriceModifier |
Modifiers that have been applied to the item price. |
|
Associate |
Associate who entered the item. |
|
PercentageOfItem |
Percentage of the item. |
|
string |
InventoryReservationID |
ID of the inventory reservation. |
The PreviousCustomerOrderType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
ItemType |
ID for the type of item. |
string |
Action |
Action for the item. |
PreviousLayawayType
The PreviousLayawayType
class contains the following elements:
Type | Element | Description |
---|---|---|
POSIdentity Type |
POSIdentity |
Identifier for the layaway in the POS system. |
string |
ItemID |
ID of the layaway item. |
decimal |
UnitCostPrice |
Cost of one layaway item unit. |
decimal |
RegularSalesUnitPrice |
Regular sale price of one layaway item unit. |
decimal |
ActualSalesUnitPrice |
Actual sale price of one layaway item unit in this transaction. |
decimal |
ExtendedAmount |
Total amount of the sale of the layaway item. |
decimal |
Quantity |
Quantity of the layaway item. |
string |
SerialNumber |
Serial number of the layaway item. |
Associate |
Associate who entered the layaway item. |
|
PercentageOfItem |
Percentage of the layaway item. |
|
RetailPriceModifier |
Modifiers that have been applied to the layaway item price. |
The PreviousLayawayType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
Action |
Action for the layaway item. |
string |
ItemType |
ID for the type of the layaway item. |
RetailPriceModifierType
The RetailPriceModifierType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
SequenceNumber |
Sequence number of the price modification. |
Amount |
Amount of the modification. |
|
string |
PromotionID |
ID of the promotion associated with the price modification. |
string |
ReasonCode |
ID code for the reason the price was modified. |
Coupon |
Coupon associated with the price modification. |
The RetailPriceModifierType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
boolean |
VoidFlag |
Indicates whether the price modifier has been voided. |
RetailTransactionType
The RetailTransactionType
class contains the following elements:
Type | Element | Description |
---|---|---|
LineItem |
Transaction line item(s). |
|
Total |
Total types for the transaction. |
|
CustomerAccount |
Customer account associated with the transaction. |
|
Customer |
Customer associated with the transaction. |
|
TransactionLink |
Link to associated transaction. |
|
string |
PostVoidReasonCode |
Reason code for a post void of the retail transaction. |
string |
PostVoidComment |
Comment entered for a post void of the retail transaction. |
The RetailTransactionType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
Version |
The version of the retail transaction definition. |
string |
TypeCode |
ID code of the retail transaction type. |
string |
TransactionStatus |
Status of the retail transaction. |
ReturnType
The ReturnType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
ItemID |
ID of the returned item. |
decimal |
UnitCostPrice |
Cost of one returned item unit. |
decimal |
RegularSalesUnitPrice |
Regular sale price of one returned item unit. |
decimal |
ActualSalesUnitPrice |
Actual sale price of one returned item unit in this transaction. |
decimal |
ExtendedAmount |
Total amount of the sale of the returned item. |
decimal |
Quantity |
Quantity of the layaway item. |
string |
SerialNumber |
Serial number of the returned item. |
Associate |
Associate who entered the returned item. |
|
PercentageOfItem |
Percentage of the returned item. |
|
TransactionLink |
Link to the transaction in which the item was sold. |
|
string |
Disposal |
How the returned item was disposed of. |
string |
Reason |
Reason for the return. |
string |
ReturnType |
ID for the type of return. |
string |
ReasonComment |
Additional comment about the reason for the return. |
RetailPriceModifier |
Modifiers that have been applied to the layaway item price. |
The ReturnType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
ItemType |
ID for the type of item. |
string |
Action |
Action for the item. |
SaleForDeliveryType
The SaleForDeliveryType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
ItemID |
ID of the returned item. |
decimal |
UnitCostPrice |
Cost of one returned item unit. |
decimal |
RegularSalesUnitPrice |
Regular sale price of one returned item unit. |
decimal |
ActualSalesUnitPrice |
Actual sale price of one returned item unit in this transaction. |
decimal |
ExtendedAmount |
Total amount of the sale of the layaway item. |
decimal |
Quantity |
Quantity of the layaway item. |
string |
SerialNumber |
Serial number of the layaway item. |
Associate |
Associate who entered the layaway item. |
|
PercentageOfItem |
Percentage of the layaway item. |
|
RetailPriceModifier |
Modifiers that have been applied to the layaway item price. |
|
Delivery |
Delivery destination information. |
The SaleForDeliveryType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
Action |
Action for the item. |
string |
ItemType |
ID for the type of item. |
SaleType
The SaleType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
ItemID |
ID of the sold item. |
decimal |
UnitCostPrice |
Cost of one sold item unit. |
decimal |
RegularSalesUnitPrice |
Regular sale price of one sold item unit. |
decimal |
ActualSalesUnitPrice |
Actual sale price of one sold item unit in this transaction. |
decimal |
ExtendedAmount |
Total amount of the sale of the item. |
decimal |
Quantity |
Quantity of the sold item. |
string |
SerialNumber |
Serial number of the sold item. |
Associate |
Associate who entered the sold item. |
|
PercentageOfItem |
Percentage of the sold item. |
|
RetailPriceModifier |
Modifiers that have been applied to the sold item price. |
The SaleType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
Action |
Action for the item. |
string |
ItemType |
ID for the type of item. |
TaxExemptionType
The TaxExemptionType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
CustomerExemptionID |
ID of the exemption used by the customer. |
string |
ExemptTaxAmount |
Amount of tax exempted. |
TaxOverrideType
The TaxOverridType
class contains the following elements:
Type | Element | Description |
---|---|---|
decimal |
OriginalPercent |
Tax percentage prior to the override. |
decimal |
OriginalTaxAmount |
Tax amount prior to the override. |
decimal |
NewTaxPercent |
Tax percentage applied by the override. |
decimal |
NewTaxAmount |
Tax amount applied by the override. |
string |
ReasonCode |
ID code for the reason for the tax override. |
TaxType
The Taxype
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
TaxAuthority |
ID of the tax authority through which the tax was applied. |
decimal |
TaxableAmount |
Amount to which the tax is applied. |
decimal |
Amount |
Amount of the tax. |
decimal |
Percent |
Percentage used to determine the tax. |
string |
TaxLocationID |
ID of the tax location. |
TaxExemption |
Tax exemption applied to the tax. |
|
TaxOverride |
Tax override applied to the tax. |
The TaxType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
TaxType |
Type of tax. |
TenderType
The TenderType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
TenderID |
ID of the tender. |
decimal |
Amount |
Amount applied to the tender. |
Authorization |
Authorization information for the tender. |
|
CreditDebit |
Credit/Debit tender information. |
|
GiftCard |
Gift card tender information. |
|
Voucher |
Voucher tender information. |
|
CustomerVerification |
Customer verification information. |
|
Check |
Check tender information. |
|
Coupon |
Coupon tender information. |
The TenderType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
TenderType |
ID for the type of Tender. |
TotalType
The getValue()
function for the TotalType
class returns a string
value.
The TotalType
class contains the following elements:
Type | Attribute | Description |
---|---|---|
string |
TotalType |
Type of total. |
TransactionLinkType
The TransactionLinkType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
RetailStoreID |
ID of the location where the transaction was performed. |
string |
WorkstationID |
ID of the workstation where the transaction was performed. |
string |
SequenceNumber |
Sequence number of the transaction. |
date |
BusinessDayDate |
Business date of the transaction. |
The TransactionLinkType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
ReasonCode |
ID code of the reason for linking to the transaction. |
string |
EntryMethod |
Method by which the transaction link was entered. |
TransactionsPointsType
The TransactionPointsType
class contains the following elements:
Type | Element | Description |
---|---|---|
Points |
Array of point balances and point types for the transaction. |
TransactionReturnType
The TransactionReturnType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
ErrorDetails |
Detailed message describing an error (if any) returned for the transaction. |
string |
LoyaltySystemDetails |
Detailed message about the system. |
LoyaltyPoints |
Array of information about loyalty points applied to loyalty accounts. |
The TransactionReturnType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
retail-transaction-id |
ID of the retail transaction. |
string |
status |
Status of the transaction. |
TransactionType
The TransactionType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
RetailStoreID |
ID of the location where the transaction was performed. |
string |
WorkstationID |
ID of the workstation where the transaction was performed. |
string |
SequenceNumber |
Sequence number of the transaction. |
date |
BusinessDayDate |
Business date of the transaction. |
dateTime |
BeginDateTime |
Date and time at which the transaction started. |
dateTime |
EndDateTime |
Date and time at which the transaction ended. |
string |
OperatorID |
ID of the person who performed the transaction. |
string |
CurrencyCode |
ID code for the currency used in the transaction. |
RetailTransaction |
Transaction information. |
|
PosTransactionProperties |
Properties of the POS transaction. |
The TransactionType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
boolean |
CancelFlag |
Indicates whether the transaction was cancelled. |
string |
Action |
Action performed by the transaction. |
string |
TransactionType |
Type of transaction. |
VoucherType
The VoucherType
class contains the following elements:
Type | Element | Description |
---|---|---|
string |
Description |
Description of the voucher. |
decimal |
FaceValueAmount |
Face value of the voucher. |
string |
SerialNumber |
Serial number of the voucher. |
string |
MallCertificate |
ID for mall certificate associated with the voucher. |
string |
ExpirationDate |
Expiration date of the voucher. |
decimal |
UnspentAmount |
Amount on the voucher that is currently unspent. |
The VoucherType
class contains the following attributes:
Type | Attribute | Description |
---|---|---|
string |
TypeCode |
ID code for the type of voucher. |