Get sites
You can get the site information through an API call.
Note:
Only one site per GET call is supported.Step 1: Run the cURL call
Run the following cURL call to get site information.
curl -H "Authorization: Bearer %token%" -X GET https://hs-umt-scim.oracleindustry.com/scim/<trialname>/1.0/users/<sitemnemonic>
Sample request and response:
GET /scim/TESTTRIAL/1.0/groups HOST: <hostname> Accept: application/json Authorization: Bearer eyJhGciO1J5...-MBqc { "schemas":[ "urn:ietf:params:scim:schemas:core:2.0:Group", "urn:umt:site:extension:schema" ], "displayName": "SampleSiteName", "urn:umt:extension:schema:site": { "SiteMnemonic":"SampleSiteMnemonic1", "locale": "English (United States)", "phoneNumbers": [ { "value": "+1 555-555-5555", "type": "primary" }, { "value": "+1 555-555-5555", "type": "alternate" }, { "value": "+1 555-555-4444", "type": "fax" } ], "email":"sampleuser@example.com", "addresses": { "streetAddress": "2300 Oracle Way", "formatted": "Suite 101", "locality": "Austin", "region": "Texas", "postalCode": "78741", "country": "United States" }, "DateFormat": "Month / Day / Year", "SignatureOrder": "L,F", "timezone": "(UTC+01:00) Casablanca" } }