POST api/services/import/v1/customeroptions/setcustomeroptions

Request Information

URI Parameters

None.

Body Parameters

FlcCustomerOptionsSetterInformation
NameDescriptionTypeAdditional information
CrmId

string

None.

PlantStructure

boolean

None.

StockPriceAvailability

boolean

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:
{
  "CrmId": "sample string 1",
  "PlantStructure": true,
  "StockPriceAvailability": true,
  "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 4",
  "SourceTenant": "sample string 5",
  "JobTitle": "sample string 6"
}

application/xml, text/xml

Sample:
<FlcCustomerOptionsSetterInformation 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 6</JobTitle>
  <SourceTenant>sample string 5</SourceTenant>
  <TargetTenant>sample string 4</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>
  <CrmId>sample string 1</CrmId>
  <PlantStructure>true</PlantStructure>
  <StockPriceAvailability>true</StockPriceAvailability>
</FlcCustomerOptionsSetterInformation>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of string

Response Formats

application/json, text/json

Sample:
[
  "sample string 1",
  "sample string 2"
]

application/xml, text/xml

Sample:
<ArrayOfstring xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
  <string>sample string 1</string>
  <string>sample string 2</string>
</ArrayOfstring>