Sage300 WebAPI EndpointReference
Sage300 WebAPI EndpointReference
Endpoint reference
December 2016
© 2016 The Sage Group plc or its licensors. All rights reserved. Sage, Sage logos, and Sage
product and service names mentioned herein are the trademarks of The Sage Group plc or its
licensors. All other trademarks are the property of their respective owners.
Contents
1. Overview ......................................................................................................... 4
This document lists endpoints for the Sage 300 Web API.
The Sage 300 Web API makes it easy to develop services that integrate with Sage 300 data
and business logic. You can use the Web API to create integrated services for Sage 300 using
many frameworks and tools—even just a web browser.
Swagger UI generates visual and dynamic documentation of the Sage 300 Web API endpoints
and their models. You can use it to try supported verbs for endpoint paths. The defaulted
company for these operations is SAMLTD.
To access the Swagger JSON document and Swagger UI page, navigate to
protocol://servername/Sage300WebApi, where protocol is http or https and servername is the
name of your Sage 300 server (for example, https://localhost/Sage300WebApi).
Swagger is part of the Open API Initiative (OAI). For more information on ApenAPI/Swagger
and Swagger UI, see:
http://swagger.io
https://github.com/OAI/OpenAPI-Specification
Additional documentation is available for members of the Sage Development Partner Program.
For more information about partner programs, visit sage.com/us/partners.
Master data endpoints are setup functions where you can do the following supported verbs.
Supported verbs
AP0009 APDSH,
APDistributionSets x x x x x
AP0008 APDSD
APPaymentCodes AP0010 APPTP x x x x x
AP0064 APRPH,
AP0065 APRPD,
APRecurringPayables x x x x x
AP0405 APRPHO,
AP0404 APRPDO
AP0018 APVNR,
APRemitToLocations x x x x x
AP0409 APVNRO
AP0012 APRTA,
APTerms x x x x x
AP0011 APRTB
AP0016 APVGR,
APVendorGroups x x x x x
AP0408 APVGRO
AP0015 APVEN,
APVendors x x x x x
AP0407 APVENO
ARAccountSets AR0013 ARRAS x x x x x
AR0025 ARGRO,
ARCustomerGroups x x x x x
AR0410 ARGROO
AR0024 ARCUS,
ARCustomers x x x x x
AR0400 ARCUSO
ARDistributionCodes AR0015 ARRDC x x x x x
AR0010 ARITH,
ARItems AR0009 ARITD, x x x x x
AR0011 ARITT
AR0028 ARNAT,
ARNationalAccounts x x x x x
AR0411 ARNATO
ARPaymentCodes AR0012 ARPTP x x x x x
AR0046 ARSIA,
AR0047 ARSID,
ARRecurringCharges x x x x x
AR0405 ARSIAO,
AR0404 ARSIDO
ARSalespersons AR0018 ARSAP x x x x x
AR0023 ARCSP,
ARShipToLocations x x x x x
AR0412 ARCSPO
AR0016 ARRTA,
ARTerms x x x x x
AR0017 ARRTB
BK0003 BKTT,
BKBankDistributionCodes x x x x x
BK0860 BKTTX
BK0001 BKACCT,
BK0002 BKCUR,
BK0845 BKTRANH,
BKBanks x x x x x
BK0008 BKFORM,
BK0870 BKUNMAT,
BK0840 BKTRAND
BKCreditCardTypes BK0240 BKCCTYP x x x x x
CS0005 CSCRH,
CSCurrencyRates x x x x x
CS0006 CSCRD
CSCurrencyRateTypes CS0004 CSCRT x x x x x
CS0002 CSFSC,
CSFiscalCalendars x
CS0060 CSFSCST
CS0030 CSSKTB,
CSSchedules x x x x x
CS0032 CSSKAP
GLAccountGroups GL0055 GLACGRP x x x x x
GL0001 GLAMF,
GL0004 GLAIS,
GLAccounts x x x x x
GL0012 GLAVC,
GL0107 GLCAS,
GL0400 GLAMFO,
GL0401 GLAMFTO,
GL0057 GLACHD,
GL0063 GLPACHD
GLRevaluationCodes GL0020 GLRVAL x x x x x
IC0200 ICBOMH,
ICBillsOfMaterial x
IC0190 ICBOMD
IC0210 ICCATG,
ICCategories x x x x x
IC0220 ICCATTX
IC0310 ICITEM,
IC0750 ICUNIT,
IC0330 ICITMTX,
IC0340 ICITMV,
ICItems x x x x x
IC0313 ICITEMO,
IC0319 ICITMC,
IC0314 ICITEMSO,
IC0312 ICITEMLO
ICItemStructures IC0320 ICITMS x x x x x
IC0390 ICPCOD,
ICPriceListCodes IC0395 ICPCTX, x x x x x
IC0392 ICPCODC
ICUnitsOfMeasure IC0746 ICUCOD x x x x x
OE0440 OEMISC,
OEMiscellaneousCharges OE0460 OEMISCT, x x x x x
OE0450 OEMISCO
OEShipViaCodes OE0760 OEVIA x x x x x
PO0300 POACST,
POAdditionalCosts PO0290 POACD, x x x x x
PO0299 POACSTO
POTemplates PO0605 POPLAT x x x x x
PO0181 POVUPR,
POVendorContractCosts
PO0191 POVUMB,
x x x x x
PO0192 POVUMS,
PO0183 POVUTX
Supported verbs
AP0020 APIBC,
AP0021 APIBH,
AP0022 APIBD,
APInvoiceBatches x x
AP0401 APIBDO,
AP0023 APIBS,
AP0402 APIBHO
AP0030 APBTA,
AP0031 APTCR,
AP0032 APTCN,
APPaymentAndAdjustmentBatches AP0033 APTCP, x x
AP0034 APTCU,
AP0406 APTCRO,
AP0170 APTCC
AR0031 ARIBC,
AR0032 ARIBH,
AR0033 ARIBD,
ARInvoiceBatches x x
AR0401 ARIBDO,
AR0034 ARIBS,
AR0402 ARIBHO
AR0041 ARBTA,
AR0042 ARTCR,
AR0043 ARTCN,
ARReceiptAndAdjustmentBatches AR0044 ARTCP, x x
AR0045 ARTCU,
AR0406 ARTCRO,
AR0170 ARTCC
ARRefundBatches AR0140 ARRFB, x x
AR0141 ARRFH,
AR0142 ARRFD,
AR0145 ARRFDJ,
AR0143 ARRFHO
BK0450 BKENTH,
BKBankEntries x x
BK0460 BKENTD
GL0008 GLBCTL,
GL0006 GLJEH,
GLJournalBatches x x
GL0010 GLJED,
GL0402 GLJEDO
IC0120 ICADEH,
IC0110 ICADED,
IC0125 ICADEHO,
ICAdjustments x x
IC0115 ICADEDO,
IC0117 ICADEDS,
IC0113 ICADEDL
IC0590 ICREEH,
IC0580 ICREED,
IC0595 ICREEHO,
ICReceipts x x
IC0585 ICREEDO,
IC0587 ICREEDS,
IC0582 ICREEDL
IC0640 ICSHEH,
IC0630 ICSHED,
IC0645 ICSHEHO,
ICShipments x x
IC0635 ICSHEDO,
IC0632 ICSHEDL,
IC0636 ICSHEDS
IC0740 ICTREH,
IC0730 ICTRED,
IC0741 ICTREHO,
ICTransfers x x
IC0735 ICTREDO,
IC0738 ICTREDS,
IC0733 ICTREDL
OE0240 OECRDH,
OE0220 OECRDD,
OE0140 OECOINC,
OE0242 OECRDHO,
OECreditDebitNotes OE0221 OECRDDO, x x
OE0223 OECRDDB,
OE0222 OECRDDD,
OE0224 OECRDDDS,
OE0225 OECRDDDL,
OE0227 OECRDDS,
OE0226 OECRDDL
OE0420 OEINVH,
OE0400 OEINVD,
OE0160 OECOINI,
OE0720 OETERMI,
OE0427 OEINVR,
OE0422 OEINVHO,
OEInvoices OE0401 OEINVDO, x
OE0403 OEINVDB,
OE0402 OEINVDD,
OE0404 OEINVDDS,
OE0405 OEINVDDL,
OE0407 OEINVDS,
OE0406 OEINVDL
OE0520 OEORDH,
OE0500 OEORDD,
OE0180 OECOINO,
OE0740 OETERMO,
OE0526 OEORDQ,
OE0522 OEORDHO,
OEOrders OE0501 OEORDDO, x x
OE0503 OEORDDB,
OE0502 OEORDDD,
OE0504 OEORDDDS,
OE0506 OEORDDDL,
OE0508 OEORDDS,
OE0507 OEORDDL
PO0311 POCRNH,
PO0309 POCRNC,
PO0315 POCRNL,
PO0320 POCRNS,
PO0310 POCRNG,
PO0325 POCRNW,
POCreditDebitNotes x
PO0314 POCRNHO,
PO0318 POCRNLO,
PO0829 POCRNLL,
PO0820 POCRNLS,
PO0323 POCRNSO,
PO0326 POCRND
PO0420 POINVH,
POInvoices PO0416 POINVC, x
PO0430 POINVL,
PO0440 POINVS,
PO0436 POINVP,
PO0419 POINVG,
PO0438 POINVR,
PO0444 POINVW,
PO0423 POINVHO,
PO0433 POINVLO,
PO0819 POINVLL,
PO0810 POINVLS,
PO0443 POINVSO,
PO0415 POINVD
PO0620 POPORH,
PO0610 POPORC,
PO0630 POPORL,
POPurchaseOrders PO0632 POPORR, x x
PO0619 POPORG,
PO0623 POPORHO,
PO0633 POPORLO
PO0700 PORCPH,
PO0695 PORCPC,
PO0710 PORCPL,
PO0718 PORCPV,
PO0699 PORCPG,
PO0705 PORCPR,
PO0703 PORCPHO,
POReceipts x x
PO0717 PORCPLO,
PO0789 PORCPLL,
PO0780 PORCPLS,
PO0714 PORCPS,
PO0719 PORCPSO,
PO0696 PORCPD,
PO0721 PORCPVO
PO0760 PORQNH,
PO0750 PORQNC,
PO0770 PORQNL,
PORequisitions PO0759 PORQNG, x x
PO0763 PORQNHO,
PO0777 PORQNLV,
PO0773 PORQNLO
PO0731 PORETH, x x
PO0729 PORETC,
POReturns
PO0735 PORETL,
PO0730 PORETG,
PO0738 PORETHO,
PO0739 PORETLO,
PO0799 PORETLL,
PO0790 PORETLS
Process endpoints invoke special service process resources to perform such tasks as posting
invoices and generating GL batches.
To get a sample payload, enter the appropriate URL with (‘$template’) at the end.
Example:
POST http://localhost/Sage300WebApi/v1.0/-/SAMLTD/AR/ARPostInvoices(‘$template’)
When you are ready to invoke a Sage 300 superview process, add (‘$process’) at the end of
the URL.
Example:
POST http://localhost/Sage300WebApi/v1.0/-/SAMLTD/AR/ARPostInvoices(‘$process’)
Supported verbs
Supported verbs
OE0120 OEAUDH,
OE0100 OEAUDD,
OEPostingJournals OE0123 OEAUDHP, x
OE0110 OEAUDDP,
OE0105 OEAUDDD
TX0011 TXAUDH,
TXTaxTracking x
TX0012 TXAUDD