Security

This controller works under the system security rules and constraints.
For more details, refer to the Authentication section

Note

The following guidelines are intended to illustrate the features and features of this Web API controller.


Aliases

This controller can be invoked by other names besides the default one.

This means that, referring to the routing grammar ({schema}://{host}/api/{version}/{controller}/{details}/{action}/{id}?{querystring}) it is possible to use a different fragment for the {controller} component.

Below is the list of these aliases for the fragment {controller}, sorted by suggested preference of use.

AliasPath
Invoices/api/v1/Invoices
Invoice/api/v1/Invoice

Authentication

JWT Token

In order to invoke the REST API, it is necessary to obtain an authentication token via the appropriate service /Auth/Login

For more details, please see the appropriate section of the documentations.

Bearer Authentication

Bearer authentication (also called token authentication) is an HTTP authentication scheme that involves security tokens called bearer tokens.

For more details, please see the appropriate section of the documentations.

Identification of the calling application

Some of the REST API functions can only be used if (in addition to proper user authentication) a declaration of the calling application is also performed.

For more details, please see the appropriate section of the documentations.


Actions & Paths

These are the REST actions that can be performed via the Web API infrastructure.
The actions are grouped by "topic".
Click on a "topic" to view the different actions contained in it.

Each action corresponds to a method in the class of the Web API controller, and a set of routing paths that can be used to invoke it.

Explore by topics
Topic nameMost commonly used actions
CRUD
Multiple CRUD
External References
Misc
OData
Preview
Swagger

GET: /api/v1/Invoice/

Routing template:

/api/{version}/Invoice/

Produces:

  • HTTP 200: Int64 as application/json
  • HTTP 200: Int64 as text/json
  • HTTP 200: Int64 as application/json;IEEE754Compatible=false
  • HTTP 200: Int64 as application/json;IEEE754Compatible=true
  • HTTP 200: Int64 as application/xml
  • HTTP 200: Int64 as text/plain
  • HTTP 200: Int64 as application/octet-stream

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


DELETE: /api/v1/Invoice/{id}

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Produces:

  • HTTP 200: Boolean as application/json
  • HTTP 200: Boolean as text/json
  • HTTP 200: Boolean as application/json;IEEE754Compatible=false
  • HTTP 200: Boolean as application/json;IEEE754Compatible=true
  • HTTP 200: Boolean as application/xml
  • HTTP 200: Boolean as text/plain
  • HTTP 200: Boolean as application/octet-stream

Response: 200 (Success) Boolean

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/Archive

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64
template string NO Query
request InvoicePrintableRequest NO Query

Produces:

  • HTTP 400: integer as application/json
  • HTTP 400: integer as text/json
  • HTTP 400: integer as application/json;IEEE754Compatible=false
  • HTTP 400: integer as application/json;IEEE754Compatible=true
  • HTTP 400: integer as application/xml
  • HTTP 400: integer as text/plain
  • HTTP 400: integer as application/octet-stream
  • HTTP 400: integer as text/xml

Response: 400 (Bad Request) integer

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/AsDataProduct

Parameters:

NameTypeRequiredInFeatures
id integer NO Query
  • Format: int64
includeExplicitlyDeclaredVirtualProperties boolean NO Query
  • Default: False
id string YES Path

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/Exists

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Produces:

  • HTTP 200: Boolean as application/json
  • HTTP 200: Boolean as text/json
  • HTTP 200: Boolean as application/json;IEEE754Compatible=false
  • HTTP 200: Boolean as application/json;IEEE754Compatible=true
  • HTTP 200: Boolean as application/xml
  • HTTP 200: Boolean as text/plain
  • HTTP 200: Boolean as application/octet-stream

Response: 200 (Success) Boolean

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/FreeFields

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Produces:

Response: 200 (Success) FreeFieldsBOItemDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/GetDownloadUrl

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64
template string NO Query
request InvoicePrintableRequest NO Query

Produces:

  • HTTP 400: string as application/json
  • HTTP 400: string as text/json
  • HTTP 400: string as application/json;IEEE754Compatible=false
  • HTTP 400: string as application/json;IEEE754Compatible=true
  • HTTP 400: string as application/xml
  • HTTP 400: string as text/plain
  • HTTP 400: string as application/octet-stream
  • HTTP 400: string as text/xml

Response: 400 (Bad Request) string

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/GetFull

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/GetHash

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Produces:

  • HTTP 200: String as application/json
  • HTTP 200: String as text/json
  • HTTP 200: String as application/json;IEEE754Compatible=false
  • HTTP 200: String as application/json;IEEE754Compatible=true
  • HTTP 200: String as application/xml
  • HTTP 200: String as text/plain
  • HTTP 200: String as application/octet-stream

Response: 200 (Success) String

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/GetPostDownloadUrl

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64
template string NO Query
request InvoicePrintableRequest NO Query

Produces:

  • HTTP 400: string as application/json
  • HTTP 400: string as text/json
  • HTTP 400: string as application/json;IEEE754Compatible=false
  • HTTP 400: string as application/json;IEEE754Compatible=true
  • HTTP 400: string as application/xml
  • HTTP 400: string as text/plain
  • HTTP 400: string as application/octet-stream
  • HTTP 400: string as text/xml

Response: 400 (Bad Request) string

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/{id}/HtmlPreview

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64
template string NO Query
request InvoicePrintableRequest NO Query

Produces:

  • HTTP 200: String as application/json
  • HTTP 200: String as text/json
  • HTTP 200: String as application/json;IEEE754Compatible=false
  • HTTP 200: String as application/json;IEEE754Compatible=true
  • HTTP 200: String as application/xml
  • HTTP 200: String as text/plain
  • HTTP 200: String as application/octet-stream

Response: 200 (Success) String

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/Humanize

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


DELETE: /api/v1/Invoice/{id}/Photo

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/Photo

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/{id}/Photo

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64

Consumes:

  • multipart/form-data

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/{id}/Preview

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64
page integer NO Query
  • Default: 1
  • Format: int32
zoom integer NO Query
  • Default: 0
  • Format: int32
template string NO Query
request InvoicePrintableRequest NO Query

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/{id}/Previews

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64
template string NO Query
request InvoicePrintableRequest NO Query

Produces:

  • HTTP 400: array of FilePreview as application/json
  • HTTP 400: array of FilePreview as text/json
  • HTTP 400: array of FilePreview as application/json;IEEE754Compatible=false
  • HTTP 400: array of FilePreview as application/json;IEEE754Compatible=true
  • HTTP 400: array of FilePreview as application/xml
  • HTTP 400: array of FilePreview as text/plain
  • HTTP 400: array of FilePreview as application/octet-stream
  • HTTP 400: array of FilePreview as text/xml

Response: 400 (Bad Request) array of FilePreview

Samples

Download Postman collection sample

Try this !


PUT: /api/v1/Invoice/{id}/Recent

Parameters:

NameTypeRequiredInFeatures
id integer YES Path
  • Format: int64
recentRouteType RecentRouteType NO Query

Produces:

  • HTTP 400: boolean as application/json
  • HTTP 400: boolean as text/json
  • HTTP 400: boolean as application/json;IEEE754Compatible=false
  • HTTP 400: boolean as application/json;IEEE754Compatible=true
  • HTTP 400: boolean as application/xml
  • HTTP 400: boolean as text/plain
  • HTTP 400: boolean as application/octet-stream
  • HTTP 400: boolean as text/xml

Response: 400 (Bad Request) boolean

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/AddProductsByCode

Parameters:

NameTypeRequiredInFeatures
insertPosition integer NO Query
  • Format: int32
overrideCurrent boolean NO Query
lang string NO Query

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/ApplyCalculateTotalDocument

Routing template:

/api/{version}/Invoice/ApplyCalculateTotalDocument

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/ApplyCalculateTotalDocumentWithFooterTotals

Routing template:

/api/{version}/Invoice/ApplyCalculateTotalDocumentWithFooterTotals

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/CatalogCodeChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/CloneRowsGroups

Routing template:

/api/{version}/Invoice/CloneRowsGroups

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/CostChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/Count

Parameters:

NameTypeRequiredInFeatures
filter string NO Query

Produces:

  • HTTP 200: Int32 as application/json
  • HTTP 200: Int32 as text/json
  • HTTP 200: Int32 as application/json;IEEE754Compatible=false
  • HTTP 200: Int32 as application/json;IEEE754Compatible=true
  • HTTP 200: Int32 as application/xml
  • HTTP 200: Int32 as text/plain
  • HTTP 200: Int32 as application/octet-stream

Response: 200 (Success) Int32

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/CreateOrUpdate

Routing template:

/api/{version}/Invoice/CreateOrUpdate

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 200: Int64 as application/json
  • HTTP 200: Int64 as text/json
  • HTTP 200: Int64 as application/json;IEEE754Compatible=false
  • HTTP 200: Int64 as application/json;IEEE754Compatible=true
  • HTTP 200: Int64 as application/xml
  • HTTP 200: Int64 as text/plain
  • HTTP 200: Int64 as application/octet-stream

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


DELETE: /api/v1/Invoice/DeleteByExternalReference

Parameters:

NameTypeRequiredInFeatures
externalReference string NO Query

Produces:

  • HTTP 200: Boolean as application/json
  • HTTP 200: Boolean as text/json
  • HTTP 200: Boolean as application/json;IEEE754Compatible=false
  • HTTP 200: Boolean as application/json;IEEE754Compatible=true
  • HTTP 200: Boolean as application/xml
  • HTTP 200: Boolean as text/plain
  • HTTP 200: Boolean as application/octet-stream

Response: 200 (Success) Boolean

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/DeleteByExternalReference

Parameters:

NameTypeRequiredInFeatures
externalReference string NO Query

Produces:

  • HTTP 200: Boolean as application/json
  • HTTP 200: Boolean as text/json
  • HTTP 200: Boolean as application/json;IEEE754Compatible=false
  • HTTP 200: Boolean as application/json;IEEE754Compatible=true
  • HTTP 200: Boolean as application/xml
  • HTTP 200: Boolean as text/plain
  • HTTP 200: Boolean as application/octet-stream

Response: 200 (Success) Boolean

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/DiscountFormulaChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/ExportRowsInExcel

Parameters:

NameTypeRequiredInFeatures
exportDescription boolean NO Query
exportDescriptionNewLine boolean NO Query
exportExtensions boolean NO Query
exportFreeFields boolean NO Query

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) IErpExportRowsExcelInfo

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/GainChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetBoDeleteModes

Routing template:

/api/{version}/Invoice/GetBoDeleteModes

Produces:

Response: 200 (Success) array of BoDeleteMode

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetByExternalReference

Parameters:

NameTypeRequiredInFeatures
externalReference string NO Query

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetDataProductSchema

Parameters:

NameTypeRequiredInFeatures
honorAcceptLanguageHeader boolean NO Query
  • Default: False
includeExplicitlyDeclaredVirtualProperties boolean NO Query
  • Default: False

Produces:

  • HTTP 400: dynamic content as application/json
  • HTTP 400: dynamic content as text/json
  • HTTP 400: dynamic content as application/json;IEEE754Compatible=false
  • HTTP 400: dynamic content as application/json;IEEE754Compatible=true
  • HTTP 400: dynamic content as application/xml
  • HTTP 400: dynamic content as text/plain
  • HTTP 400: dynamic content as application/octet-stream

Response: 400 (Bad Request) dynamic content

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetIdsByExternalReference

Parameters:

NameTypeRequiredInFeatures
externalReference string NO Query
excludeDeletedItems boolean NO Query

Produces:

  • HTTP 200: Int64 as application/json
  • HTTP 200: Int64 as text/json
  • HTTP 200: Int64 as application/json;IEEE754Compatible=false
  • HTTP 200: Int64 as application/json;IEEE754Compatible=true
  • HTTP 200: Int64 as application/xml
  • HTTP 200: Int64 as text/plain
  • HTTP 200: Int64 as application/octet-stream

Response: 200 (Success) Int64

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/GetIdsMappedByExternalReference

Routing template:

/api/{version}/Invoice/GetIdsMappedByExternalReference

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Produces:

  • HTTP 200: Int64 as application/json
  • HTTP 200: Int64 as text/json
  • HTTP 200: Int64 as application/json;IEEE754Compatible=false
  • HTTP 200: Int64 as application/json;IEEE754Compatible=true
  • HTTP 200: Int64 as application/xml
  • HTTP 200: Int64 as text/plain
  • HTTP 200: Int64 as application/octet-stream

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/GetIdsNotMappedByExternalReference

Routing template:

/api/{version}/Invoice/GetIdsNotMappedByExternalReference

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Produces:

  • HTTP 200: Int64 as application/json
  • HTTP 200: Int64 as text/json
  • HTTP 200: Int64 as application/json;IEEE754Compatible=false
  • HTTP 200: Int64 as application/json;IEEE754Compatible=true
  • HTTP 200: Int64 as application/xml
  • HTTP 200: Int64 as text/plain
  • HTTP 200: Int64 as application/octet-stream

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/GetInfo

Routing template:

/api/{version}/Invoice/GetInfo

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/GetItemsMappedByExternalReference

Routing template:

/api/{version}/Invoice/GetItemsMappedByExternalReference

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Produces:

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/GetItemsNotMappedByExternalReference

Routing template:

/api/{version}/Invoice/GetItemsNotMappedByExternalReference

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Produces:

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetNewInstance

Routing template:

/api/{version}/Invoice/GetNewInstance

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetNewInvoiceTypes

Routing template:

/api/{version}/Invoice/GetNewInvoiceTypes

Produces:

Response: 200 (Success) array of NewInvoiceType

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetNewRowInstance

Routing template:

/api/{version}/Invoice/GetNewRowInstance

Produces:

  • HTTP 200: ERPRowDTO as application/json
  • HTTP 200: ERPRowDTO as text/json
  • HTTP 200: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 200: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 200: ERPRowDTO as application/xml
  • HTTP 200: ERPRowDTO as text/plain
  • HTTP 200: ERPRowDTO as application/octet-stream

Response: 200 (Success) ERPRowDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/GetNewRowInstance

Routing template:

/api/{version}/Invoice/GetNewRowInstance

Produces:

  • HTTP 200: ERPRowDTO as application/json
  • HTTP 200: ERPRowDTO as text/json
  • HTTP 200: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 200: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 200: ERPRowDTO as application/xml
  • HTTP 200: ERPRowDTO as text/plain
  • HTTP 200: ERPRowDTO as application/octet-stream

Response: 200 (Success) ERPRowDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetPolymorphicSchema

Parameters:

NameTypeRequiredInFeatures
serializePropertiesAsDictionary boolean NO Query
  • Default: True
honorAcceptLanguageHeader boolean NO Query
  • Default: False
generateSample boolean NO Query
  • Default: False
sampleGenerationStrategy SampleGenerationStrategy NO Query
useExtensions boolean NO Query
  • Default: True
includeExplicitlyDeclaredVirtualProperties boolean NO Query
  • Default: False

Produces:

  • HTTP 400: dynamic content as application/json
  • HTTP 400: dynamic content as text/json
  • HTTP 400: dynamic content as application/json;IEEE754Compatible=false
  • HTTP 400: dynamic content as application/json;IEEE754Compatible=true
  • HTTP 400: dynamic content as application/xml
  • HTTP 400: dynamic content as text/plain
  • HTTP 400: dynamic content as application/octet-stream

Response: 400 (Bad Request) dynamic content

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetPolymorphicStandardSchema

Parameters:

NameTypeRequiredInFeatures
honorAcceptLanguageHeader boolean NO Query
  • Default: False
includeExplicitlyDeclaredVirtualProperties boolean NO Query
  • Default: True
wrapAsHermesCloudEvent boolean NO Query
  • Default: False
schemaVersion StandardSchemaVersion NO Query

Produces:

  • HTTP 400: dynamic content as application/json
  • HTTP 400: dynamic content as text/json
  • HTTP 400: dynamic content as application/json;IEEE754Compatible=false
  • HTTP 400: dynamic content as application/json;IEEE754Compatible=true
  • HTTP 400: dynamic content as application/xml
  • HTTP 400: dynamic content as text/plain
  • HTTP 400: dynamic content as application/octet-stream

Response: 400 (Bad Request) dynamic content

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetPriceListCurrency

Parameters:

NameTypeRequiredInFeatures
listId integer NO Query
  • Format: int64

Produces:

  • HTTP 200: Int64 as application/json
  • HTTP 200: Int64 as text/json
  • HTTP 200: Int64 as application/json;IEEE754Compatible=false
  • HTTP 200: Int64 as application/json;IEEE754Compatible=true
  • HTTP 200: Int64 as application/xml
  • HTTP 200: Int64 as text/plain
  • HTTP 200: Int64 as application/octet-stream

Response: 200 (Success) Int64

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetSample

Parameters:

NameTypeRequiredInFeatures
force boolean NO Query
  • Default: False
sampleGenerationStrategy SampleGenerationStrategy NO Query
useExtensions boolean NO Query
  • Default: True

Produces:

  • HTTP 200: JObject as application/json
  • HTTP 200: JObject as text/json
  • HTTP 200: JObject as application/json;IEEE754Compatible=false
  • HTTP 200: JObject as application/json;IEEE754Compatible=true
  • HTTP 200: JObject as application/xml
  • HTTP 200: JObject as text/plain
  • HTTP 200: JObject as application/octet-stream

Response: 200 (Success) JObject

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetStandardSchema

Parameters:

NameTypeRequiredInFeatures
honorAcceptLanguageHeader boolean NO Query
  • Default: False

Produces:

  • HTTP 400: dynamic content as application/json
  • HTTP 400: dynamic content as text/json
  • HTTP 400: dynamic content as application/json;IEEE754Compatible=false
  • HTTP 400: dynamic content as application/json;IEEE754Compatible=true
  • HTTP 400: dynamic content as application/xml
  • HTTP 400: dynamic content as text/plain
  • HTTP 400: dynamic content as application/octet-stream

Response: 400 (Bad Request) dynamic content

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/GetSwagger

Parameters:

NameTypeRequiredInFeatures
honorAcceptLanguageHeader boolean NO Query
  • Default: False
bestPracticeOnly boolean NO Query
  • Default: True

Produces:

  • HTTP 200: dynamic content as application/json
  • HTTP 200: dynamic content as text/json
  • HTTP 200: dynamic content as application/json;IEEE754Compatible=false
  • HTTP 200: dynamic content as application/json;IEEE754Compatible=true
  • HTTP 200: dynamic content as application/xml
  • HTTP 200: dynamic content as text/plain
  • HTTP 200: dynamic content as application/octet-stream

Response: 200 (Success) dynamic content

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/ImportRows

Routing template:

/api/{version}/Invoice/ImportRows

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/LinkedProducts

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 400 (Bad Request) ICatalogCodeChangeResponse

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/MapByExternalReference

Routing template:

/api/{version}/Invoice/MapByExternalReference

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


DELETE: /api/v1/Invoice/MultipleDelete

Routing template:

/api/{version}/Invoice/MultipleDelete

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Produces:

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/MultipleDelete

Routing template:

/api/{version}/Invoice/MultipleDelete

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Produces:

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/MultipleExists

Routing template:

/api/{version}/Invoice/MultipleExists

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Produces:

Response: 200 (Success) ApiActionResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/MultipleGet

Routing template:

/api/{version}/Invoice/MultipleGet

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Produces:

Response: 200 (Success) ApiActionResult[]>

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/NewEmptyRow

Routing template:

/api/{version}/Invoice/NewEmptyRow

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/OnAnagraphicChanged

Routing template:

/api/{version}/Invoice/OnAnagraphicChanged

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) array of IERPRow

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/OnDiscountFormulaGroupingChanged

Routing template:

/api/{version}/Invoice/OnDiscountFormulaGroupingChanged

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) IERPRowGrouping

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/OnGetNewEmptyGroupRow

Parameters:

NameTypeRequiredInFeatures
isFooterGroup boolean NO Query

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) IInvoiceBOInvoiceBOInvoiceDTOInvoiceDTOSearchSingleCriteriaInvoiceDTOSearchConnectedCriteriaInvoicePrintableRequestInvoiceDTODtoWithIndexResponse

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/OnGroupByProductCategory

Routing template:

/api/{version}/Invoice/OnGroupByProductCategory

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/OnGroupByRowType

Routing template:

/api/{version}/Invoice/OnGroupByRowType

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/OnGroupTaxableAmountWithDiscountChanged

Parameters:

NameTypeRequiredInFeatures
taxableAmountWithDiscount number NO Query
  • Format: double
extensionPartIdx integer NO Query
  • Format: int32
decimals integer NO Query
  • Default: 2
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) IERPRowGrouping

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/PercentageGainChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/PriceListChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/PrintableFields

Parameters:

NameTypeRequiredInFeatures
includeFull boolean NO Query
  • Default: True
includeNesting boolean NO Query
  • Default: True

Produces:

Response: 400 (Bad Request) array of LiquidStruct

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/PrintHtml

Parameters:

NameTypeRequiredInFeatures
template string NO Query
addHeaderAndFooter boolean NO Query
  • Default: False
request InvoicePrintableRequest NO Query

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/ProcessOnChangeCurrency

Routing template:

/api/{version}/Invoice/ProcessOnChangeCurrency

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/ProcessOnChangeListId

Routing template:

/api/{version}/Invoice/ProcessOnChangeListId

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/QtaChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/RebuildGrouping

Routing template:

/api/{version}/Invoice/RebuildGrouping

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/RecalcDocumentTotal

Routing template:

/api/{version}/Invoice/RecalcDocumentTotal

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

Response: 200 (Success) ITotalDocumentResult

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/RequestedByChanged

Parameters:

NameTypeRequiredInFeatures
crossId integer NO Query
  • Format: int64
crossType BusinessObjectType NO Query
erpType BusinessObjectType NO Query

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/ResetExternalReferences

Routing template:

/api/{version}/Invoice/ResetExternalReferences

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/Search

Parameters:

NameTypeRequiredInFeatures
filter string NO Query
orderBy string NO Query
skip integer NO Query
  • Format: int64
top integer NO Query
  • Format: int64
select string NO Query

Produces:

Response: 200 (Success) InvoiceDTO

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/SearchIds

Parameters:

NameTypeRequiredInFeatures
filter string NO Query
orderBy string NO Query
skip integer NO Query
  • Format: int64
top integer NO Query
  • Format: int64

Produces:

  • HTTP 200: Int64 as application/json
  • HTTP 200: Int64 as text/json
  • HTTP 200: Int64 as application/json;IEEE754Compatible=false
  • HTTP 200: Int64 as application/json;IEEE754Compatible=true
  • HTTP 200: Int64 as application/xml
  • HTTP 200: Int64 as text/plain
  • HTTP 200: Int64 as application/octet-stream

Response: 200 (Success) Int64

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/SearchIdsByExternalReference

Parameters:

NameTypeRequiredInFeatures
externalReference string NO Query

Produces:

  • HTTP 200: Int64 as application/json
  • HTTP 200: Int64 as text/json
  • HTTP 200: Int64 as application/json;IEEE754Compatible=false
  • HTTP 200: Int64 as application/json;IEEE754Compatible=true
  • HTTP 200: Int64 as application/xml
  • HTTP 200: Int64 as text/plain
  • HTTP 200: Int64 as application/octet-stream

Response: 200 (Success) Int64

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/SendEmailWithPrintTemplate

Parameters:

NameTypeRequiredInFeatures
parentId integer NO Query
  • Format: int64
parentType BusinessObjectType NO Query
templateName string NO Query

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: integer as application/json
  • HTTP 400: integer as text/json
  • HTTP 400: integer as application/json;IEEE754Compatible=false
  • HTTP 400: integer as application/json;IEEE754Compatible=true
  • HTTP 400: integer as application/xml
  • HTTP 400: integer as text/plain
  • HTTP 400: integer as application/octet-stream
  • HTTP 400: integer as text/xml

Response: 400 (Bad Request) integer

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/TaxCodeChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


GET: /api/v1/Invoice/Templates

Routing template:

/api/{version}/Invoice/Templates

Produces:

  • HTTP 400: array of Template as application/json
  • HTTP 400: array of Template as text/json
  • HTTP 400: array of Template as application/json;IEEE754Compatible=false
  • HTTP 400: array of Template as application/json;IEEE754Compatible=true
  • HTTP 400: array of Template as application/xml
  • HTTP 400: array of Template as text/plain
  • HTTP 400: array of Template as application/octet-stream
  • HTTP 400: array of Template as text/xml

Response: 400 (Bad Request) array of Template

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/UnitMeasureChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/UnitPriceChanged

Parameters:

NameTypeRequiredInFeatures
rowIndex integer NO Query
  • Format: int32

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json

Produces:

  • HTTP 400: ERPRowDTO as application/json
  • HTTP 400: ERPRowDTO as text/json
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=false
  • HTTP 400: ERPRowDTO as application/json;IEEE754Compatible=true
  • HTTP 400: ERPRowDTO as application/xml
  • HTTP 400: ERPRowDTO as text/plain
  • HTTP 400: ERPRowDTO as application/octet-stream

Response: 400 (Bad Request) ERPRowDTO

Samples

Download Postman collection sample

Try this !


POST: /api/v1/Invoice/UnmapByExternalReference

Routing template:

/api/{version}/Invoice/UnmapByExternalReference

Consumes:

  • application/json
  • application/json;IEEE754Compatible=false
  • application/json;IEEE754Compatible=true
  • application/xml
  • text/plain
  • application/json-patch+json
  • text/json
  • application/*+json
  • text/xml
  • application/*+xml

Response:

200 (Success)

Samples

Download HTTP 200 response sample

Download Postman collection sample

Try this !



Definitions

The following definitions describe the structure of the datamodels involved in the various REST operations that can be performed for this controller.

Some definitions are subjected to polymorphic serialization, and therefore their complete polymorphic scheme is reported.

NameDescription
AccountAccessLevelAccount Access Level
ActiveModulesActive Modules
AddProductsByCodeRequestAdd Products By Code Request
AddressAccuracyAddress Accuracy
BoDeleteModeBo Delete Mode
BooleanBoolean
BusinessObjectInvokerBusiness Object Invoker
BusinessObjectLoadedTypeBusiness Object Loaded Type
BusinessObjectTypeBusiness Object Type
CatalogPriceListUsageCatalog Price List Usage
CatalogTypeCatalog Type
CloneRowsGroupsRequestClone Rows Groups Request
CRMTablesCRM Tables
DefaultDocumentCategoriesDefault Document Categories
DeleteItemResultDelete Item Result
ErpGroupingTypeErp Grouping Type
ERPRowDTOERP Row
ERPRowGroupingDTOERP Row Grouping
ERPRowGroupingExtensionDTOERP Row Grouping Extension
ERPRowTypeERP Row Type
ExistsItemResultExists Item Result
ExternalReferenceDTOExternal Reference
FileCrossAttributesFile Cross Attributes
FileCrossTypesFile Cross Types
FilePreviewFile Preview
FreeFieldsBOItemDTOFree Fields BO Item
FreeFieldsBOItemLocalizingDTOFree Fields BO Item Localizing
FreeFieldsBOTreeItemDTOFree Fields BO Tree Item
FreeFieldsTypeFree Fields Type
GetIdsMappedByExternalReferenceRequestGet Ids Mapped By External Reference Request
GetItemResult`1[]Get Item Result`1
GetItemsMappedByExternalReferenceRequestGet Items Mapped By External Reference Request
GravityGravity
IBundleBundle
ICatalogAlternativeUnitBOCatalog Alternative Unit BO
ICatalogBOCatalog BO
ICatalogCodeChangeResponseCatalog Code Change Response
ICatalogProductPriceBOCatalog Product Price BO
ICrmBusinessObjectsCrm Business Objects
IDirectionDirection
IDocumentReferenceDocument Reference
IErpExportRowsExcelInfoErp Export Rows Excel Info
IERPRowERP Row
IERPRowExtensionERP Row Extension
IERPRowGroupingERP Row Grouping
IERPRowGroupingExtensionERP Row Grouping Extension
IExternalReferenceExternal Reference
IFileCrossFile Cross
IFreeFieldItemLocalizingFree Field Item Localizing
IFreeFieldsItemFree Fields Item
IGeoGeo
ILocalizingLocalizing
ILocationLocation
ImportRowsRequestImport Rows Request
InvoiceDTOInvoice
InvoicePrintableRequestInvoice Printable Request
InvoiceShipInvoice Ship
InvoiceTypeInvoice Type
IPackageResponsePackage Response
IPrintTemplatePrint Template
IQueryFragmentQuery Fragment
IQueryMutatorsQuery Mutators
IQueryPagingQuery Paging
Simple Catalog Link
IStorageBOStorage BO
ITaxSummaryTax Summary
ITotalDocumentResultTotal Document Result
ITreeItemTree Item
IUserConfigUser Config
LinkItemLink Item
LiquidStructLiquid Struct
LocalizeTypeLocalize Type
LocalizingDTOLocalizing
LoggedStatusLogged Status
LoginResultLogin Result
MapExternalReferenceRequestMap External Reference Request
MessageCodeMessage Code
MultipleDeleteModelMultiple Delete Model
MultipleExistsModelMultiple Exists Model
MultipleGetModelMultiple Get Model
NewInvoiceTypeNew Invoice Type
PrintHtmlRequestPrint Html Request
PrintTemplateDTOPrint Template
QueryFragmentKindQuery Fragment Kind
RecentRouteTypeRecent Route Type
RowContentTypeRow Content Type
RowTypeGiftVatModeRow Type Gift Vat Mode
SampleGenerationStrategySample Generation Strategy
ShippedByShipped By
StandardSchemaVersionStandard Schema Version
StoragePermissionStorage Permission
SubAccountTypeSub Account Type
TemplateTemplate
TypeOfServiceType Of Service

Errors

The controller actions will generate errors for the following cases:

  • Status 400: Badly formed queries e.g. filter parameters that are not correctly encoded
  • Status 401: Authentication failures e.g. unrecognised keys
  • Status 403: Forbidden. The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource, or may need an account of some sort.
  • Status 404: Not found. Unknown resources e.g. data which is not public
  • Status 409: Conflict. Indicates that the request could not be processed because of conflict in the current state of the resource, such as an edit conflict between multiple simultaneous updates.
  • Status 500: Server errors e.g. where something has gone

Errors are formatted in JSON


Versioning

It is possible to select the web services version using the {version} token

/api/{version}/{controller}/{details}/{action}/{id}?{querystring}

The token {version} can contain both "exact" values ​​and the special "latest" alias, which identifies the most recent version among those existing in the system.

In general, the use of the special "latest" alias is strongly recommended.

If you want to be particularly "conservative" and adherent to a specific version, specify the name explicitly (eg "v1").


Routing

The system use the following routing syntax, consisting of a sequence of "path-tokens" (the request parameters):

{schema}://{host}/api/{version}/{controller}/{details}/{action}/{id}?{querystring}

The tokens identify respectively:

  • {host} -> HOST of the URL
  • {version} -> version of web services
  • {controller} -> name of the service (controller) you want to invoke
  • {details} -> optional detail level of the returned JSON (if applicable)
  • {action} -> optional action (method) invoked in the controller
  • {id} -> single optional primary key argument (parameter) of the method in the controller, if it so requires
  • {querystring} -> additional parameters and possible "modifiers" of the processing and serialization process


OData

The REST APIs are internally based on the Microsoft WebAPI technology, and are largely compliant with the REST specifications, OData v3 and OData v4.

Functions and details related to OData

For more details and specifications regarding the general criteria to adopt when using the OData functions, refer to the basic guide on the topic


Options

The REST API functions implemented in CRM in Cloud include a vast set of options that allow you to adapt the structure and shape of JSON packages according to your needs and preferences.

Unlike the parameters, which are specified in the URL route (through tokens and querystring), the options must instead be passed through the HTTP headers of the request.

As from RFC6648 all the options passed through HTTP headers have in their name the custom prefix "Crm-".

If a certain option is not specified, the system will use the default value specific to the {version} indicated in the URL.

For a complete discussion of options and polymorphic serialization, refer to the general guide on the subject


Swagger

Below you can download the JSON descriptor in Swagger/OpenAPI format

Download Swagger descriptor