POST api/DesignFile/AddModelFile

Request Information

URI Parameters

None.

Body Parameters

ModelFileAddDto
NameDescriptionTypeAdditional information
Id

integer

None.

UserId

integer

None.

ModelId

integer

None.

DesignPositionId

integer

None.

GraphtecPdfUrl

string

None.

PreviewImageUrl

string

None.

BascocutUrl

string

None.

SilhoutteUrl

string

None.

DesignName

string

None.

PositionName

string

None.

CreatedDate

date

None.

UserName

string

None.

CreatedDateString

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "UserId": 2,
  "ModelId": 3,
  "DesignPositionId": 4,
  "GraphtecPdfUrl": "sample string 5",
  "PreviewImageUrl": "sample string 6",
  "BascocutUrl": "sample string 7",
  "SilhoutteUrl": "sample string 8",
  "DesignName": "sample string 9",
  "PositionName": "sample string 10",
  "CreatedDate": "2023-01-27T16:47:41.6571565+05:30",
  "UserName": "sample string 11",
  "CreatedDateString": "27/01/2023"
}

application/xml, text/xml

Sample:
<ModelFileAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <BascocutUrl>sample string 7</BascocutUrl>
  <CreatedDate>2023-01-27T16:47:41.6571565+05:30</CreatedDate>
  <DesignName>sample string 9</DesignName>
  <DesignPositionId>4</DesignPositionId>
  <GraphtecPdfUrl>sample string 5</GraphtecPdfUrl>
  <Id>1</Id>
  <ModelId>3</ModelId>
  <PositionName>sample string 10</PositionName>
  <PreviewImageUrl>sample string 6</PreviewImageUrl>
  <SilhoutteUrl>sample string 8</SilhoutteUrl>
  <UserId>2</UserId>
  <UserName>sample string 11</UserName>
</ModelFileAddDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BreakProtection.Common.Dto">
  <Data />
  <Message>sample string 2</Message>
  <Status>1</Status>
</Response>