GetOrCreateObject Method
Overloads
| GetOrCreateObject(GenericObjectProperties) |
Get or create a generic object at app level with a specific Id and Type. Id and Type are specified in the GenericObjectProperties passed in. All other fields in this parameter serve as default properties. If the object does not exist with that Id, it is created and initialized from the default properties. If the object already exists, it is not changed. The properties passed in are not used. The call will fail if the Id is already used for another purpose, such as for an object of a different Type. |
GetOrCreateObject(GenericObjectProperties)
Get or create a generic object at app level with a specific Id and Type.
Id and Type are specified in the GenericObjectProperties passed in.
All other fields in this parameter serve as default properties.
If the object does not exist with that Id, it is created and initialized from the default properties.
If the object already exists, it is not changed. The properties passed in are not used.
The call will fail if the Id is already used for another purpose, such as for an object of a different Type.
Declaration
GetOrCreateObjectResult GetOrCreateObject([QixName("qProp")] GenericObjectProperties prop)
Parameters
| Type | Name | Description |
|---|---|---|
| GenericObjectProperties | prop |
GenericObjectProperties with at least Info : { "qId": "<identifier of the new generic object>", "qType": "<type of the new generic object>" } |
Returns
| Type | Description |
|---|---|
| GetOrCreateObjectResult |