Hero Banner

Feedback & Support Discussions

Reply
Visitor 1

Handle Microsoft Customer Agreement via REST Api

Hello,

we ran into troubles when trying to implement the new Microsoft Customer Agreement. In both, sandbox and productive environment there is no MicrosoftCustomerAgreement Metadata returned for the following request:

 

GET /v1/agreements HTTP/1.1
Accept: application/json
Authorization: Bearer <token was here>
Instead it returns this:
HTTP/1.1 200 OK
Content-Length: 259
Content-Type: application/json; charset=utf-8
Date: Tue, 08 Oct 2019 09:40:05 GMT
with body:
{
    "totalCount": 1,
    "items": [
        {
            "templateId": "998b88de-aa99-4388-a42c-1b3517d49490",
            "agreementType": "MicrosoftCloudAgreement",
            "agreementLink": "https://docs.microsoft.com/en-us/partner-center/agreements",
            "versionRank": 0
        }
    ],
    "attributes": {
        "objectType": "Collection"
    }
}
I'm thankful for any hints on this issue.
 
Regards,
Michael Mohr