POST api/services/import/v1/drawingupdate/startdrawingreplace

Request Information

URI Parameters

None.

Body Parameters

DrawingUpdaterData
NameDescriptionTypeAdditional information
DataLocation

string

None.

DrawingNumber

string

None.

Revision

string

None.

EquipmentNumbers

string

None.

DrawingUpdateType

DrawingUpdateType

None.

ImportType

ImportType

None.

ImportMode

ImportMode

None.

UserData

UserData

None.

TargetTenant

string

None.

SourceTenant

string

None.

JobTitle

string

None.

Request Formats

application/json, text/json

Sample:
{
  "DataLocation": "sample string 1",
  "DrawingNumber": "sample string 2",
  "Revision": "sample string 3",
  "EquipmentNumbers": "sample string 4",
  "DrawingUpdateType": "Drawing Number",
  "ImportType": "PID",
  "ImportMode": "Import",
  "UserData": {
    "Email": "sample string 1",
    "FirstName": "sample string 2",
    "LastName": "sample string 3",
    "UserId": "sample string 4",
    "Divisions": [
      "sample string 1",
      "sample string 2"
    ],
    "UserLevel": 0,
    "IsAdmin": true
  },
  "TargetTenant": "sample string 5",
  "SourceTenant": "sample string 6",
  "JobTitle": "sample string 7"
}

application/xml, text/xml

Sample:
<DrawingUpdaterData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels.JobInformation.Information">
  <ImportMode>Import</ImportMode>
  <ImportType>PID</ImportType>
  <JobTitle>sample string 7</JobTitle>
  <SourceTenant>sample string 6</SourceTenant>
  <TargetTenant>sample string 5</TargetTenant>
  <UserData xmlns:d2p1="http://schemas.datacontract.org/2004/07/Andritz.AES.SPC.ImportTool.DataModels">
    <d2p1:Divisions xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:string>sample string 1</d3p1:string>
      <d3p1:string>sample string 2</d3p1:string>
    </d2p1:Divisions>
    <d2p1:Email>sample string 1</d2p1:Email>
    <d2p1:FirstName>sample string 2</d2p1:FirstName>
    <d2p1:LastName>sample string 3</d2p1:LastName>
    <d2p1:UserId>sample string 4</d2p1:UserId>
    <d2p1:UserLevel>Admin</d2p1:UserLevel>
  </UserData>
  <DataLocation>sample string 1</DataLocation>
  <DrawingNumber>sample string 2</DrawingNumber>
  <DrawingUpdateType>Drawing Number</DrawingUpdateType>
  <EquipmentNumbers>sample string 4</EquipmentNumbers>
  <Revision>sample string 3</Revision>
</DrawingUpdaterData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string 1"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>