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.
| Method | POST |
| Url | /resourcetype/{resourceCode} |
| Response | ResourceEPQUpdate |
| {resourceCode} | The resource code for the Resource you wish to update. |
| Format | JSON |
| DTO | ResourceEPUUpdate |
| 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'. |