Enrich the invoice with necessary fields for creation

post

/service/v1/enrichment

This endpoint is used to enrich the invoice with necessary fields for creation.

Request

Supported Media Types
Header Parameters
Body ()
Request Body with ML attributes picked from model.
Root Schema : ScfMLTagsModel
Type: object
ScfMLTags Model
Show Source
Nested Schema : enrichedTags
Type: array
Show Source
Nested Schema : keyvals
Type: array
Show Source
Nested Schema : TagValueModel
Type: object
Payload from ML Service
Show Source
Back to Top

Response

Supported Media Types

201 Response

Enriched invoice Model with required fields
Body ()
Root Schema : ResponseDtoWrapper
Type: object
Collection of ResponseDto and ResponseResourceSupport
Show Source
Nested Schema : ResponseResourceSupport
Type: object
Response DTO which extends RepresentationModel of Spring HATEOAS
Nested Schema : ResponseDto
Type: object
ResponseDto stores the response status and code.
Show Source
Nested Schema : codes
Type: array
Show Source
Nested Schema : ResponseCode
Type: object
ResponseCode stores the response details.
Show Source
Nested Schema : args
Type: array
Show Source
Nested Schema : items
Type: object

400 Response

Bad Request

401 Response

Request does not have sufficient credentials.

403 Response

Request is not authorized.

405 Response

Invalid input

500 Response

Internal error
Back to Top