POST api/Dados/pro_profileCrud
Request Information
URI Parameters
None.
Body Parameters
cEntity_pro_profileName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
profile_name | string |
None. |
|
_Action | string |
None. |
|
List_options | Collection of cEntity_pro_profile_detail |
None. |
|
List_menus | Collection of cEntity_pro_menus |
None. |
|
hasError | boolean |
None. |
|
hasErrorMessage | string |
None. |
|
_SendCredentials | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "id": 1, "profile_name": "sample string 2", "_Action": "sample string 3", "List_options": [ { "id": 1, "profile_id": 2, "profile_main_option_Id": 3, "profile_det_option_id": 4, "profile_main_option_link": "sample string 5", "List_options": [ { "id": 1, "profile_main_id": 2, "profile_access": 3, "_Action": "sample string 4", "hasError": true, "hasErrorMessage": "sample string 6", "_SendCredentials": "sample string 7" }, { "id": 1, "profile_main_id": 2, "profile_access": 3, "_Action": "sample string 4", "hasError": true, "hasErrorMessage": "sample string 6", "_SendCredentials": "sample string 7" } ], "profile_access": 6, "profile_has_access": 7, "_Action": "sample string 8", "hasError": true, "hasErrorMessage": "sample string 10", "_SendCredentials": "sample string 11" }, { "id": 1, "profile_id": 2, "profile_main_option_Id": 3, "profile_det_option_id": 4, "profile_main_option_link": "sample string 5", "List_options": [ { "id": 1, "profile_main_id": 2, "profile_access": 3, "_Action": "sample string 4", "hasError": true, "hasErrorMessage": "sample string 6", "_SendCredentials": "sample string 7" }, { "id": 1, "profile_main_id": 2, "profile_access": 3, "_Action": "sample string 4", "hasError": true, "hasErrorMessage": "sample string 6", "_SendCredentials": "sample string 7" } ], "profile_access": 6, "profile_has_access": 7, "_Action": "sample string 8", "hasError": true, "hasErrorMessage": "sample string 10", "_SendCredentials": "sample string 11" } ], "List_menus": [ { "id": 1, "icon": "sample string 2", "designacao": "sample string 3", "link": "sample string 4", "_Action": "sample string 5", "hasError": true, "List_options": [ { "id": 1, "menu_id": 2, "designacao": "sample string 3", "page_link": "sample string 4", "_Action": "sample string 5", "menu_read": 6, "menu_write": 7, "menu_delete": 8, "icon": "sample string 9", "hasError": true, "hasErrorMessage": "sample string 11", "_SendCredentials": "sample string 12" }, { "id": 1, "menu_id": 2, "designacao": "sample string 3", "page_link": "sample string 4", "_Action": "sample string 5", "menu_read": 6, "menu_write": 7, "menu_delete": 8, "icon": "sample string 9", "hasError": true, "hasErrorMessage": "sample string 11", "_SendCredentials": "sample string 12" } ], "hasErrorMessage": "sample string 7", "_SendCredentials": "sample string 8" }, { "id": 1, "icon": "sample string 2", "designacao": "sample string 3", "link": "sample string 4", "_Action": "sample string 5", "hasError": true, "List_options": [ { "id": 1, "menu_id": 2, "designacao": "sample string 3", "page_link": "sample string 4", "_Action": "sample string 5", "menu_read": 6, "menu_write": 7, "menu_delete": 8, "icon": "sample string 9", "hasError": true, "hasErrorMessage": "sample string 11", "_SendCredentials": "sample string 12" }, { "id": 1, "menu_id": 2, "designacao": "sample string 3", "page_link": "sample string 4", "_Action": "sample string 5", "menu_read": 6, "menu_write": 7, "menu_delete": 8, "icon": "sample string 9", "hasError": true, "hasErrorMessage": "sample string 11", "_SendCredentials": "sample string 12" } ], "hasErrorMessage": "sample string 7", "_SendCredentials": "sample string 8" } ], "hasError": true, "hasErrorMessage": "sample string 5", "_SendCredentials": "sample string 6" }
application/xml, text/xml
Sample:
<cTables.cEntity_pro_profile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest"> <List_menus> <cTables.cEntity_pro_menus> <List_options> <cTables.cEntity_pro_menus_sub> <_Action>sample string 5</_Action> <_SendCredentials>sample string 12</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <icon>sample string 9</icon> <id>1</id> <menu_delete>8</menu_delete> <menu_id>2</menu_id> <menu_read>6</menu_read> <menu_write>7</menu_write> <page_link>sample string 4</page_link> </cTables.cEntity_pro_menus_sub> <cTables.cEntity_pro_menus_sub> <_Action>sample string 5</_Action> <_SendCredentials>sample string 12</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <icon>sample string 9</icon> <id>1</id> <menu_delete>8</menu_delete> <menu_id>2</menu_id> <menu_read>6</menu_read> <menu_write>7</menu_write> <page_link>sample string 4</page_link> </cTables.cEntity_pro_menus_sub> </List_options> <_Action>sample string 5</_Action> <_SendCredentials>sample string 8</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 7</hasErrorMessage> <icon>sample string 2</icon> <id>1</id> <link>sample string 4</link> </cTables.cEntity_pro_menus> <cTables.cEntity_pro_menus> <List_options> <cTables.cEntity_pro_menus_sub> <_Action>sample string 5</_Action> <_SendCredentials>sample string 12</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <icon>sample string 9</icon> <id>1</id> <menu_delete>8</menu_delete> <menu_id>2</menu_id> <menu_read>6</menu_read> <menu_write>7</menu_write> <page_link>sample string 4</page_link> </cTables.cEntity_pro_menus_sub> <cTables.cEntity_pro_menus_sub> <_Action>sample string 5</_Action> <_SendCredentials>sample string 12</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <icon>sample string 9</icon> <id>1</id> <menu_delete>8</menu_delete> <menu_id>2</menu_id> <menu_read>6</menu_read> <menu_write>7</menu_write> <page_link>sample string 4</page_link> </cTables.cEntity_pro_menus_sub> </List_options> <_Action>sample string 5</_Action> <_SendCredentials>sample string 8</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 7</hasErrorMessage> <icon>sample string 2</icon> <id>1</id> <link>sample string 4</link> </cTables.cEntity_pro_menus> </List_menus> <List_options> <cTables.cEntity_pro_profile_detail> <List_options> <cTables.cEntity_pro_profile_detail2> <_Action>sample string 4</_Action> <_SendCredentials>sample string 7</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 6</hasErrorMessage> <id>1</id> <profile_access>3</profile_access> <profile_main_id>2</profile_main_id> </cTables.cEntity_pro_profile_detail2> <cTables.cEntity_pro_profile_detail2> <_Action>sample string 4</_Action> <_SendCredentials>sample string 7</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 6</hasErrorMessage> <id>1</id> <profile_access>3</profile_access> <profile_main_id>2</profile_main_id> </cTables.cEntity_pro_profile_detail2> </List_options> <_Action>sample string 8</_Action> <_SendCredentials>sample string 11</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 10</hasErrorMessage> <id>1</id> <profile_access>6</profile_access> <profile_det_option_id>4</profile_det_option_id> <profile_has_access>7</profile_has_access> <profile_id>2</profile_id> <profile_main_option_Id>3</profile_main_option_Id> <profile_main_option_link>sample string 5</profile_main_option_link> </cTables.cEntity_pro_profile_detail> <cTables.cEntity_pro_profile_detail> <List_options> <cTables.cEntity_pro_profile_detail2> <_Action>sample string 4</_Action> <_SendCredentials>sample string 7</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 6</hasErrorMessage> <id>1</id> <profile_access>3</profile_access> <profile_main_id>2</profile_main_id> </cTables.cEntity_pro_profile_detail2> <cTables.cEntity_pro_profile_detail2> <_Action>sample string 4</_Action> <_SendCredentials>sample string 7</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 6</hasErrorMessage> <id>1</id> <profile_access>3</profile_access> <profile_main_id>2</profile_main_id> </cTables.cEntity_pro_profile_detail2> </List_options> <_Action>sample string 8</_Action> <_SendCredentials>sample string 11</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 10</hasErrorMessage> <id>1</id> <profile_access>6</profile_access> <profile_det_option_id>4</profile_det_option_id> <profile_has_access>7</profile_has_access> <profile_id>2</profile_id> <profile_main_option_Id>3</profile_main_option_Id> <profile_main_option_link>sample string 5</profile_main_option_link> </cTables.cEntity_pro_profile_detail> </List_options> <_Action>sample string 3</_Action> <_SendCredentials>sample string 6</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 5</hasErrorMessage> <id>1</id> <profile_name>sample string 2</profile_name> </cTables.cEntity_pro_profile>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
cEntity_pro_profileName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
profile_name | string |
None. |
|
_Action | string |
None. |
|
List_options | Collection of cEntity_pro_profile_detail |
None. |
|
List_menus | Collection of cEntity_pro_menus |
None. |
|
hasError | boolean |
None. |
|
hasErrorMessage | string |
None. |
|
_SendCredentials | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "id": 1, "profile_name": "sample string 2", "_Action": "sample string 3", "List_options": [ { "id": 1, "profile_id": 2, "profile_main_option_Id": 3, "profile_det_option_id": 4, "profile_main_option_link": "sample string 5", "List_options": [ { "id": 1, "profile_main_id": 2, "profile_access": 3, "_Action": "sample string 4", "hasError": true, "hasErrorMessage": "sample string 6", "_SendCredentials": "sample string 7" }, { "id": 1, "profile_main_id": 2, "profile_access": 3, "_Action": "sample string 4", "hasError": true, "hasErrorMessage": "sample string 6", "_SendCredentials": "sample string 7" } ], "profile_access": 6, "profile_has_access": 7, "_Action": "sample string 8", "hasError": true, "hasErrorMessage": "sample string 10", "_SendCredentials": "sample string 11" }, { "id": 1, "profile_id": 2, "profile_main_option_Id": 3, "profile_det_option_id": 4, "profile_main_option_link": "sample string 5", "List_options": [ { "id": 1, "profile_main_id": 2, "profile_access": 3, "_Action": "sample string 4", "hasError": true, "hasErrorMessage": "sample string 6", "_SendCredentials": "sample string 7" }, { "id": 1, "profile_main_id": 2, "profile_access": 3, "_Action": "sample string 4", "hasError": true, "hasErrorMessage": "sample string 6", "_SendCredentials": "sample string 7" } ], "profile_access": 6, "profile_has_access": 7, "_Action": "sample string 8", "hasError": true, "hasErrorMessage": "sample string 10", "_SendCredentials": "sample string 11" } ], "List_menus": [ { "id": 1, "icon": "sample string 2", "designacao": "sample string 3", "link": "sample string 4", "_Action": "sample string 5", "hasError": true, "List_options": [ { "id": 1, "menu_id": 2, "designacao": "sample string 3", "page_link": "sample string 4", "_Action": "sample string 5", "menu_read": 6, "menu_write": 7, "menu_delete": 8, "icon": "sample string 9", "hasError": true, "hasErrorMessage": "sample string 11", "_SendCredentials": "sample string 12" }, { "id": 1, "menu_id": 2, "designacao": "sample string 3", "page_link": "sample string 4", "_Action": "sample string 5", "menu_read": 6, "menu_write": 7, "menu_delete": 8, "icon": "sample string 9", "hasError": true, "hasErrorMessage": "sample string 11", "_SendCredentials": "sample string 12" } ], "hasErrorMessage": "sample string 7", "_SendCredentials": "sample string 8" }, { "id": 1, "icon": "sample string 2", "designacao": "sample string 3", "link": "sample string 4", "_Action": "sample string 5", "hasError": true, "List_options": [ { "id": 1, "menu_id": 2, "designacao": "sample string 3", "page_link": "sample string 4", "_Action": "sample string 5", "menu_read": 6, "menu_write": 7, "menu_delete": 8, "icon": "sample string 9", "hasError": true, "hasErrorMessage": "sample string 11", "_SendCredentials": "sample string 12" }, { "id": 1, "menu_id": 2, "designacao": "sample string 3", "page_link": "sample string 4", "_Action": "sample string 5", "menu_read": 6, "menu_write": 7, "menu_delete": 8, "icon": "sample string 9", "hasError": true, "hasErrorMessage": "sample string 11", "_SendCredentials": "sample string 12" } ], "hasErrorMessage": "sample string 7", "_SendCredentials": "sample string 8" } ], "hasError": true, "hasErrorMessage": "sample string 5", "_SendCredentials": "sample string 6" }
application/xml, text/xml
Sample:
<cTables.cEntity_pro_profile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/wsgest"> <List_menus> <cTables.cEntity_pro_menus> <List_options> <cTables.cEntity_pro_menus_sub> <_Action>sample string 5</_Action> <_SendCredentials>sample string 12</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <icon>sample string 9</icon> <id>1</id> <menu_delete>8</menu_delete> <menu_id>2</menu_id> <menu_read>6</menu_read> <menu_write>7</menu_write> <page_link>sample string 4</page_link> </cTables.cEntity_pro_menus_sub> <cTables.cEntity_pro_menus_sub> <_Action>sample string 5</_Action> <_SendCredentials>sample string 12</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <icon>sample string 9</icon> <id>1</id> <menu_delete>8</menu_delete> <menu_id>2</menu_id> <menu_read>6</menu_read> <menu_write>7</menu_write> <page_link>sample string 4</page_link> </cTables.cEntity_pro_menus_sub> </List_options> <_Action>sample string 5</_Action> <_SendCredentials>sample string 8</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 7</hasErrorMessage> <icon>sample string 2</icon> <id>1</id> <link>sample string 4</link> </cTables.cEntity_pro_menus> <cTables.cEntity_pro_menus> <List_options> <cTables.cEntity_pro_menus_sub> <_Action>sample string 5</_Action> <_SendCredentials>sample string 12</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <icon>sample string 9</icon> <id>1</id> <menu_delete>8</menu_delete> <menu_id>2</menu_id> <menu_read>6</menu_read> <menu_write>7</menu_write> <page_link>sample string 4</page_link> </cTables.cEntity_pro_menus_sub> <cTables.cEntity_pro_menus_sub> <_Action>sample string 5</_Action> <_SendCredentials>sample string 12</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 11</hasErrorMessage> <icon>sample string 9</icon> <id>1</id> <menu_delete>8</menu_delete> <menu_id>2</menu_id> <menu_read>6</menu_read> <menu_write>7</menu_write> <page_link>sample string 4</page_link> </cTables.cEntity_pro_menus_sub> </List_options> <_Action>sample string 5</_Action> <_SendCredentials>sample string 8</_SendCredentials> <designacao>sample string 3</designacao> <hasError>true</hasError> <hasErrorMessage>sample string 7</hasErrorMessage> <icon>sample string 2</icon> <id>1</id> <link>sample string 4</link> </cTables.cEntity_pro_menus> </List_menus> <List_options> <cTables.cEntity_pro_profile_detail> <List_options> <cTables.cEntity_pro_profile_detail2> <_Action>sample string 4</_Action> <_SendCredentials>sample string 7</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 6</hasErrorMessage> <id>1</id> <profile_access>3</profile_access> <profile_main_id>2</profile_main_id> </cTables.cEntity_pro_profile_detail2> <cTables.cEntity_pro_profile_detail2> <_Action>sample string 4</_Action> <_SendCredentials>sample string 7</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 6</hasErrorMessage> <id>1</id> <profile_access>3</profile_access> <profile_main_id>2</profile_main_id> </cTables.cEntity_pro_profile_detail2> </List_options> <_Action>sample string 8</_Action> <_SendCredentials>sample string 11</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 10</hasErrorMessage> <id>1</id> <profile_access>6</profile_access> <profile_det_option_id>4</profile_det_option_id> <profile_has_access>7</profile_has_access> <profile_id>2</profile_id> <profile_main_option_Id>3</profile_main_option_Id> <profile_main_option_link>sample string 5</profile_main_option_link> </cTables.cEntity_pro_profile_detail> <cTables.cEntity_pro_profile_detail> <List_options> <cTables.cEntity_pro_profile_detail2> <_Action>sample string 4</_Action> <_SendCredentials>sample string 7</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 6</hasErrorMessage> <id>1</id> <profile_access>3</profile_access> <profile_main_id>2</profile_main_id> </cTables.cEntity_pro_profile_detail2> <cTables.cEntity_pro_profile_detail2> <_Action>sample string 4</_Action> <_SendCredentials>sample string 7</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 6</hasErrorMessage> <id>1</id> <profile_access>3</profile_access> <profile_main_id>2</profile_main_id> </cTables.cEntity_pro_profile_detail2> </List_options> <_Action>sample string 8</_Action> <_SendCredentials>sample string 11</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 10</hasErrorMessage> <id>1</id> <profile_access>6</profile_access> <profile_det_option_id>4</profile_det_option_id> <profile_has_access>7</profile_has_access> <profile_id>2</profile_id> <profile_main_option_Id>3</profile_main_option_Id> <profile_main_option_link>sample string 5</profile_main_option_link> </cTables.cEntity_pro_profile_detail> </List_options> <_Action>sample string 3</_Action> <_SendCredentials>sample string 6</_SendCredentials> <hasError>true</hasError> <hasErrorMessage>sample string 5</hasErrorMessage> <id>1</id> <profile_name>sample string 2</profile_name> </cTables.cEntity_pro_profile>