aftonApi Call - Update Resource

Important! All aftonApi POST, full record modification calls, require all intended populated fields to be present. If you supply blank or missing (null) fields, this call will honor your wishes on all 'optional' fields and blank them out.

As a standard practice, the corresponding GET call will return all of the existing values for you so you can be sure to populate them in cases where you want those values to remain in-tact. So in other words, before making this call, call the GET to make sure you can include values that already exist and you want preserved on the POST (modify) call.

Overview
Method POST
Url /resourcetype/{resourceCode}
Response ResourceEPQUpdate
Path Parameters
{resourceCode} The resource code for the Resource you wish to update.
Request Body Info
Format JSON
DTO ResourceEPUUpdate
Request Body Properties
* Note: all fields required or else they will be nulled out as a result of this call. This is NOT a 'PATCH' style call. It is full replacement.
Property Name Data Type Req/Opt Description
name String Required The name of the Resource. (Ex: The Abraham Lincoln Conference Room, Stevens Forklift Truck, Hays Advanced MRI Scanner)
peckingOrder int Required The pecking order of the resource when used for the resource assignment strategy 'pecking order'.