Adds a new supplier commodity code

post

/service/v1/scommodity

This endpoint is used to add a new supplier Commodity Code.

Request

Supported Media Types
Header Parameters
Body ()
Request Body that contains data required for creating a new scommoditycode
Root Schema : CreateComServiceCollection
Type: object
Show Source
Nested Schema : ObscfcmTmSupplierCommodityMasterDTO
Type: object
Match All
Show Source
Nested Schema : GenericDto
Match All
Show Source
Nested Schema : GenericDto-allOf[0]
Type: object
Discriminator: resource_type
Nested Schema : ObscfcmTmSupplierCommodityMasterDTO-allOf[1]
Type: object
Show Source
Nested Schema : ObscfcmTmSupplierCommodityDetailsDTO
Type: array
Show Source
Nested Schema : ObscfcmTmSupplierCommodityDetailsDTO
Type: object
Show Source
Nested Schema : ObscfcmTmCommodityUnitsDTO
Type: array
Show Source
Nested Schema : ObscfcmTmCommodityUnitsDTO
Type: object
Show Source
Back to Top

Response

Supported Media Types

201 Response

Returns message of succes or failure
Headers
Body ()
Root Schema : CreateComCode
Type: object
Show Source
Nested Schema : commodityCodeResponseDTO
Type: array
com code
Show Source
Nested Schema : errorList
Type: array
Error List
Show Source
Nested Schema : commodityCodeResponseDTOColl
Type: object
Show Source
Nested Schema : ErrorsDto
Type: object
Show Source

400 Response

Malformed syntax.

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