| Property Name |
Data Type |
Req/Opt |
Description |
| resourceTypeCode |
String |
Required |
The resource type of the resource you are creating. |
| resourceCode |
String |
Optional |
If you are managing your own resource codes, supply the resource code you wish to use when creating the new Resource. If you leave this value null or blank, aftonApi will generate a random resource code for you. You may modify this code later on if you wish with no adverse side effects. |
| name |
String |
Required |
The name of the Resource. (Ex: Room 201, Pickup Truck 003, MRI Scanner A) |
| peckingOrder |
int |
Optional |
If left null, will default to 0.
The pecking order you wish to assign this resource during resource availability queries that use the 'pecking order' method of assignment/retrieval.
Higher values assign this resource 'over' others with lesser values when pulled from the same pool (ex: by ResourceType).
|