POST api/OpsManagerTX

Request Information

URI Parameters

None.

Body Parameters

OpsInspectionTxDTO
NameDescriptionTypeAdditional information
ID

integer

None.

OpsManagerTaskGroupID

integer

None.

VisitedCustomer

boolean

None.

Type

OpsTransactionType

None.

CustomerInspectionID

integer

None.

CustomerComments

string

None.

OpsComments

string

None.

DateTime

date

None.

OpsRating

integer

None.

CustomerRating

boolean

None.

OpsManagerAssessmentAllocationID

integer

None.

OpsInspectionImages

Collection of OpsInspectionImageDTO

None.

Images

Collection of Collection of byte

None.

TotalCustomerVisits

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "OpsManagerTaskGroupID": 1,
  "VisitedCustomer": true,
  "Type": 1,
  "CustomerInspectionID": 1,
  "CustomerComments": "sample string 3",
  "OpsComments": "sample string 4",
  "DateTime": "2024-12-28T08:51:31.1403689+02:00",
  "OpsRating": 1,
  "CustomerRating": true,
  "OpsManagerAssessmentAllocationID": 1,
  "OpsInspectionImages": [
    {
      "ID": 1,
      "OpsInspectionTxID": 2,
      "FilePath": "sample string 3",
      "Image": "QEA="
    },
    {
      "ID": 1,
      "OpsInspectionTxID": 2,
      "FilePath": "sample string 3",
      "Image": "QEA="
    }
  ],
  "Images": [
    "QEA=",
    "QEA="
  ],
  "TotalCustomerVisits": 7
}

application/xml, text/xml

Sample:
<OpsInspectionTxDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <CustomerComments>sample string 3</CustomerComments>
  <CustomerInspectionID>1</CustomerInspectionID>
  <CustomerRating>true</CustomerRating>
  <DateTime>2024-12-28T08:51:31.1403689+02:00</DateTime>
  <ID>1</ID>
  <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:base64Binary>QEA=</d2p1:base64Binary>
    <d2p1:base64Binary>QEA=</d2p1:base64Binary>
  </Images>
  <OpsComments>sample string 4</OpsComments>
  <OpsInspectionImages>
    <OpsInspectionImageDTO>
      <FilePath>sample string 3</FilePath>
      <ID>1</ID>
      <Image>QEA=</Image>
      <OpsInspectionTxID>2</OpsInspectionTxID>
    </OpsInspectionImageDTO>
    <OpsInspectionImageDTO>
      <FilePath>sample string 3</FilePath>
      <ID>1</ID>
      <Image>QEA=</Image>
      <OpsInspectionTxID>2</OpsInspectionTxID>
    </OpsInspectionImageDTO>
  </OpsInspectionImages>
  <OpsManagerAssessmentAllocationID>1</OpsManagerAssessmentAllocationID>
  <OpsManagerTaskGroupID>1</OpsManagerTaskGroupID>
  <OpsRating>1</OpsRating>
  <TotalCustomerVisits>7</TotalCustomerVisits>
  <Type>CustomerVisited</Type>
  <VisitedCustomer>true</VisitedCustomer>
</OpsInspectionTxDTO>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

OpsInspectionTxDTO
NameDescriptionTypeAdditional information
ID

integer

None.

OpsManagerTaskGroupID

integer

None.

VisitedCustomer

boolean

None.

Type

OpsTransactionType

None.

CustomerInspectionID

integer

None.

CustomerComments

string

None.

OpsComments

string

None.

DateTime

date

None.

OpsRating

integer

None.

CustomerRating

boolean

None.

OpsManagerAssessmentAllocationID

integer

None.

OpsInspectionImages

Collection of OpsInspectionImageDTO

None.

Images

Collection of Collection of byte

None.

TotalCustomerVisits

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "OpsManagerTaskGroupID": 1,
  "VisitedCustomer": true,
  "Type": 1,
  "CustomerInspectionID": 1,
  "CustomerComments": "sample string 3",
  "OpsComments": "sample string 4",
  "DateTime": "2024-12-28T08:51:31.1413419+02:00",
  "OpsRating": 1,
  "CustomerRating": true,
  "OpsManagerAssessmentAllocationID": 1,
  "OpsInspectionImages": [
    {
      "ID": 1,
      "OpsInspectionTxID": 2,
      "FilePath": "sample string 3",
      "Image": "QEA="
    },
    {
      "ID": 1,
      "OpsInspectionTxID": 2,
      "FilePath": "sample string 3",
      "Image": "QEA="
    }
  ],
  "Images": [
    "QEA=",
    "QEA="
  ],
  "TotalCustomerVisits": 7
}

application/xml, text/xml

Sample:
<OpsInspectionTxDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataAccess.DTO">
  <CustomerComments>sample string 3</CustomerComments>
  <CustomerInspectionID>1</CustomerInspectionID>
  <CustomerRating>true</CustomerRating>
  <DateTime>2024-12-28T08:51:31.1413419+02:00</DateTime>
  <ID>1</ID>
  <Images xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:base64Binary>QEA=</d2p1:base64Binary>
    <d2p1:base64Binary>QEA=</d2p1:base64Binary>
  </Images>
  <OpsComments>sample string 4</OpsComments>
  <OpsInspectionImages>
    <OpsInspectionImageDTO>
      <FilePath>sample string 3</FilePath>
      <ID>1</ID>
      <Image>QEA=</Image>
      <OpsInspectionTxID>2</OpsInspectionTxID>
    </OpsInspectionImageDTO>
    <OpsInspectionImageDTO>
      <FilePath>sample string 3</FilePath>
      <ID>1</ID>
      <Image>QEA=</Image>
      <OpsInspectionTxID>2</OpsInspectionTxID>
    </OpsInspectionImageDTO>
  </OpsInspectionImages>
  <OpsManagerAssessmentAllocationID>1</OpsManagerAssessmentAllocationID>
  <OpsManagerTaskGroupID>1</OpsManagerTaskGroupID>
  <OpsRating>1</OpsRating>
  <TotalCustomerVisits>7</TotalCustomerVisits>
  <Type>CustomerVisited</Type>
  <VisitedCustomer>true</VisitedCustomer>
</OpsInspectionTxDTO>