I'm looking to create an Add In Button in NXT that updates Assigned Fundraiser/Solicitor and change the Solicitor type to Former and add an end date to to the specific assignment.
I found under the API reference that there is a PATCH Fundraiser Assignment (Edit) so I tried to get see if a could do a HTTP Request which doesn't seem to be working.
I also did TRY IT in API Reference area. I put in 126213 in for the assignment ID. Then in the report body I put
{"type": "Former Class Agent"}
I get “Unable to complete the request”
Does anyone know if this will work?
Here's the output of the assignment I'm trying to update.
[
{
"id": "126213",
"amount": {
"value": 0
},
"constituent_id": "117334",
"fundraiser_id": "116541",
"start": "2018-07-01T00:00:00",
"type": "Class Agent"
}
]