POST https://login.windows.net/{TenantId}/oauth2/token HTTP/1.1
Content-Type: application/x-www-form-urlencoded
Host: login.windows.net
resource=https://{D365FO-URL}&client_id={ClientId}&client_secret={ClientSecret}&grant_type=client_credentials
POST https://{aos}.cloudax.dynamics.com/api/Services/VKOServiceGroup/VKOCalcService/calc HTTP/1.1
Content-Type: application/json
Accept: application/json
Accept-Charset: UTF-8
Authorization: Bearer {AuthToken}
Host: {aos}.cloudax.dynamics.com
{
"_calcContract":
{
"arg1": 2,
"arg2": 2,
"operation": 0,
"list": [{
"a": 0,
},
{
"a": 1,
}],
"subCalc": {
"a": 5
}
}
}
POST https://{aos}.cloudax.dynamics.com/soap/services/VKOServiceGroup HTTP/1.1
Content-Type: text/xml
SOAPAction: http://tempuri.org/Calc/calc
Authorization: Bearer {AuthToken}
Host: {aos}.cloudax.dynamics.com
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dat="http://schemas.microsoft.com/dynamics/2013/01/datacontracts" xmlns:tem="http://tempuri.org" xmlns:dyn="http://schemas.datacontract.org/2004/07/Dynamics.AX.Application">
<soapenv:Header>
</soapenv:Header>
<soapenv:Body>
<tem:calc>
<tem:_calcContract>
<dyn:List>
<dyn:SubCalc>
<dyn:a>1</dyn:a>
</dyn:SubCalc>
</dyn:List>
<dyn:arg1>2</dyn:arg1>
<dyn:arg2>2</dyn:arg2>
<dyn:operation>0</dyn:operation>
<dyn:subCalc>
<dyn:a>1</dyn:a>
</dyn:subCalc>
</tem:_calcContract>
</tem:calc>
</soapenv:Body>
</soapenv:Envelope>
SOAPAction: http://tempuri.org/{External Name property from service}/calcIf you found value in what I share, I've set up a Buy Me a Coffee page as a way to show your support.
Buy Me a CoffeeNo comments. Be the first one to comment on this post.
DaxOnline.org is free platform that allows you to quickly store and reuse snippets, notes, articles related to Dynamics 365 FO.
Authors are allowed to set their own "buy me a coffee" link.
Join us.