post https://yourorgsite.com/api/RateCard
Creates an instance of RateCard
Log in to see full request history
Responses
200The request was successful.
201The resource was successfully created.
202The resource was asynchronously created.
Creates an instance of RateCard
200The request was successful.
201The resource was successfully created.
202The resource was asynchronously created.
xxxxxxxxxx
17const options = {
method: 'POST',
headers: {accept: 'application/json', 'content-type': 'application/json'},
body: JSON.stringify({
$type: 'Asi.Soa.Media.DataContracts.RateCardData, Asi.Contracts',
MediaAdType: {$type: 'Asi.Soa.Media.DataContracts.MediaAdTypeRefData, Asi.Contracts'},
MediaType: {$type: 'Asi.Soa.Media.DataContracts.MediaTypeRefData, Asi.Contracts'},
RateCardDetails: {
$type: 'Asi.Soa.Media.DataContracts.RateCardDetailDataCollection, Asi.Contracts'
}
})
};
fetch('https://yourorgsite.com/api/RateCard', 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!