put https://yourorgsite.com/api/LegacyVatRule/
Updates an instance of LegacyVatRule by id
Log in to see full request history
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
Loading…
Response
200The request was successful.
Updates an instance of LegacyVatRule by id
time | status | user agent | |
---|---|---|---|
Retrieving recent requests… |
200The request was successful.
xxxxxxxxxx
15const options = {
method: 'PUT',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Commerce.DataContracts.LegacyVatRuleData, Asi.Contracts',
RegistrantCompanyApplication: 'NotApplicable',
RegistrantCountryApplication: 'NotApplicable',
RegistrantVatRegistrationApplication: 'NotApplicable'
})
};
fetch('https://yourorgsite.com/api/LegacyVatRule/RuleId', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
Try It!
to start a request and see the response here!