POST api/asset

Post a list of Asset Register items to be processed and loaded into project associated with authenticated user

Request Information

URI Parameters

None.

Body Parameters

List of Asset Register items

Collection of AssetRegisterItem
NameDescriptionTypeAdditional information
ServerName

string

None.

TimeStamp

date

None.

InternalID

string

None.

SourceServer

string

None.

ServerType

string

None.

HostName

string

None.

DataCentreName

string

None.

Cluster

string

None.

Environment

string

None.

Hypervisor

string

None.

HypervisorVersion

string

None.

OperatingSystem

string

None.

MemoryMB

integer

None.

ClockSpeedMHz

integer

None.

NumberOfPhysicalCoresOrvCPUs

integer

None.

HyperthreadingEnabled

boolean

None.

DeployedDate

date

None.

DecommissionedDate

date

None.

FailoverServerName

string

None.

CPURatio

integer

None.

specint_rate2006

integer

None.

MaximumIOKBS

integer

None.

LogicalCoresPerPhysicalCore

integer

None.

HardwareModel

string

None.

HardwareVendor

string

None.

Groupings

Collection of Grouping

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ServerName": "sample string 1",
    "TimeStamp": "2019-08-18T12:47:32.5341943+01:00",
    "InternalID": "sample string 3",
    "SourceServer": "sample string 4",
    "ServerType": "sample string 5",
    "HostName": "sample string 6",
    "DataCentreName": "sample string 7",
    "Cluster": "sample string 8",
    "Environment": "sample string 9",
    "Hypervisor": "sample string 10",
    "HypervisorVersion": "sample string 11",
    "OperatingSystem": "sample string 12",
    "MemoryMB": 1,
    "ClockSpeedMHz": 1,
    "NumberOfPhysicalCoresOrvCPUs": 1,
    "HyperthreadingEnabled": true,
    "DeployedDate": "2019-08-18T12:47:32.5341943+01:00",
    "DecommissionedDate": "2019-08-18T12:47:32.5341943+01:00",
    "FailoverServerName": "sample string 13",
    "CPURatio": 1,
    "specint_rate2006": 1,
    "MaximumIOKBS": 1,
    "LogicalCoresPerPhysicalCore": 1,
    "HardwareModel": "sample string 14",
    "HardwareVendor": "sample string 15",
    "Groupings": [
      {
        "Key": "sample string 1",
        "Value": "sample string 2"
      },
      {
        "Key": "sample string 1",
        "Value": "sample string 2"
      }
    ]
  },
  {
    "ServerName": "sample string 1",
    "TimeStamp": "2019-08-18T12:47:32.5341943+01:00",
    "InternalID": "sample string 3",
    "SourceServer": "sample string 4",
    "ServerType": "sample string 5",
    "HostName": "sample string 6",
    "DataCentreName": "sample string 7",
    "Cluster": "sample string 8",
    "Environment": "sample string 9",
    "Hypervisor": "sample string 10",
    "HypervisorVersion": "sample string 11",
    "OperatingSystem": "sample string 12",
    "MemoryMB": 1,
    "ClockSpeedMHz": 1,
    "NumberOfPhysicalCoresOrvCPUs": 1,
    "HyperthreadingEnabled": true,
    "DeployedDate": "2019-08-18T12:47:32.5341943+01:00",
    "DecommissionedDate": "2019-08-18T12:47:32.5341943+01:00",
    "FailoverServerName": "sample string 13",
    "CPURatio": 1,
    "specint_rate2006": 1,
    "MaximumIOKBS": 1,
    "LogicalCoresPerPhysicalCore": 1,
    "HardwareModel": "sample string 14",
    "HardwareVendor": "sample string 15",
    "Groupings": [
      {
        "Key": "sample string 1",
        "Value": "sample string 2"
      },
      {
        "Key": "sample string 1",
        "Value": "sample string 2"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfAssetRegisterItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sumerian.Dispatcher.DTO">
  <AssetRegisterItem>
    <CPURatio>1</CPURatio>
    <ClockSpeedMHz>1</ClockSpeedMHz>
    <Cluster>sample string 8</Cluster>
    <DataCentreName>sample string 7</DataCentreName>
    <DecommissionedDate>2019-08-18T12:47:32.5341943+01:00</DecommissionedDate>
    <DeployedDate>2019-08-18T12:47:32.5341943+01:00</DeployedDate>
    <Environment>sample string 9</Environment>
    <FailoverServerName>sample string 13</FailoverServerName>
    <Groupings>
      <Grouping>
        <Key>sample string 1</Key>
        <Value>sample string 2</Value>
      </Grouping>
      <Grouping>
        <Key>sample string 1</Key>
        <Value>sample string 2</Value>
      </Grouping>
    </Groupings>
    <HardwareModel>sample string 14</HardwareModel>
    <HardwareVendor>sample string 15</HardwareVendor>
    <HostName>sample string 6</HostName>
    <HyperthreadingEnabled>true</HyperthreadingEnabled>
    <Hypervisor>sample string 10</Hypervisor>
    <HypervisorVersion>sample string 11</HypervisorVersion>
    <InternalID>sample string 3</InternalID>
    <LogicalCoresPerPhysicalCore>1</LogicalCoresPerPhysicalCore>
    <MaximumIOKBS>1</MaximumIOKBS>
    <MemoryMB>1</MemoryMB>
    <NumberOfPhysicalCoresOrvCPUs>1</NumberOfPhysicalCoresOrvCPUs>
    <OperatingSystem>sample string 12</OperatingSystem>
    <ServerName>sample string 1</ServerName>
    <ServerType>sample string 5</ServerType>
    <SourceServer>sample string 4</SourceServer>
    <TimeStamp>2019-08-18T12:47:32.5341943+01:00</TimeStamp>
    <specint_rate2006>1</specint_rate2006>
  </AssetRegisterItem>
  <AssetRegisterItem>
    <CPURatio>1</CPURatio>
    <ClockSpeedMHz>1</ClockSpeedMHz>
    <Cluster>sample string 8</Cluster>
    <DataCentreName>sample string 7</DataCentreName>
    <DecommissionedDate>2019-08-18T12:47:32.5341943+01:00</DecommissionedDate>
    <DeployedDate>2019-08-18T12:47:32.5341943+01:00</DeployedDate>
    <Environment>sample string 9</Environment>
    <FailoverServerName>sample string 13</FailoverServerName>
    <Groupings>
      <Grouping>
        <Key>sample string 1</Key>
        <Value>sample string 2</Value>
      </Grouping>
      <Grouping>
        <Key>sample string 1</Key>
        <Value>sample string 2</Value>
      </Grouping>
    </Groupings>
    <HardwareModel>sample string 14</HardwareModel>
    <HardwareVendor>sample string 15</HardwareVendor>
    <HostName>sample string 6</HostName>
    <HyperthreadingEnabled>true</HyperthreadingEnabled>
    <Hypervisor>sample string 10</Hypervisor>
    <HypervisorVersion>sample string 11</HypervisorVersion>
    <InternalID>sample string 3</InternalID>
    <LogicalCoresPerPhysicalCore>1</LogicalCoresPerPhysicalCore>
    <MaximumIOKBS>1</MaximumIOKBS>
    <MemoryMB>1</MemoryMB>
    <NumberOfPhysicalCoresOrvCPUs>1</NumberOfPhysicalCoresOrvCPUs>
    <OperatingSystem>sample string 12</OperatingSystem>
    <ServerName>sample string 1</ServerName>
    <ServerType>sample string 5</ServerType>
    <SourceServer>sample string 4</SourceServer>
    <TimeStamp>2019-08-18T12:47:32.5341943+01:00</TimeStamp>
    <specint_rate2006>1</specint_rate2006>
  </AssetRegisterItem>
</ArrayOfAssetRegisterItem>

Response Information

Resource Description

Void, only HTTP status code

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.