POST api/Agents/getDataByProjectID?projectID={projectID}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| projectID | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of vAgent| Name | Description | Type | Additional information |
|---|---|---|---|
| AgentID | integer |
None. |
|
| ProjectID | integer |
None. |
|
| AgentName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"AgentID": 1,
"ProjectID": 2,
"AgentName": "sample string 3"
},
{
"AgentID": 1,
"ProjectID": 2,
"AgentName": "sample string 3"
}
]
text/html, application/octet-stream
Sample:
[{"AgentID":1,"ProjectID":2,"AgentName":"sample string 3"},{"AgentID":1,"ProjectID":2,"AgentName":"sample string 3"}]
application/xml, text/xml
Sample:
<ArrayOfvAgent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ChatBot.Data">
<vAgent>
<AgentID>1</AgentID>
<AgentName>sample string 3</AgentName>
<ProjectID>2</ProjectID>
</vAgent>
<vAgent>
<AgentID>1</AgentID>
<AgentName>sample string 3</AgentName>
<ProjectID>2</ProjectID>
</vAgent>
</ArrayOfvAgent>