77 ---
88
99 Additional documentation available in the API's [GitHub repository](https://github.com/britned/empire-platform-api)
10- version : 6.1 .0
10+ version : 7.0 .0
1111 contact :
1212 name : BritNed
1313 url : https://www.britned.com
@@ -2872,11 +2872,44 @@ paths:
28722872 $ref : ' #/components/responses/Unauthorized'
28732873 ' 403 ' :
28742874 $ref : ' #/components/responses/Forbidden'
2875- /v1/finance/invoices :
2875+ /v1/finance/invoices/{id} :
2876+ get :
2877+ operationId : getFinanceInvoice
2878+ description : |-
2879+ Fetch an Invoice by its identifier
2880+
2881+ ---
2882+
2883+ __Requires Permission:__ (at least one)
2884+ * `VIEW_OWN_INVOICES`
2885+ * `VIEW_ANY_INVOICES`
2886+ tags :
2887+ - finance
2888+ security :
2889+ - ApiKey : []
2890+ x-permissions :
2891+ - VIEW_OWN_INVOICES
2892+ - VIEW_ANY_INVOICES
2893+ parameters :
2894+ - $ref : ' #/components/parameters/Identifier'
2895+ responses :
2896+ ' 200 ' :
2897+ description : __OK__
2898+ content :
2899+ application/json :
2900+ schema :
2901+ $ref : ' #/components/schemas/InvoiceDetails'
2902+ ' 401 ' :
2903+ $ref : ' #/components/responses/Unauthorized'
2904+ ' 403 ' :
2905+ $ref : ' #/components/responses/Forbidden'
2906+ ' 404 ' :
2907+ $ref : ' #/components/responses/NotFound'
2908+ /v1/finance/invoice-groups :
28762909 get :
2877- operationId : getFinanceInvoices
2910+ operationId : getFinanceInvoiceGroups
28782911 description : |-
2879- Fetch a paginated, filterable list of Invoices
2912+ Fetch a paginated, filterable list of Invoice groups
28802913
28812914 ---
28822915
@@ -2934,39 +2967,6 @@ paths:
29342967 $ref : ' #/components/responses/Unauthorized'
29352968 ' 403 ' :
29362969 $ref : ' #/components/responses/Forbidden'
2937- /v1/finance/invoices/{id} :
2938- get :
2939- operationId : getFinanceInvoice
2940- description : |-
2941- Fetch an Invoice by its identifier
2942-
2943- ---
2944-
2945- __Requires Permission:__ (at least one)
2946- * `VIEW_OWN_INVOICES`
2947- * `VIEW_ANY_INVOICES`
2948- tags :
2949- - finance
2950- security :
2951- - ApiKey : []
2952- x-permissions :
2953- - VIEW_OWN_INVOICES
2954- - VIEW_ANY_INVOICES
2955- parameters :
2956- - $ref : ' #/components/parameters/Identifier'
2957- responses :
2958- ' 200 ' :
2959- description : __OK__
2960- content :
2961- application/json :
2962- schema :
2963- $ref : ' #/components/schemas/InvoiceDetails'
2964- ' 401 ' :
2965- $ref : ' #/components/responses/Unauthorized'
2966- ' 403 ' :
2967- $ref : ' #/components/responses/Forbidden'
2968- ' 404 ' :
2969- $ref : ' #/components/responses/NotFound'
29702970 /v1/finance/invoice-groups/{id}/download-all :
29712971 get :
29722972 operationId : downloadAllFinanceInvoiceGroupPdfs
@@ -9777,6 +9777,105 @@ components:
97779777 - NL_GB
97789778 - BOTH
97799779 - NONE
9780+ BusinessProcessContentBlock :
9781+ oneOf :
9782+ - $ref : ' #/components/schemas/BusinessProcessForkBlock'
9783+ - $ref : ' #/components/schemas/BusinessProcessStepBlock'
9784+ discriminator :
9785+ propertyName : blockType
9786+ mapping :
9787+ FORK : ' #/components/schemas/BusinessProcessForkBlock'
9788+ STEP : ' #/components/schemas/BusinessProcessStepBlock'
9789+ BusinessProcessForkBlock :
9790+ type : object
9791+ required :
9792+ - blockType
9793+ - blocks
9794+ properties :
9795+ blockType :
9796+ type : string
9797+ blocks :
9798+ type : array
9799+ items :
9800+ type : array
9801+ items :
9802+ $ref : ' #/components/schemas/BusinessProcessContentBlock'
9803+ BusinessProcessStepAttempt :
9804+ type : object
9805+ required :
9806+ - status
9807+ properties :
9808+ status :
9809+ $ref : ' #/components/schemas/BusinessProcessStepStatus'
9810+ startedAt :
9811+ $ref : ' #/components/schemas/DateTime'
9812+ endedAt :
9813+ $ref : ' #/components/schemas/DateTime'
9814+ failReason :
9815+ type : string
9816+ BusinessProcessStepBlock :
9817+ type : object
9818+ required :
9819+ - blockType
9820+ - stepType
9821+ - logicType
9822+ - resolvable
9823+ - rerunnable
9824+ - attempts
9825+ properties :
9826+ blockType :
9827+ type : string
9828+ stepType :
9829+ $ref : ' #/components/schemas/BusinessProcessStepType'
9830+ logicType :
9831+ $ref : ' #/components/schemas/BusinessProcessStepLogicType'
9832+ dataFlowDirection :
9833+ $ref : ' #/components/schemas/DataFlowDirection'
9834+ interface :
9835+ $ref : ' #/components/schemas/Interface'
9836+ id :
9837+ $ref : ' #/components/schemas/Identifier'
9838+ resolvable :
9839+ type : boolean
9840+ rerunnable :
9841+ type : boolean
9842+ attempts :
9843+ type : array
9844+ items :
9845+ $ref : ' #/components/schemas/BusinessProcessStepAttempt'
9846+ dataFlowVersionId :
9847+ $ref : ' #/components/schemas/Identifier'
9848+ BusinessProcessStepLogicType :
9849+ type : string
9850+ enum :
9851+ - INTERNAL_LOGIC
9852+ - REQUEST_GENERATION
9853+ - REQUEST_SENDING
9854+ - RESPONSE_POLLING
9855+ - IMPORT
9856+ BusinessProcessStepStatus :
9857+ type : string
9858+ enum :
9859+ - SCHEDULED
9860+ - CANCELLED
9861+ - PENDING
9862+ - IN_PROGRESS
9863+ - FAILED
9864+ - RESOLVED
9865+ - SUCCEEDED
9866+ BusinessProcessStepType :
9867+ type : object
9868+ required :
9869+ - id
9870+ - displayName
9871+ properties :
9872+ id :
9873+ $ref : ' #/components/schemas/BusinessProcessStepTypeId'
9874+ displayName :
9875+ type : string
9876+ BusinessProcessStepTypeId :
9877+ type : string
9878+ description : Internal ID of a "Step Type" (e.g `CAPACITY_CHECK`, `GENERATE_OC_SUBMISSION`, etc)
97809879 BuyNowOffer :
97819880 type : object
97829881 required :
@@ -10345,6 +10444,11 @@ components:
1034510444 enum :
1034610445 - NOT_YET_OPEN
1034710446 - OPEN
10447+ DataFlowDirection :
10448+ type : string
10449+ enum :
10450+ - INCOMING
10451+ - OUTGOING
1034810452 Date :
1034910453 type : string
1035010454 description : |
@@ -11018,6 +11122,7 @@ components:
1101811122 - AUCTION_RESULTS_NOT_AVAILABLE
1101911123 - AUCTION_UNDER_PROCESSING
1102011124 - AUTH_METHOD_MISMATCH
11125+ - BAD_REQUEST
1102111126 - BIDDING_NOT_POSSIBLE
1102211127 - BUSINESS_DAY_PERIOD_TOO_LONG
1102311128 - CANCEL_DEADLINE_MISSED
@@ -11067,12 +11172,14 @@ components:
1106711172 - INVALID_BPP_MARKET
1106811173 - INVALID_BPP_PROVIDER
1106911174 - INVALID_CLOSURE_TIME
11175+ - INVALID_DATA_FLOW_TYPE_ID
1107011176 - INVALID_DELIVERY_DAY
1107111177 - INVALID_DIRECTION_ENTRIES
1107211178 - INVALID_DIRECTIONAL_VALUES
1107311179 - INVALID_EXECUTION_DAY
1107411180 - INVALID_EXPIRY_DAY
1107511181 - INVALID_ID_AUCTION_PRODUCT_TYPE
11182+ - INVALID_INTERFACE_ID
1107611183 - INVALID_LINE_ITEM_ID
1107711184 - INVALID_MTU
1107811185 - INVALID_NEW_PERIOD_START
@@ -11102,6 +11209,7 @@ components:
1110211209 - INVALID_UNPLANNED_OUTAGE_ID
1110311210 - INVALID_URL_PROTOCOL
1110411211 - INVALID_USER_ID
11212+ - INVALID_VIRTUAL_WORKFLOW_ID
1110511213 - INVALID_WEBHOOK_EVENT
1110611214 - INVALID_WORKFLOW_TYPE_ID
1110711215 - INVOICE_TYPE_NOT_MISSING
@@ -11160,6 +11268,8 @@ components:
1116011268 - REPORTING_PERIOD_OVERLAP
1116111269 - RETURNS_WINDOW_CLOSED
1116211270 - ROLE_MISMATCH
11271+ - SAGE_ORG_CODE_MUST_BE_UNIQUE
11272+ - SAGE_ORG_SHORT_NAME_MUST_BE_UNIQUE
1116311273 - SCHEMA_MISMATCH
1116411274 - SCHEMA_VALIDATION_ERROR
1116511275 - STATIC_TASK_ALREADY_COMPLETED
@@ -11399,6 +11509,18 @@ components:
1139911509 description : Unique identifier for the record in UUID4 format
1140011510 format : uuid
1140111511 example : 8d3787bb-b9ce-4d75-9a75-074ddd5d1e09
11512+ Interface :
11513+ type : object
11514+ required :
11515+ - id
11516+ - displayName
11517+ properties :
11518+ id :
11519+ $ref : ' #/components/schemas/InterfaceId'
11520+ displayName :
11521+ type : string
11522+ InterfaceId :
11523+ type : string
1140211524 IntraDayAuction :
1140311525 type : object
1140411526 required :
@@ -11499,6 +11621,7 @@ components:
1149911621 - id
1150011622 - groupId
1150111623 - displayId
11624+ - type
1150211625 - participant
1150311626 - period
1150411627 - netAmount
@@ -11517,6 +11640,8 @@ components:
1151711640 $ref : ' #/components/schemas/Identifier'
1151811641 displayId :
1151911642 type : string
11643+ type :
11644+ $ref : ' #/components/schemas/InvoiceType'
1152011645 participant :
1152111646 $ref : ' #/components/schemas/InvoiceParticipantDetails'
1152211647 period :
@@ -11561,10 +11686,7 @@ components:
1156111686 - id
1156211687 - displayId
1156311688 - invoices
11564- - netAmount
11565- - grossAmount
1156611689 - status
11567- - lastStatusChange
1156811690 - participant
1156911691 properties :
1157011692 id :
@@ -13077,6 +13199,7 @@ components:
1307713199 - MANAGE_ANY_USERS
1307813200 - INVITE_USERS
1307913201 - IMPERSONATE_USERS
13202+ - MANAGE_API_KEYS
1308013203 - VIEW_ICO_DASHBOARD
1308113204 - VIEW_PARTICIPANT_DASHBOARD
1308213205 - VIEW_GENERAL_SYSTEM_MESSAGES
@@ -14880,6 +15003,7 @@ components:
1488015003 - ICO_ONCALL_ANALYIST_AUCT
1488115004 - ICO_ONCALL_TRAINING
1488215005 - ICO_FINANCE
15006+ - ICO_SENIOR_ADMIN_HELPDESK
1488315007 - ICO_VIEW
1488415008 - ICO_VIEW_AUCT
1488515009 - TSO_USER
0 commit comments