GET ops/activities
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of MTOActivityName | Description | Type | Additional information |
---|---|---|---|
Activity | string |
None. |
|
ID | integer |
None. |
|
LogSizes | Collection of LogSize |
None. |
Response Formats
application/json, text/json
Sample:
[ { "activity": "sample string 1", "id": 2, "logSizes": [ { "id": 1, "length": 2.0, "diameters": null }, { "id": 1, "length": 2.0, "diameters": null } ] }, { "activity": "sample string 1", "id": 2, "logSizes": [ { "id": 1, "length": 2.0, "diameters": null }, { "id": 1, "length": 2.0, "diameters": null } ] } ]
application/xml, text/xml
Sample:
<ArrayOfMTOActivity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/myREST.Models.Operations"> <MTOActivity> <Activity>sample string 1</Activity> <ID>2</ID> <LogSizes> <LogSize> <Diameters i:nil="true" /> <Id>1</Id> <Length>2</Length> </LogSize> <LogSize> <Diameters i:nil="true" /> <Id>1</Id> <Length>2</Length> </LogSize> </LogSizes> </MTOActivity> <MTOActivity> <Activity>sample string 1</Activity> <ID>2</ID> <LogSizes> <LogSize> <Diameters i:nil="true" /> <Id>1</Id> <Length>2</Length> </LogSize> <LogSize> <Diameters i:nil="true" /> <Id>1</Id> <Length>2</Length> </LogSize> </LogSizes> </MTOActivity> </ArrayOfMTOActivity>