REST API - getOrgModelEntity
The tables summarize the REST API - getOrgModelEntity.
Request
| Format |
GET <baseurl>/orgmodel/entity/<version> |
| Path parameters | version: The major version of the organization model for which details are to be returned. Can be obtained using listOrgModelVersions. |
| Query parameters |
guid: One or more GUIDs of organization model entities whose details are to be return. Can be obtained using getOrgModelRoots. |
Response
| JSON | Returns a JSON representation of the content of the getOrgModelEntityResponse element. |
| XML | Returns the content of the getOrgModelEntityResponse element (from the OrgModelService schema). |
Example
| Request |
GET <baseurl>/orgmodel/entity/3?guid=_mHwlMMpUEd64gM7QE8RwxA&guid=_xa5ewOtZEd-mNLRdDlu5kA |
| Response |
{
"xml-fragment":
{
"@model-version": "3",
"group":
[
{
"@guid": "_mHwlMMpUEd64gM7QE8RwxA",
"@name": "Consultants",
"@label": "Consultants",
"@resource-count": "2",
"allocation-method":
{
"@method": "ANY"
},
"req-capability":
[
{
"@guid": "_0K47AMpPEd64gM7QE8RwxA",
"@name": "ConsultingRate",
"@label": "Consulting Rate"
},
{
"@guid": "_LlK0IMpQEd64gM7QE8RwxA",
"@name": "LanguageSpoken",
"@label": "Language Spoken",
"qualifier-value":
[
"French",
"Spanish",
"English"
]
},
{
"@guid": "_dTR0oMpQEd64gM7QE8RwxA",
"@name": "MarketingOptOut",
"@label": "Opt Out Of Junk Mail",
"qualifier-value": false
},
{
"@guid": "_iGzOAMpQEd64gM7QE8RwxA",
"@name": "OrientationCompleted",
"@label": "Orientation Completed"
},
{
"@guid": "_xI4ikMpPEd64gM7QE8RwxA",
"@name": "CanTravel",
"@label": "Employee Can Travel"
}
]
},
{
"@guid": "_xa5ewOtZEd-mNLRdDlu5kA",
"@name": "International",
"@label": "International",
"@resource-count": "0",
"allocation-method":
{
"@method": "ANY"
},
"req-capability":
{
"@guid": "_LlK0IMpQEd64gM7QE8RwxA",
"@name": "LanguageSpoken",
"@label": "Language Spoken",
"qualifier-value":
[
"Japanese",
"English"
]
},
"privilege-holding":
{
"@guid": "_Sd1HICvOEd-bZpbCfeHC6A",
"@name": "enumset_priv",
"@label": "Type - Enum Set",
"qualifier-value":
[
"enumset_2",
"enumset_4"
]
}
}
]
}
}
|
Copyright © 2022. TIBCO Software Inc. All Rights Reserved.
