Get
To retrieve the details of a Workspace, use GET. You can retrieve the Workspace’s list of modified objects for version zero, or a list of modified objects for a specific version of a Workspace. These are the rules applied to versions of a Workspace when using GET.
- If you do not specify a version, the response will list all modified objects from all versions listed by object type, but each change is not attributed to the Workspace in which it was modified. Imagine, MAIN with hundreds of versions, the response, giving information on all versions and their modified objects would be too lengthy.
- If you do specify a version, only the information from that version is returned.
- If you specify version zero for any Workspace, you will not see any modified objects because this is the way Workspaces operate. Version zero does not allow modification of objects. There is no good reason to use version zero in your GET request as no useful information will be returned.
-
In the GET Request API, if you specify version in the request it will display only modified objects.
In the GET Request API, if you don't specify the version, it will display details of workspace latest version and in the below it will display modified objects of that workspace.
- URI: Single Workspace: http://ServerName:port/siebel/v1.0/wsoperation/{wsname}/{version}
- HTTP Method: GET
- Content-Type: application/json
- Authorization: Basic
- Request Body: None
Response details
- HTTP Code: 200
- Content-Type: application/json
- Response Body:
If version is not specified in the request:
Response Body:
{ "Name": "int_demo", "Status": "Checkpointed", "Id": "88-1YL9F0", "Latest Version": "1", "Parent Workspace Version": "1", "Parent Workspace Name": "MAIN", "Comments": "demo", "Modified Objects": { "Business Component": { "Contact": "Update" }, "Screen": { "ABO Bulk Request Screen": "Update" } } }If version is specified in the request:
Response Body:
{ "Modified Objects": { "Business Component": { "Contact": "Update" }, "Screen": { "ABO Bulk Request Screen": "Update" } } }