GET api/ENUM_TIPO_TAREFA/GetItemsByParent?parentId={parentId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
parentId

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

DataItemsResultModelOfENUM_TIPO_TAREFA
NameDescriptionTypeAdditional information
Items

Collection of ENUM_TIPO_TAREFA

None.

Success

boolean

None.

Message

string

None.

Detail

string

None.

Total

integer

None.

ID_OBJECT

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Items": [
    {
      "TIPOTAREFAID": 64,
      "DESCRITIVO": "sample string 2",
      "FINALIDADE": "sample string 3"
    },
    {
      "TIPOTAREFAID": 64,
      "DESCRITIVO": "sample string 2",
      "FINALIDADE": "sample string 3"
    }
  ],
  "Success": true,
  "Message": "sample string 2",
  "Detail": "sample string 3",
  "Total": 4,
  "ID_OBJECT": "84a5321d-cbce-4808-b755-bf9cd8c38a29"
}

text/plain

Sample:
{"Items":[{"TIPOTAREFAID":64,"DESCRITIVO":"sample string 2","FINALIDADE":"sample string 3"},{"TIPOTAREFAID":64,"DESCRITIVO":"sample string 2","FINALIDADE":"sample string 3"}],"Success":true,"Message":"sample string 2","Detail":"sample string 3","Total":4,"ID_OBJECT":"84a5321d-cbce-4808-b755-bf9cd8c38a29"}

application/xml, text/xml

Sample:
<DataItemsResultModelOfENUM_TIPO_TAREFApwo5oW_Py xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Robotizei.RBT_MONITOR.Domain.Model">
  <Detail>sample string 3</Detail>
  <ID_OBJECT>84a5321d-cbce-4808-b755-bf9cd8c38a29</ID_OBJECT>
  <Message>sample string 2</Message>
  <Success>true</Success>
  <Total>4</Total>
  <Items xmlns:d2p1="http://schemas.datacontract.org/2004/07/Robotizei.RBT_MONITOR.Domain.Entities">
    <d2p1:ENUM_TIPO_TAREFA>
      <d2p1:DESCRITIVO>sample string 2</d2p1:DESCRITIVO>
      <d2p1:FINALIDADE>sample string 3</d2p1:FINALIDADE>
      <d2p1:TIPOTAREFAID>64</d2p1:TIPOTAREFAID>
    </d2p1:ENUM_TIPO_TAREFA>
    <d2p1:ENUM_TIPO_TAREFA>
      <d2p1:DESCRITIVO>sample string 2</d2p1:DESCRITIVO>
      <d2p1:FINALIDADE>sample string 3</d2p1:FINALIDADE>
      <d2p1:TIPOTAREFAID>64</d2p1:TIPOTAREFAID>
    </d2p1:ENUM_TIPO_TAREFA>
  </Items>
</DataItemsResultModelOfENUM_TIPO_TAREFApwo5oW_Py>