POST v1/bunits/{bunitId}/remoteActivity

Add a collection of remote activites to a consumption unit's report. For including local/client-side activities which aren't available on the backend server in consumption unit reports, e.g. for SAP HANA.
(SP)

Request Information

URI Parameters

NameDescriptionTypeAdditional information
bunitId The ID of the business unit of the target consumption unit integer

Required

Body Parameters

RemoteActivityList
NameDescriptionTypeAdditional information
Activities The activities of the list
Collection of RemoteActivity

None.

Request Formats

application/json

Sample:

Sample not available.

text/json

Sample:

Sample not available.

application/xml, text/xml

Sample:
<RemoteActivityList xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <Activities>
    <RemoteActivity>
      <Id>12</Id>
      <CreatedDate>2024-05-20T15:05:55.6645383+02:00</CreatedDate>
      <ArchivedDate>2024-05-20T15:05:55.6645383+02:00</ArchivedDate>
      <ServerAddress>sample string 1</ServerAddress>
      <NodeName>sample string 2</NodeName>
      <Type>sample string 3</Type>
      <InstanceName>sample string 4</InstanceName>
      <BackupId>5</BackupId>
      <ActivityType>sample string 6</ActivityType>
      <StartTime>2024-05-20T15:05:55.6645383+02:00</StartTime>
      <EndTime>2024-05-20T15:05:55.6645383+02:00</EndTime>
      <Status>sample string 9</Status>
      <Comment>sample string 10</Comment>
      <Message>sample string 11</Message>
    </RemoteActivity>
    <RemoteActivity>
      <Id>12</Id>
      <CreatedDate>2024-05-20T15:05:55.6645383+02:00</CreatedDate>
      <ArchivedDate>2024-05-20T15:05:55.6645383+02:00</ArchivedDate>
      <ServerAddress>sample string 1</ServerAddress>
      <NodeName>sample string 2</NodeName>
      <Type>sample string 3</Type>
      <InstanceName>sample string 4</InstanceName>
      <BackupId>5</BackupId>
      <ActivityType>sample string 6</ActivityType>
      <StartTime>2024-05-20T15:05:55.6645383+02:00</StartTime>
      <EndTime>2024-05-20T15:05:55.6645383+02:00</EndTime>
      <Status>sample string 9</Status>
      <Comment>sample string 10</Comment>
      <Message>sample string 11</Message>
    </RemoteActivity>
  </Activities>
</RemoteActivityList>

Response Information

Resource Description

The remote activity object with the information which is to be related to the consumption unit

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.