POST LogUsage/Base/Save

Request Information

URI Parameters

None.

Body Parameters

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:
{
  "UsageId": "962158b4-0302-4807-8ce3-428e0cb1030a",
  "ActionId": 2,
  "UserName": "sample string 3",
  "StartTime": "2024-12-08T16:22:36.7086506+00:00",
  "StopTime": "2024-12-08T16:22:36.7086506+00:00",
  "IsConnectedUser": true,
  "HasInternet": true,
  "Bandwidth": 1.1,
  "ChangeTracker": {
    "$id": "2",
    "State": 2,
    "ObjectsRemovedFromCollectionProperties": {},
    "OriginalValues": {},
    "ExtendedProperties": {},
    "ObjectsAddedToCollectionProperties": {}
  }
}

application/xml, text/xml

Sample:
<LogUsage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <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-08T16:22:36.7086506+00:00</StartTime>
  <StopTime>2024-12-08T16:22:36.7086506+00:00</StopTime>
  <UsageId>962158b4-0302-4807-8ce3-428e0cb1030a</UsageId>
  <UserName>sample string 3</UserName>
</LogUsage>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

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:
{
  "UsageId": "14672572-9baa-4516-9b2e-f242a3d61bdc",
  "ActionId": 2,
  "UserName": "sample string 3",
  "StartTime": "2024-12-08T16:22:36.7086506+00:00",
  "StopTime": "2024-12-08T16:22:36.7086506+00:00",
  "IsConnectedUser": true,
  "HasInternet": true,
  "Bandwidth": 1.1,
  "ChangeTracker": {
    "$id": "2",
    "State": 2,
    "ObjectsRemovedFromCollectionProperties": {},
    "OriginalValues": {},
    "ExtendedProperties": {},
    "ObjectsAddedToCollectionProperties": {}
  }
}

application/xml, text/xml

Sample:
<LogUsage xmlns:i="http://www.w3.org/2001/XMLSchema-instance" z:Id="i1" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" xmlns="http://schemas.datacontract.org/2004/07/Pioneer.Trials.Domain.Model">
  <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-08T16:22:36.7086506+00:00</StartTime>
  <StopTime>2024-12-08T16:22:36.7086506+00:00</StopTime>
  <UsageId>14672572-9baa-4516-9b2e-f242a3d61bdc</UsageId>
  <UserName>sample string 3</UserName>
</LogUsage>