Get all valid supplier commodity code
get
/service/v1/scommodity
This endpoints will be used to Get all valid supplier commodity code maintenance records.
Request
Supported Media Types
- application/json
- application/xml
Query Parameters
Header Parameters
-
appId: string
-
branchCode: string
branchCode
-
userId: string
userId
Response
Supported Media Types
- application/json
- application/xml
201 Response
Returns message of succes or failure
Nested Schema : GenericDto
Match All
Show Source
-
object
GenericDto-allOf[0]
Discriminator:
resource_type
Nested Schema : GenericDto-allOf[0]
Type:
object
Discriminator:
resource_type
Nested Schema : ObscfcmTmSupplierCommodityMasterDTO-allOf[1]
Type:
Show Source
object
-
action(optional):
string
-
autoAuth(optional):
string
-
checkerRemarks(optional):
string
-
datasegmentCode(optional):
string
-
id(optional):
string
-
makerRemarks(optional):
string
-
modificationStatus(optional):
string
-
ObscfcmTmSupplierCommodityDetailsDTO(optional):
array ObscfcmTmSupplierCommodityDetailsDTO
-
supplierId(optional):
string
-
supplierName(optional):
string
Nested Schema : ObscfcmTmSupplierCommodityDetailsDTO
Type:
Show Source
object
-
commodityCode(optional):
string
Commodity Code
-
commodityName(optional):
string
Commodity Name
-
countryOfOrigin(optional):
string
Country of origin
-
description(optional):
string
Description
-
discount(optional):
number
Discount
-
id(optional):
string
ID
-
ObscfcmTmCommodityUnitsDTO(optional):
array ObscfcmTmCommodityUnitsDTO
-
supplierCommodityMasterId(optional):
string
Supplier Commodity Master Id
-
tax(optional):
number
Tax
-
year(optional):
number
Year
Nested Schema : ObscfcmTmCommodityUnitsDTO
Type:
Show Source
object
-
id(optional):
string
Id
-
maximumUnit(optional):
number
Maximum Unit
-
minimumUnit(optional):
number
Minimum Unit
-
supplierCommodityDetailsId(optional):
string
Supplier Commodity Details Id
-
unit(optional):
string
Unit
-
unitPrice(optional):
number
Unit Price
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