Hi, i have created web services for Sales Cycle Stages-5125, Opportunity Entries-5130, Sales Cycle Stages-5121 entities and published them but not sure how to map or link to the opportunity header.
can anyone help with creating a line item through API under an opportunity.
which table should be enabled as a webservice or any syntax for request body to insert the line item.
REQ -
REQ-
{
"Description": "Test test",
"Contact_No": "CT000004",
"Salesperson_Code": "JO",
"Priority": "Normal",
"Sales_Cycle_Code": "NEW",
"SalesCycleStage": [
{
"Entry_No": 1,
"Sales_Cycle_Stage": 0,
"Sales_Cycle_Stage_Description": "",
"Days_Open": 0,
"Estimated_Value_LCY": 5500,
"Calcd_Current_Value_LCY": 5500,
"Completed_Percent": 100,
"Chances_of_Success_Percent": 100,
"Probability_Percent": 100,
"Close_Opportunity_Code": "CONSULT_W"
}
]
}
