POST LogUsage/Base/SaveAll
Request Information
URI Parameters
None.
Body Parameters
Collection of LogUsageName | Description | Type | Additional information |
---|---|---|---|
UsageId | globally unique identifier |
None. |
|
ActionId | integer |
None. |
|
UserName | string |
None. |
|
StartTime | date |
None. |
|
StopTime | date |
None. |
|
IsConnectedUser | boolean |
None. |
|
HasInternet | boolean |
None. |
|
Bandwidth | decimal number |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Request Formats
application/json, text/json
Sample:
[ { "$id": "1", "UsageId": "ffcd9ca4-831c-4699-b9af-0b658e778fea", "ActionId": 2, "UserName": "sample string 3", "StartTime": "2024-12-08T15:43:39.5252607+00:00", "StopTime": "2024-12-08T15:43:39.5252607+00:00", "IsConnectedUser": true, "HasInternet": true, "Bandwidth": 1.1, "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfLogUsage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <LogUsage z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ActionId>2</ActionId> <Bandwidth>1.1</Bandwidth> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <HasInternet>true</HasInternet> <IsConnectedUser>true</IsConnectedUser> <StartTime>2024-12-08T15:43:39.5252607+00:00</StartTime> <StopTime>2024-12-08T15:43:39.5252607+00:00</StopTime> <UsageId>ffcd9ca4-831c-4699-b9af-0b658e778fea</UsageId> <UserName>sample string 3</UserName> </LogUsage> <LogUsage z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </ArrayOfLogUsage>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Collection of LogUsageName | Description | Type | Additional information |
---|---|---|---|
UsageId | globally unique identifier |
None. |
|
ActionId | integer |
None. |
|
UserName | string |
None. |
|
StartTime | date |
None. |
|
StopTime | date |
None. |
|
IsConnectedUser | boolean |
None. |
|
HasInternet | boolean |
None. |
|
Bandwidth | decimal number |
None. |
|
ChangeTracker | ObjectChangeTracker |
None. |
Response Formats
application/json, text/json
Sample:
[ { "$id": "1", "UsageId": "e6a93f76-471f-495f-8454-528ae1b83494", "ActionId": 2, "UserName": "sample string 3", "StartTime": "2024-12-08T15:43:39.5252607+00:00", "StopTime": "2024-12-08T15:43:39.5252607+00:00", "IsConnectedUser": true, "HasInternet": true, "Bandwidth": 1.1, "ChangeTracker": { "$id": "2", "State": 2, "ObjectsRemovedFromCollectionProperties": {}, "OriginalValues": {}, "ExtendedProperties": {}, "ObjectsAddedToCollectionProperties": {} } }, { "$ref": "1" } ]
application/xml, text/xml
Sample:
<ArrayOfLogUsage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model"> <LogUsage z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/"> <ActionId>2</ActionId> <Bandwidth>1.1</Bandwidth> <ChangeTracker z:Id="i2"> <ExtendedProperties /> <ObjectsAddedToCollectionProperties /> <ObjectsRemovedFromCollectionProperties /> <OriginalValues /> <State>Added</State> </ChangeTracker> <HasInternet>true</HasInternet> <IsConnectedUser>true</IsConnectedUser> <StartTime>2024-12-08T15:43:39.5252607+00:00</StartTime> <StopTime>2024-12-08T15:43:39.5252607+00:00</StopTime> <UsageId>e6a93f76-471f-495f-8454-528ae1b83494</UsageId> <UserName>sample string 3</UserName> </LogUsage> <LogUsage z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" /> </ArrayOfLogUsage>