on 09-04-2018 8:50 AM
Hi Expert ,
I want to update one udf value of BP Specific SpecialPrices.I have attached the document of details to retrieve data .As per the table structure I have one confusion
what is the primary key field of BP Specific SpecialPrices
I am getting below error when i try to patch the data
Request Type : Patch
Request Url : https://10.0.0.181:50000/b1s/v1/SpecialPrices('20003')
Request Body :
{
"U_SyncFlag": "T" specialprice.txt
}
Error Details :
{ "error": { "code": -2028, "message": { "lang": "en-us", "value": "Entity with value('20003') does not exist" } } }
Thanks
Surajit
Hi Surojit,
You need to pass CardCode and ItemCode for the special price you want to update, since this table has the composite primary key.
Example:
PATCH https://localhost:50000/b1s/v1/SpecialPrices(CardCode='c001',ItemCode='i001')
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
10 | |
5 | |
5 | |
3 | |
3 | |
3 | |
3 | |
2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.