Supported Formats
json, xml
Errors
Code |
Description |
401 |
Unauthorized - ensure token is being passed with each service call. |
404 |
Unsupported operation |
500 |
Unspecified error on server. |
Examples
[{"id":1,"name":"Rectangle","file_path":"","sort_order":1,"created_at":"2022-05-16T15:14:08.649Z","updated_at":"2022-05-16T15:14:08.649Z","service_name":"rectangle","surface_count":4},{"id":3,"name":"H-shape","file_path":"","sort_order":3,"created_at":"2022-05-16T15:14:08.649Z","updated_at":"2022-05-16T15:14:08.649Z","service_name":"h-shape","surface_count":12},{"id":4,"name":"L-shape","file_path":"","sort_order":4,"created_at":"2022-05-16T15:14:08.649Z","updated_at":"2022-05-16T15:14:08.649Z","service_name":"l-shape","surface_count":6},{"id":5,"name":"T-shape","file_path":"","sort_order":5,"created_at":"2022-05-16T15:14:08.649Z","updated_at":"2022-05-16T15:14:08.649Z","service_name":"t-shape","surface_count":8},{"id":6,"name":"U-shape","file_path":"","sort_order":6,"created_at":"2022-05-16T15:14:08.649Z","updated_at":"2022-05-16T15:14:08.649Z","service_name":"u-shape","surface_count":8}]
<?xml version="1.0" encoding="UTF-8"?>
<shapes type="array">
<shape>
<id type="integer">1</id>
<name>Rectangle</name>
<file-path></file-path>
<sort-order type="integer">1</sort-order>
<created-at type="dateTime">2022-05-16T15:14:08Z</created-at>
<updated-at type="dateTime">2022-05-16T15:14:08Z</updated-at>
<service-name>rectangle</service-name>
<surface-count type="integer">4</surface-count>
</shape>
<shape>
<id type="integer">3</id>
<name>H-shape</name>
<file-path></file-path>
<sort-order type="integer">3</sort-order>
<created-at type="dateTime">2022-05-16T15:14:08Z</created-at>
<updated-at type="dateTime">2022-05-16T15:14:08Z</updated-at>
<service-name>h-shape</service-name>
<surface-count type="integer">12</surface-count>
</shape>
<shape>
<id type="integer">4</id>
<name>L-shape</name>
<file-path></file-path>
<sort-order type="integer">4</sort-order>
<created-at type="dateTime">2022-05-16T15:14:08Z</created-at>
<updated-at type="dateTime">2022-05-16T15:14:08Z</updated-at>
<service-name>l-shape</service-name>
<surface-count type="integer">6</surface-count>
</shape>
<shape>
<id type="integer">5</id>
<name>T-shape</name>
<file-path></file-path>
<sort-order type="integer">5</sort-order>
<created-at type="dateTime">2022-05-16T15:14:08Z</created-at>
<updated-at type="dateTime">2022-05-16T15:14:08Z</updated-at>
<service-name>t-shape</service-name>
<surface-count type="integer">8</surface-count>
</shape>
<shape>
<id type="integer">6</id>
<name>U-shape</name>
<file-path></file-path>
<sort-order type="integer">6</sort-order>
<created-at type="dateTime">2022-05-16T15:14:08Z</created-at>
<updated-at type="dateTime">2022-05-16T15:14:08Z</updated-at>
<service-name>u-shape</service-name>
<surface-count type="integer">8</surface-count>
</shape>
</shapes>