GET v1/vendors/{id}/cost-list/items/{itemId}

Gets cost list item associated with the specified vendor and item id

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

Provide vendor id to get cost for

integer

Required

itemId

Provide item id to get cost for

integer

Required

Body Parameters

None.

Response Information

Resource Description

VendorCostList
NameDescriptionTypeAdditional information
Id

Item Id

integer

None.

Name

Item Name

string

None.

ItemType

Item Type

IdNamePair

None.

Cost

Item Cost

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "name": "sample string 2",
  "itemType": {
    "id": 1,
    "name": "sample string 2"
  },
  "cost": 3.0
}

application/xml, text/xml

Sample:
<VendorCostList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BAPI.Models.CRM">
  <Cost>3</Cost>
  <Id>1</Id>
  <ItemType xmlns:d2p1="http://schemas.datacontract.org/2004/07/BBM.BLL.Core">
    <d2p1:_x003C_Id_x003E_k__BackingField>1</d2p1:_x003C_Id_x003E_k__BackingField>
    <d2p1:_x003C_Name_x003E_k__BackingField>sample string 2</d2p1:_x003C_Name_x003E_k__BackingField>
  </ItemType>
  <Name>sample string 2</Name>
</VendorCostList>