Hi,
We explain it in details in our documentation about update requests.
It would be something like:
BusinessPartner.requestBuilder().update(businessPartner);
I can not able to update when my entity has 2 primary keys. I got error 417 and the log report that the url is not completed.
PATCH api/Test(id='20200529' HTTP/1.1" 400 64 58
const sdTest = sdkTests.builder() .city(dataCity) .country(dataCountry) // PrimaryKey .id(dataID) // PrimaryKey .postcode(dataPostcode) .build(); const responseOne = sdkTests.requestBuilder().update(sdTest) .setCustomServicePath('api/') .execute({ destinationName: 'DEST' }) .catch(err => { console.log('Error One:', err.message); console.log('Cause:', err.rootCause.message); console.log('Root cause:', err.rootCause.message); });
Any help
Best
Add a comment