Abstract class for REST webservices
Get domain ID for given name.
name | type | description |
---|---|---|
domainName | path | Name of domain |
media type | data type | description |
---|---|---|
application/json | HdcBasicObjectIdOnlyTO (JSON) | JSON Response with list of fields
Example of response:
{"objectId":"233402"}
|
GET /api/tdxm/tobis/domainid/{domainName}/json
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{ }
Get class ID for given domain id and class name.
name | type | description | constraints |
---|---|---|---|
className | path | Name of class | |
domainId | path | ID of domain | long |
media type | data type | description |
---|---|---|
application/json | object (JSON) | JSON Response with list of fields
Example of response:
{"objectId":"19"}
|
GET /api/tdxm/tobis/classid/{domainId}/{className}/json
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
...
Get field ID for given class id and field name.
name | type | description | constraints |
---|---|---|---|
classId | path | ID of class | long |
fieldName | path | Name of field |
media type | data type | description |
---|---|---|
application/json | HdcBasicObjectIdOnlyTO (JSON) | JSON Response with list of fields
Example of response:
{"objectId":"93"}
|
GET /api/tdxm/tobis/fieldid/{classId}/{fieldName}/json
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{ }
Get HDID of object in HDC DB for given domain id, class id, field id and object GUID.
name | type | description | constraints |
---|---|---|---|
classId | path | ID of class | long |
domainId | path | ID of domain | long |
fieldId | path | ID of field | long |
objectGuid | path | GUID of object in external domain |
media type | data type | description |
---|---|---|
application/json | HdcBasicTO (JSON) | JSON Response with list of fields
Example of response:
{"objectId":"243992"}
|
GET /api/tdxm/tobis/hdid/{domainId}/{classId}/{fieldId}/{objectGuid}/json
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{ }
Get HDID of object in HDC DB for given domain name, class name, field name and object GUID.
name | type | description |
---|---|---|
className | path | Name of class |
domainName | path | Name of domain |
fieldName | path | Name of field |
objectGuid | path | GUID of object in external domain |
media type | data type | description |
---|---|---|
application/json | HdcBasicTO (JSON) | JSON Response with list of fields
Example of response:
{"objectId":"243992"}
|
GET /api/tdxm/tobis/hdidbynames/{domainName}/{className}/{fieldName}/{objectGuid}/json
Content-Type: */*
Accept: application/json
...
HTTP/1.1 200 OK
Content-Type: application/json
{ }