CRM SKY API Endpoint: Update a registrant attended status

I have been trying to test this endpoint, Update a registrant attended status, using the SKY API “Try It” function this morning. I'm able to use other endpoints successfully - like Get Event and Get Event Registrant. I also have been able to update a registrant using the “Update an Event Registrant”. However, when I hit Update a registrant attended status - I get this error:
HTTP/1.1 415 Unsupported Media Type

cache-control: no-store, must-revalidate, no-cache
content-length: 175
content-type: application/problem+json; charset=utf-8

{
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.13",
"title": "Unsupported Media Type",
"status": 415,
"traceId": "00-247140deb452485184a27ebc06c65a9b-c1691adb11f2805a-01"
}

Has anyone been able to get this endpoint to work?

Comments

  • @Carrie Davis
    Sorry you are having an issue with this. You should be able to add a `Content-Type` header to the request of `application/json` to avoid this error. We will look to make a change on our side so that this is no longer necessary. Sorry for any inconvenience.

    19436993e306b0989a097f04ca964e45-huge-im
  • @Daniel Leonard
    Thank you! That worked, but then I got another error:
    HTTP/1.1 400 Bad Request

    cache-control: no-store, must-revalidate, no-cache
    content-length: 291
    content-type: application/problem+json; charset=utf-8

    {
    "type": "urn:blackbaud:model-validation-error",
    "title": "One or more validation errors occurred.",
    "status": 400,
    "detail": "A non-empty request body is required.",
    "instance": "urn:blackbaud:inf-apitr:",
    "values": {
    "": null
    },
    "trace_id": "4bd81478c53846dc8c47326e1845d33f",
    "span_id": "b18c420d143569af"
    }

    So, I just entered “{}” Into the request body and then the endpoint returned 200 OK.

    Thanks for your help!

  • @Carrie Davis
    Yes, you will need to pass a JSON object in the body with the properties that are being PATCH'd. Glad that helped!