POST api/OpsManagerAssessments/PostAssessment

Request Information

URI Parameters

None.

Body Parameters

OpsManagerAssessmentDTO
NameDescriptionTypeAdditional information
ID

integer

None.

OpsManagerAssessmentCategoryID

integer

None.

Name

string

None.

IsDeleted

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "OpsManagerAssessmentCategoryID": 2,
  "Name": "sample string 3",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<OpsManagerAssessmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <ID>1</ID>
  <IsDeleted>true</IsDeleted>
  <Name>sample string 3</Name>
  <OpsManagerAssessmentCategoryID>2</OpsManagerAssessmentCategoryID>
</OpsManagerAssessmentDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OpsManagerAssessmentDTO
NameDescriptionTypeAdditional information
ID

integer

None.

OpsManagerAssessmentCategoryID

integer

None.

Name

string

None.

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "OpsManagerAssessmentCategoryID": 2,
  "Name": "sample string 3",
  "IsDeleted": true
}

application/xml, text/xml

Sample:
<OpsManagerAssessmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <ID>1</ID>
  <IsDeleted>true</IsDeleted>
  <Name>sample string 3</Name>
  <OpsManagerAssessmentCategoryID>2</OpsManagerAssessmentCategoryID>
</OpsManagerAssessmentDTO>