POST AddFileToS3

Request Information

URI Parameters

None.

Body Parameters

FileObjectDetails
NameDescriptionTypeAdditional information
FileURL

string

None.

FileType

string

None.

PartNumber

string

None.

ParameterData

Collection of Parameter

None.

PartId

string

None.

DomainName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FileURL": "sample string 1",
  "FileType": "sample string 2",
  "PartNumber": "sample string 3",
  "ParameterData": [
    {
      "Id": 1,
      "Name": "sample string 2",
      "Value": "sample string 3",
      "ParamType": "sample string 4",
      "Prefix": "sample string 5",
      "Label": "sample string 6",
      "Min": 1.0,
      "Max": 1.0,
      "Offset": 1.0,
      "IsMandatory": true,
      "IsParent": true,
      "DisplayOrder": 9,
      "PartNumberOrder": 1,
      "ImageExist": true,
      "ModelParamValues": [
        {
          "Id": 1,
          "ParameterId": 1,
          "Value": "sample string 1",
          "Label": "sample string 2",
          "IsDefault": true,
          "Path": "sample string 4",
          "Prefix": "sample string 5",
          "PartNumber": "sample string 6"
        },
        {
          "Id": 1,
          "ParameterId": 1,
          "Value": "sample string 1",
          "Label": "sample string 2",
          "IsDefault": true,
          "Path": "sample string 4",
          "Prefix": "sample string 5",
          "PartNumber": "sample string 6"
        }
      ],
      "RuleFunction": [
        "sample string 1",
        "sample string 2"
      ]
    },
    {
      "Id": 1,
      "Name": "sample string 2",
      "Value": "sample string 3",
      "ParamType": "sample string 4",
      "Prefix": "sample string 5",
      "Label": "sample string 6",
      "Min": 1.0,
      "Max": 1.0,
      "Offset": 1.0,
      "IsMandatory": true,
      "IsParent": true,
      "DisplayOrder": 9,
      "PartNumberOrder": 1,
      "ImageExist": true,
      "ModelParamValues": [
        {
          "Id": 1,
          "ParameterId": 1,
          "Value": "sample string 1",
          "Label": "sample string 2",
          "IsDefault": true,
          "Path": "sample string 4",
          "Prefix": "sample string 5",
          "PartNumber": "sample string 6"
        },
        {
          "Id": 1,
          "ParameterId": 1,
          "Value": "sample string 1",
          "Label": "sample string 2",
          "IsDefault": true,
          "Path": "sample string 4",
          "Prefix": "sample string 5",
          "PartNumber": "sample string 6"
        }
      ],
      "RuleFunction": [
        "sample string 1",
        "sample string 2"
      ]
    }
  ],
  "PartId": "sample string 4",
  "DomainName": "sample string 5"
}

application/xml, text/xml

Sample:
<FileObjectDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Models">
  <DomainName>sample string 5</DomainName>
  <FileType>sample string 2</FileType>
  <FileURL>sample string 1</FileURL>
  <ParameterData>
    <Parameter>
      <DisplayOrder>9</DisplayOrder>
      <Id>1</Id>
      <ImageExist>true</ImageExist>
      <IsMandatory>true</IsMandatory>
      <IsParent>true</IsParent>
      <Label>sample string 6</Label>
      <Max>1</Max>
      <Min>1</Min>
      <ModelParamValues>
        <ModelParamValues>
          <Id>1</Id>
          <IsDefault>true</IsDefault>
          <Label>sample string 2</Label>
          <ParameterId>1</ParameterId>
          <PartNumber>sample string 6</PartNumber>
          <Path>sample string 4</Path>
          <Prefix>sample string 5</Prefix>
          <Value>sample string 1</Value>
        </ModelParamValues>
        <ModelParamValues>
          <Id>1</Id>
          <IsDefault>true</IsDefault>
          <Label>sample string 2</Label>
          <ParameterId>1</ParameterId>
          <PartNumber>sample string 6</PartNumber>
          <Path>sample string 4</Path>
          <Prefix>sample string 5</Prefix>
          <Value>sample string 1</Value>
        </ModelParamValues>
      </ModelParamValues>
      <Name>sample string 2</Name>
      <Offset>1</Offset>
      <ParamType>sample string 4</ParamType>
      <PartNumberOrder>1</PartNumberOrder>
      <Prefix>sample string 5</Prefix>
      <RuleFunction xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </RuleFunction>
      <Value>sample string 3</Value>
    </Parameter>
    <Parameter>
      <DisplayOrder>9</DisplayOrder>
      <Id>1</Id>
      <ImageExist>true</ImageExist>
      <IsMandatory>true</IsMandatory>
      <IsParent>true</IsParent>
      <Label>sample string 6</Label>
      <Max>1</Max>
      <Min>1</Min>
      <ModelParamValues>
        <ModelParamValues>
          <Id>1</Id>
          <IsDefault>true</IsDefault>
          <Label>sample string 2</Label>
          <ParameterId>1</ParameterId>
          <PartNumber>sample string 6</PartNumber>
          <Path>sample string 4</Path>
          <Prefix>sample string 5</Prefix>
          <Value>sample string 1</Value>
        </ModelParamValues>
        <ModelParamValues>
          <Id>1</Id>
          <IsDefault>true</IsDefault>
          <Label>sample string 2</Label>
          <ParameterId>1</ParameterId>
          <PartNumber>sample string 6</PartNumber>
          <Path>sample string 4</Path>
          <Prefix>sample string 5</Prefix>
          <Value>sample string 1</Value>
        </ModelParamValues>
      </ModelParamValues>
      <Name>sample string 2</Name>
      <Offset>1</Offset>
      <ParamType>sample string 4</ParamType>
      <PartNumberOrder>1</PartNumberOrder>
      <Prefix>sample string 5</Prefix>
      <RuleFunction xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>sample string 1</d4p1:string>
        <d4p1:string>sample string 2</d4p1:string>
      </RuleFunction>
      <Value>sample string 3</Value>
    </Parameter>
  </ParameterData>
  <PartId>sample string 4</PartId>
  <PartNumber>sample string 3</PartNumber>
</FileObjectDetails>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'FileObjectDetails'.

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>