POST api/v1/equipments
Request Information
URI Parameters
None.
Body Parameters
SearchBodyName | Description | Type | Additional information |
---|---|---|---|
fulltext | string |
None. |
|
filter | string |
None. |
|
password | string |
None. |
|
fields | Collection of string |
None. |
|
page | integer |
None. |
|
id | integer |
None. |
|
deleted | boolean |
None. |
|
per_page | integer |
None. |
|
view_mode | integer |
None. |
|
sort_fields | string |
None. |
|
stop_top | boolean |
None. |
|
tmp | boolean |
None. |
|
columns | Collection of TitleName |
None. |
|
sort_fields_desc | string |
None. |
|
disable_count | boolean |
None. |
|
date_from | date |
None. |
|
date_to | date |
None. |
|
view_name | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "fulltext": "sample string 1", "filter": "sample string 2", "password": "sample string 3", "fields": [ "sample string 1", "sample string 2" ], "page": 1, "id": 4, "deleted": true, "per_page": 1, "view_mode": 1, "sort_fields": "sample string 5", "stop_top": true, "tmp": true, "columns": [ { "title": "sample string 1", "name": "sample string 2", "width": 1 }, { "title": "sample string 1", "name": "sample string 2", "width": 1 } ], "sort_fields_desc": "sample string 8", "disable_count": true, "date_from": "2024-10-07T23:39:53Z", "date_to": "2024-10-07T23:39:53Z", "view_name": "sample string 10" }
application/xml, text/xml
Sample:
<SearchBody xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Up.Core.Data"> <columns> <TitleName> <name>sample string 2</name> <title>sample string 1</title> <width>1</width> </TitleName> <TitleName> <name>sample string 2</name> <title>sample string 1</title> <width>1</width> </TitleName> </columns> <date_from>2024-10-08T01:39:53.5181912+02:00</date_from> <date_to>2024-10-08T01:39:53.5181912+02:00</date_to> <deleted>true</deleted> <disable_count>true</disable_count> <fields xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </fields> <filter>sample string 2</filter> <fulltext>sample string 1</fulltext> <id>4</id> <page>1</page> <password>sample string 3</password> <per_page>1</per_page> <sort_fields>sample string 5</sort_fields> <sort_fields_desc>sample string 8</sort_fields_desc> <stop_top>true</stop_top> <tmp>true</tmp> <view_mode>1</view_mode> <view_name>sample string 10</view_name> </SearchBody>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PaginationResponseOfEquipmentName | Description | Type | Additional information |
---|---|---|---|
data | Collection of Equipment |
Required |
|
pagination | Pagination |
Required |
|
structure | Collection of StructureItem |
Required |
|
format_conditions | Collection of Object |
Required |
|
message | string |
Required |
Response Formats
application/json, text/json
Sample:
{ "data": [ { "id": "9fa3d988-9236-4f04-aa76-4e902e7a1f05", "name": "sample string 2", "code": "sample string 3", "has_value": true, "value": "sample string 5", "file": { "id": "da34da20-1188-447b-ad7f-6fb6c8acb108", "name": "sample string 2" }, "property_types": [ { "id": 1, "name": "sample string 2", "code": "sample string 3" }, { "id": 1, "name": "sample string 2", "code": "sample string 3" } ], "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "ab2467c1-c848-4090-85f6-f3fbdbc39eaa", "image_id": "005eada1-ce15-4c54-9050-80e6a29d56f4", "id_user_work_position": "71757b04-f97b-42ad-b728-52049828e5bb", "id_shift": "b4cb8123-0e59-48b8-aed5-1db35c8f4300", "code": "sample string 5", "code2": "sample string 6", "title": "sample string 9", "introduction": "sample string 10", "first_name": "sample string 11", "last_name": "sample string 12" }, "date": "2024-10-07T23:39:53Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "ab2467c1-c848-4090-85f6-f3fbdbc39eaa", "image_id": "005eada1-ce15-4c54-9050-80e6a29d56f4", "id_user_work_position": "71757b04-f97b-42ad-b728-52049828e5bb", "id_shift": "b4cb8123-0e59-48b8-aed5-1db35c8f4300", "code": "sample string 5", "code2": "sample string 6", "title": "sample string 9", "introduction": "sample string 10", "first_name": "sample string 11", "last_name": "sample string 12" }, "date": "2024-10-07T23:39:53Z" } } }, { "id": "9fa3d988-9236-4f04-aa76-4e902e7a1f05", "name": "sample string 2", "code": "sample string 3", "has_value": true, "value": "sample string 5", "file": { "id": "da34da20-1188-447b-ad7f-6fb6c8acb108", "name": "sample string 2" }, "property_types": [ { "id": 1, "name": "sample string 2", "code": "sample string 3" }, { "id": 1, "name": "sample string 2", "code": "sample string 3" } ], "deleted": true, "system_information": { "creation": { "user": { "full_name": "sample string 12 sample string 11", "id": "ab2467c1-c848-4090-85f6-f3fbdbc39eaa", "image_id": "005eada1-ce15-4c54-9050-80e6a29d56f4", "id_user_work_position": "71757b04-f97b-42ad-b728-52049828e5bb", "id_shift": "b4cb8123-0e59-48b8-aed5-1db35c8f4300", "code": "sample string 5", "code2": "sample string 6", "title": "sample string 9", "introduction": "sample string 10", "first_name": "sample string 11", "last_name": "sample string 12" }, "date": "2024-10-07T23:39:53Z" }, "last_change": { "user": { "full_name": "sample string 12 sample string 11", "id": "ab2467c1-c848-4090-85f6-f3fbdbc39eaa", "image_id": "005eada1-ce15-4c54-9050-80e6a29d56f4", "id_user_work_position": "71757b04-f97b-42ad-b728-52049828e5bb", "id_shift": "b4cb8123-0e59-48b8-aed5-1db35c8f4300", "code": "sample string 5", "code2": "sample string 6", "title": "sample string 9", "introduction": "sample string 10", "first_name": "sample string 11", "last_name": "sample string 12" }, "date": "2024-10-07T23:39:53Z" } } } ], "pagination": { "object_count": 1, "page": 1, "per_page": 1 }, "structure": [ { "name": "sample string 1", "title": "sample string 2", "width": 3, "show": true, "format": "sample string 5", "text_align": 6, "items": [ {}, {} ], "filter": "sample string 7", "type": "sample string 8", "order_number": 9 }, { "name": "sample string 1", "title": "sample string 2", "width": 3, "show": true, "format": "sample string 5", "text_align": 6, "items": [ {}, {} ], "filter": "sample string 7", "type": "sample string 8", "order_number": 9 } ], "format_conditions": [ {}, {} ], "message": "sample string 1" }
application/xml, text/xml
Sample:
<PaginationResponseOfEquipmentFBCW68op xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UP.Core.Data"> <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/IO.Swagger.Models"> <d2p1:Equipment> <d2p1:code>sample string 3</d2p1:code> <d2p1:deleted>true</d2p1:deleted> <d2p1:file> <d2p1:id>da34da20-1188-447b-ad7f-6fb6c8acb108</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:file> <d2p1:has_value>true</d2p1:has_value> <d2p1:id>9fa3d988-9236-4f04-aa76-4e902e7a1f05</d2p1:id> <d2p1:name>sample string 2</d2p1:name> <d2p1:property_types> <d2p1:CodeListSystem> <d2p1:code>sample string 3</d2p1:code> <d2p1:id>1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:CodeListSystem> <d2p1:CodeListSystem> <d2p1:code>sample string 3</d2p1:code> <d2p1:id>1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:CodeListSystem> </d2p1:property_types> <d2p1:system_information> <d2p1:creation> <d2p1:date>2024-10-08T01:39:53.5181912+02:00</d2p1:date> <d2p1:user> <d2p1:code>sample string 5</d2p1:code> <d2p1:code2>sample string 6</d2p1:code2> <d2p1:first_name>sample string 11</d2p1:first_name> <d2p1:full_name>sample string 12 sample string 11</d2p1:full_name> <d2p1:id>ab2467c1-c848-4090-85f6-f3fbdbc39eaa</d2p1:id> <d2p1:id_shift>b4cb8123-0e59-48b8-aed5-1db35c8f4300</d2p1:id_shift> <d2p1:id_user_work_position>71757b04-f97b-42ad-b728-52049828e5bb</d2p1:id_user_work_position> <d2p1:image_id>005eada1-ce15-4c54-9050-80e6a29d56f4</d2p1:image_id> <d2p1:introduction>sample string 10</d2p1:introduction> <d2p1:last_name>sample string 12</d2p1:last_name> <d2p1:title>sample string 9</d2p1:title> </d2p1:user> </d2p1:creation> <d2p1:last_change> <d2p1:date>2024-10-08T01:39:53.5181912+02:00</d2p1:date> <d2p1:user> <d2p1:code>sample string 5</d2p1:code> <d2p1:code2>sample string 6</d2p1:code2> <d2p1:first_name>sample string 11</d2p1:first_name> <d2p1:full_name>sample string 12 sample string 11</d2p1:full_name> <d2p1:id>ab2467c1-c848-4090-85f6-f3fbdbc39eaa</d2p1:id> <d2p1:id_shift>b4cb8123-0e59-48b8-aed5-1db35c8f4300</d2p1:id_shift> <d2p1:id_user_work_position>71757b04-f97b-42ad-b728-52049828e5bb</d2p1:id_user_work_position> <d2p1:image_id>005eada1-ce15-4c54-9050-80e6a29d56f4</d2p1:image_id> <d2p1:introduction>sample string 10</d2p1:introduction> <d2p1:last_name>sample string 12</d2p1:last_name> <d2p1:title>sample string 9</d2p1:title> </d2p1:user> </d2p1:last_change> </d2p1:system_information> <d2p1:value>sample string 5</d2p1:value> </d2p1:Equipment> <d2p1:Equipment> <d2p1:code>sample string 3</d2p1:code> <d2p1:deleted>true</d2p1:deleted> <d2p1:file> <d2p1:id>da34da20-1188-447b-ad7f-6fb6c8acb108</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:file> <d2p1:has_value>true</d2p1:has_value> <d2p1:id>9fa3d988-9236-4f04-aa76-4e902e7a1f05</d2p1:id> <d2p1:name>sample string 2</d2p1:name> <d2p1:property_types> <d2p1:CodeListSystem> <d2p1:code>sample string 3</d2p1:code> <d2p1:id>1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:CodeListSystem> <d2p1:CodeListSystem> <d2p1:code>sample string 3</d2p1:code> <d2p1:id>1</d2p1:id> <d2p1:name>sample string 2</d2p1:name> </d2p1:CodeListSystem> </d2p1:property_types> <d2p1:system_information> <d2p1:creation> <d2p1:date>2024-10-08T01:39:53.5181912+02:00</d2p1:date> <d2p1:user> <d2p1:code>sample string 5</d2p1:code> <d2p1:code2>sample string 6</d2p1:code2> <d2p1:first_name>sample string 11</d2p1:first_name> <d2p1:full_name>sample string 12 sample string 11</d2p1:full_name> <d2p1:id>ab2467c1-c848-4090-85f6-f3fbdbc39eaa</d2p1:id> <d2p1:id_shift>b4cb8123-0e59-48b8-aed5-1db35c8f4300</d2p1:id_shift> <d2p1:id_user_work_position>71757b04-f97b-42ad-b728-52049828e5bb</d2p1:id_user_work_position> <d2p1:image_id>005eada1-ce15-4c54-9050-80e6a29d56f4</d2p1:image_id> <d2p1:introduction>sample string 10</d2p1:introduction> <d2p1:last_name>sample string 12</d2p1:last_name> <d2p1:title>sample string 9</d2p1:title> </d2p1:user> </d2p1:creation> <d2p1:last_change> <d2p1:date>2024-10-08T01:39:53.5181912+02:00</d2p1:date> <d2p1:user> <d2p1:code>sample string 5</d2p1:code> <d2p1:code2>sample string 6</d2p1:code2> <d2p1:first_name>sample string 11</d2p1:first_name> <d2p1:full_name>sample string 12 sample string 11</d2p1:full_name> <d2p1:id>ab2467c1-c848-4090-85f6-f3fbdbc39eaa</d2p1:id> <d2p1:id_shift>b4cb8123-0e59-48b8-aed5-1db35c8f4300</d2p1:id_shift> <d2p1:id_user_work_position>71757b04-f97b-42ad-b728-52049828e5bb</d2p1:id_user_work_position> <d2p1:image_id>005eada1-ce15-4c54-9050-80e6a29d56f4</d2p1:image_id> <d2p1:introduction>sample string 10</d2p1:introduction> <d2p1:last_name>sample string 12</d2p1:last_name> <d2p1:title>sample string 9</d2p1:title> </d2p1:user> </d2p1:last_change> </d2p1:system_information> <d2p1:value>sample string 5</d2p1:value> </d2p1:Equipment> </data> <format_conditions xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:anyType /> <d2p1:anyType /> </format_conditions> <message>sample string 1</message> <pagination> <object_count>1</object_count> <page>1</page> <per_page>1</per_page> </pagination> <structure> <StructureItem> <filter>sample string 7</filter> <format>sample string 5</format> <items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </items> <name>sample string 1</name> <order_number>9</order_number> <show>true</show> <text_align>6</text_align> <title>sample string 2</title> <type>sample string 8</type> <width>3</width> </StructureItem> <StructureItem> <filter>sample string 7</filter> <format>sample string 5</format> <items xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d4p1:anyType /> <d4p1:anyType /> </items> <name>sample string 1</name> <order_number>9</order_number> <show>true</show> <text_align>6</text_align> <title>sample string 2</title> <type>sample string 8</type> <width>3</width> </StructureItem> </structure> </PaginationResponseOfEquipmentFBCW68op>