Point Of Sale Api
Use the AdminApi Authenticate method to get the access_token
Contains fields for creating an invoice
Id of the purchasing agent for the invoice. This must be a user id.
00000000-0000-0000-0000-000000000000Id of the organization that the invoice belongs to. Usually this is the Organization that made the sale.
00000000-0000-0000-0000-000000000000Id of the organization or group that is purchasing this wholesale. This must be the ID of a Group or Organization within your NexPort directory.
00000000-0000-0000-0000-000000000000Optional note for the invoice
Id of the created invoice
Contains the id of the created invoice
Id of the created invoice
00000000-0000-0000-0000-000000000000Not authorized to manage invoices
Entity not found
Validation exception. See response body for more info.
Use the AdminApi Authenticate method to get the access_token
Id of the created invoice
Represents an invoice that was created within nexport.
00000000-0000-0000-0000-000000000000User ID of the user that is purchasing the items on this invoice
00000000-0000-0000-0000-000000000000User Id of the user that is selling the items
00000000-0000-0000-0000-000000000000The transaction state: 0=Open (Not Commited)1=Commited-1=Failed0 = Opened, 1 = Committed, -1 = Failed
Not authorized to manage invoices
Entity not found
Validation exception. See response body for more info.
ID of the invoice item to retrieve.
Use the AdminApi Authenticate method to get the access_token
Id of the created invoice
Response to the GetInvoiceItem API Call
Not authorized to manage invoices
Invoice item or Invoice were not found
Validation exception. See response body for more info.
Use the AdminApi Authenticate method to get the access_token
Contains fields for creating an invoice item
Id of the invoice to create an invoice item for
00000000-0000-0000-0000-000000000000ProductId from GetCatalog/CategorySyllabi
00000000-0000-0000-0000-000000000000Default is Syllabus. Syllabus=0; Catalog=1; ShippingAndHandling=2; Taxes=3; Other=4; OpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded
Cost in USD
Invoice item note
Can be used to set the redemption expiration date once a redemption is created for this invoice item. Redemption expiration will be set based on UtcAccessExpirationDate first if it is set.
Can be used to calculate the redemption expiration date once a redemption is created for this invoice item. Redemption will be set based on AccessExpirationTimeLimit if UtcAccessExpirationDate is not set. Redemption expiration date will be set to redemption date + AccessExpirationTimeLimit.
Can be used to create the subscription within the specified organization for the student when the invoice item is redeemed. Enrollment associated with this invoice item will also be created for the subscription.
00000000-0000-0000-0000-000000000000Used in wholesale purchases to associate invoice items with specific groups or orgs. This means the item was sold to the specified purchasing group. If no group is specified then the purchasing group from the invoice will be used.
00000000-0000-0000-0000-000000000000Can be used to create the membership within the specified groups for the student when the invoice item is redeemed.
Used for organizations to group purchased items and track those groupings.
Used to restrict when a redemption can be created for this invoice item, i.e. redemptions can't be created until after the specified date.
The id of the newly created invoice item
Contains the id of the created invoice item
Id of the created invoice item
00000000-0000-0000-0000-000000000000Current user must be invoice sales agent
Entity not found
Validation exception. See response body for more info.
Use the AdminApi Authenticate method to get the access_token
This is the number of invoice items to create with the same information.
Id of the invoice to create an invoice item for
00000000-0000-0000-0000-000000000000ProductId from GetCatalog/CategorySyllabi
00000000-0000-0000-0000-000000000000Default is Syllabus. Syllabus=0; Catalog=1; ShippingAndHandling=2; Taxes=3; Other=4; OpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded
Cost in USD
Invoice item note
Can be used to set the redemption expiration date once a redemption is created for this invoice item. Redemption expiration will be set based on UtcAccessExpirationDate first if it is set.
Can be used to calculate the redemption expiration date once a redemption is created for this invoice item. Redemption will be set based on AccessExpirationTimeLimit if UtcAccessExpirationDate is not set. Redemption expiration date will be set to redemption date + AccessExpirationTimeLimit.
Can be used to create the subscription within the specified organization for the student when the invoice item is redeemed. Enrollment associated with this invoice item will also be created for the subscription.
00000000-0000-0000-0000-000000000000Used in wholesale purchases to associate invoice items with specific groups or orgs. This means the item was sold to the specified purchasing group. If no group is specified then the purchasing group from the invoice will be used.
00000000-0000-0000-0000-000000000000Can be used to create the membership within the specified groups for the student when the invoice item is redeemed.
Used for organizations to group purchased items and track those groupings.
Used to restrict when a redemption can be created for this invoice item, i.e. redemptions can't be created until after the specified date.
The list of ids for the newly created invoice items
Ids of the created invoice items
Current user must be invoice sales agent
Entity not found
Validation exception. See response body for more info.
Creates a new invoice payment and adds it to the database. Requires the
current user to be the sales agent on the invoice.
Use the AdminApi Authenticate method to get the access_token
Information for creating an invoice payment
Id of the invoice that the payment is for
00000000-0000-0000-0000-000000000000Id of the user collecting payment (not used in 5.2; CurrentUser is used instead)
00000000-0000-0000-0000-000000000000Id of the account that the payment goes to
00000000-0000-0000-0000-000000000000Id of user that payment is being collected from
00000000-0000-0000-0000-000000000000Cash=0; Check=1; PayPal=2; NopCommercePlugin=3; DiscountOrCoupon=4; Other=1000;0 = Cash, 1 = Check, 2 = PayPal, 3 = NopCommercePlugin, 4 = DiscountOrCoupon, 1000 = Other
Id to help track the transaction information for the payment processor
Amount being paid
Date that the payment is made
Optional note for the invoice payment
Id of the created invoice payment
Contains id of the created invoice payment
Id of the created invoice payment
00000000-0000-0000-0000-000000000000Current user must be invoice sales agent
Entity not found
Validation exception. See response body for more info.
Creates a new invoice scheduled payment and adds it to the database. Requires the
current user to be the sales agent on the invoice.
Use the AdminApi Authenticate method to get the access_token
Information for creating an invoice scheduled payment
Id of the invoice that the payment will be made to
00000000-0000-0000-0000-000000000000Amount of the payment
When the payment is due
Optional note for the scheduled payment
Id of the created invoice scheduled payment
Contains id of the created invoice scheduled payment
Id of the created invoice scheduled payment
00000000-0000-0000-0000-000000000000Current user must be invoice sales agent
Entity not found
Validation exception. See response body for more info.
This method is used to complete an invoice transaction that was started using {M:NexportVirtualCampus.WebApi.v1.PointOfSaleApiController.BeginInvoiceTransaction(Nexport.WebApi.Model.v1.CreateInvoiceMessageRequest)}.
Use the AdminApi Authenticate method to get the access_token
Contains information for committing an invoice and creating redemptions if necessary
Id of the invoice to commit
00000000-0000-0000-0000-000000000000Invoice number and redemption codes
Contains invoice redemption codes created from the CommitInvoiceTransaction method
A unique yet friendly Invoice Number that users can reference when speaking to Customer Support
Not authorized to manage invoices
Entity not found
Validation exception. See response body for more info.
Use the AdminApi Authenticate method to get the access_token
Contains fields for redeeming an invoice item
Id of the invoice item to update
00000000-0000-0000-0000-000000000000Invoice redemption information
Contains invoice redemption codes created from the CommitInvoiceTransaction method
Id of the invoice item updated
00000000-0000-0000-0000-000000000000Id of the associated invoice
00000000-0000-0000-0000-000000000000Not authorized to manage invoices
Entity not found
Validation exception
Use the AdminApi Authenticate method to get the access_token
Contains fields for redeeming an invoice item
Id of the invoice item to redeem
00000000-0000-0000-0000-000000000000Id of the redemption to redeem
00000000-0000-0000-0000-000000000000Redemption code on the invoice item to redeem
Id of the user that is redeeming the invoice item
00000000-0000-0000-0000-000000000000Renew redemption updates the expiration on an existing enrollment. Delete finished enrollment will also create a new enrollment. Default is normal redemption (creates an enrollment). NormalRedemption=1; DeleteFinishedEnrollment=20; RenewRedemption=30;0 = InvalidRedemption, 1 = NormalRedemption, 20 = DeleteFinishedEnrollment, 30 = RenewRedemption, 40 = RestartEnrollment
Optional note to be included with the redemption creation audit log.
Name of the remote system redeeming the invoice item, i.e. "Marketplace".
Id of the admin who assigned the redemption. Will be set to current API user if not provided.
00000000-0000-0000-0000-000000000000ProductId from GetCatalog/CategorySyllabi
00000000-0000-0000-0000-000000000000Default is Syllabus. Syllabus=0; Catalog=1; ShippingAndHandling=2; Taxes=3; Other=4; OpenEnded=5;0 = Syllabus, 1 = Catalog, 2 = ShippingAndHandling, 3 = Taxes, 4 = Other, 5 = OpenEnded
Invoice redemption information
Invoice redemption information
Id of the invoice redemption
00000000-0000-0000-0000-000000000000Id of the invoice item this redemption corresponds to
00000000-0000-0000-0000-000000000000Id of the invoice this redemption corresponds to
00000000-0000-0000-0000-000000000000Section=0; TrainingPlan=1; Catalog=2; Unknown=-1;0 = Section, 1 = TrainingPlan, 2 = Catalog, -1 = Unknown
Id of the enrollment this redemption corresponds to
00000000-0000-0000-0000-000000000000When this invoice redemption was redeemed
When this invoice redemption expires
The id of the user that has redeemed this invoice redemption
00000000-0000-0000-0000-000000000000The last name of the user that has redeemed this invoice redemption
The first name of the user that has redeemed this invoice redemption
The login of the user that has redeemed this invoice redemption
The email address of the user that has redeemed this invoice redemption
The redemption code corresponding to this redemption
Id of the organization this redemption belongs to
00000000-0000-0000-0000-000000000000Name of the organization this redemption belongs to
Short name of the organization this redemption belongs to
Id of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}
00000000-0000-0000-0000-000000000000Name of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}
Description of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}
Pricing model of the catalog that the redemption belongs to None=0; PerHourPrice=1; PerItemPrice=2;0 = None, 1 = PerHour, 2 = PerItem
How long the catalog is available
When the catalog was created
When the catalog was last modified
Id of the syllabus that this redemption belongs to
00000000-0000-0000-0000-000000000000Title of the syllabus this redemption belongs to
Unique name of the syllabus this redemption belongs to
Description of the syllabus this redemption belongs to
Id of the syllabus certificate
00000000-0000-0000-0000-000000000000Whether or not syllabus certificates are disabled for the student
Number of credit hours the syllabus is worth
Section number of the syllabus this redemption belongs to
Section CEUs of the syllabus this redemption belongs to
Section duration of the syllabus this redemption belongs to
Section objectives of the syllabus this redemption belongs to
When the syllabus was created
When the syllabus was last modified
Not authorized to manage invoices
Entity not found
Validation exception
Use the AdminApi Authenticate method to get the access_token
Id of the invoice whose redemption is to be reset
00000000-0000-0000-0000-000000000000Optional note to be included with the redemption creation audit log.
Name of the remote system resetting the invoice item, i.e. "Marketplace".
Id of the admin who assigned the redemption. Will be set to current Api user Id if not provided.
00000000-0000-0000-0000-000000000000Redemption Successfully Deleted
Includes the updated Invoice and Redemption Information for the reset operation
Not authorized to manage invoices
Invoice item was not found
Validation exception
Use the AdminApi Authenticate method to get the access_token
Invoice redemption information
Invoice redemption information
Id of the invoice redemption
00000000-0000-0000-0000-000000000000Id of the invoice item this redemption corresponds to
00000000-0000-0000-0000-000000000000Id of the invoice this redemption corresponds to
00000000-0000-0000-0000-000000000000Section=0; TrainingPlan=1; Catalog=2; Unknown=-1;0 = Section, 1 = TrainingPlan, 2 = Catalog, -1 = Unknown
Id of the enrollment this redemption corresponds to
00000000-0000-0000-0000-000000000000When this invoice redemption was redeemed
When this invoice redemption expires
The id of the user that has redeemed this invoice redemption
00000000-0000-0000-0000-000000000000The last name of the user that has redeemed this invoice redemption
The first name of the user that has redeemed this invoice redemption
The login of the user that has redeemed this invoice redemption
The email address of the user that has redeemed this invoice redemption
The redemption code corresponding to this redemption
Id of the organization this redemption belongs to
00000000-0000-0000-0000-000000000000Name of the organization this redemption belongs to
Short name of the organization this redemption belongs to
Id of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}
00000000-0000-0000-0000-000000000000Name of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}
Description of the catalog that the redemption belongs to. Will be null if the {Nexport.WebApi.Model.v1.InvoiceRedemptionResponse.RedemptionType} is not {Nexport.Models.PointOfSale.RedemptionTypeEnum.Catalog}
Pricing model of the catalog that the redemption belongs to None=0; PerHourPrice=1; PerItemPrice=2;0 = None, 1 = PerHour, 2 = PerItem
How long the catalog is available
When the catalog was created
When the catalog was last modified
Id of the syllabus that this redemption belongs to
00000000-0000-0000-0000-000000000000Title of the syllabus this redemption belongs to
Unique name of the syllabus this redemption belongs to
Description of the syllabus this redemption belongs to
Id of the syllabus certificate
00000000-0000-0000-0000-000000000000Whether or not syllabus certificates are disabled for the student
Number of credit hours the syllabus is worth
Section number of the syllabus this redemption belongs to
Section CEUs of the syllabus this redemption belongs to
Section duration of the syllabus this redemption belongs to
Section objectives of the syllabus this redemption belongs to
When the syllabus was created
When the syllabus was last modified
Not authorized to manage invoices
Entity not found
Validation exception. See response body for more info.
Last updated