POST LogUsage/Base/SaveAll

Request Information

URI Parameters

None.

Body Parameters

Collection of LogUsage
NameDescriptionTypeAdditional 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": "29501f7c-268f-44db-aebd-f1a64568c117",
    "ActionId": 2,
    "UserName": "sample string 3",
    "StartTime": "2024-09-12T13:21:11.7612509+00:00",
    "StopTime": "2024-09-12T13:21:11.7612509+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-09-12T13:21:11.7612509+00:00</StartTime>
    <StopTime>2024-09-12T13:21:11.7612509+00:00</StopTime>
    <UsageId>29501f7c-268f-44db-aebd-f1a64568c117</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 LogUsage
NameDescriptionTypeAdditional 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": "121cb2e0-f3f5-4f78-a348-4a8e2fb9aecd",
    "ActionId": 2,
    "UserName": "sample string 3",
    "StartTime": "2024-09-12T13:21:11.8094191+00:00",
    "StopTime": "2024-09-12T13:21:11.8094191+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-09-12T13:21:11.8094191+00:00</StartTime>
    <StopTime>2024-09-12T13:21:11.8094191+00:00</StopTime>
    <UsageId>121cb2e0-f3f5-4f78-a348-4a8e2fb9aecd</UsageId>
    <UserName>sample string 3</UserName>
  </LogUsage>
  <LogUsage z:Ref="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />
</ArrayOfLogUsage>