POST api/CutAndBend/UpdateCutAndBendDefinition

Update cut and bend definition.

Access

Requires authentication.

Requires SSL.

Request Information

Parameters

NameDescriptionAdditional information
cutAndBendDefinition
The cut and bend definition.

Define this parameter in the request body.

Request body formats

application/xml, text/xml

Sample:
<CutAndBendDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Id>1</Id>
  <Readonly>true</Readonly>
  <CutAndBendId>1</CutAndBendId>
  <MaterialId>1</MaterialId>
  <SpecificationListingId>1</SpecificationListingId>
  <HeadEndArticleId>1</HeadEndArticleId>
  <TailEndArticleId>1</TailEndArticleId>
  <DeliveryOptionId>1</DeliveryOptionId>
  <Code>sample string 1</Code>
  <GroupCount>1</GroupCount>
  <GroupSize>1</GroupSize>
  <Comment>sample string 2</Comment>
  <Parameters>
    <CutAndBendParameterValue>
      <ParameterName>sample string 1</ParameterName>
      <ParameterValue>1</ParameterValue>
    </CutAndBendParameterValue>
    <CutAndBendParameterValue>
      <ParameterName>sample string 1</ParameterName>
      <ParameterValue>1</ParameterValue>
    </CutAndBendParameterValue>
    <CutAndBendParameterValue>
      <ParameterName>sample string 1</ParameterName>
      <ParameterValue>1</ParameterValue>
    </CutAndBendParameterValue>
  </Parameters>
  <BendRadiuses>sample string 3</BendRadiuses>
  <BVBS>
    <BendRadius>1</BendRadius>
    <Geometry>
      <Geometry>
        <Index>1</Index>
        <Length>2</Length>
        <LastStepLength>1</LastStepLength>
        <BendDegrees>3</BendDegrees>
        <SpecificBendRadius>1</SpecificBendRadius>
      </Geometry>
      <Geometry>
        <Index>1</Index>
        <Length>2</Length>
        <LastStepLength>1</LastStepLength>
        <BendDegrees>3</BendDegrees>
        <SpecificBendRadius>1</SpecificBendRadius>
      </Geometry>
      <Geometry>
        <Index>1</Index>
        <Length>2</Length>
        <LastStepLength>1</LastStepLength>
        <BendDegrees>3</BendDegrees>
        <SpecificBendRadius>1</SpecificBendRadius>
      </Geometry>
    </Geometry>
  </BVBS>
  <BVBSTypeAlias>sample string 4</BVBSTypeAlias>
  <BendOnSite>sample string 5</BendOnSite>
  <RowRevision>sample string 6</RowRevision>
  <IntervalInformation>
    <Parameters>
      <CutAndBendParameterValue>
        <ParameterName>sample string 1</ParameterName>
        <ParameterValue>1</ParameterValue>
      </CutAndBendParameterValue>
      <CutAndBendParameterValue>
        <ParameterName>sample string 1</ParameterName>
        <ParameterValue>1</ParameterValue>
      </CutAndBendParameterValue>
      <CutAndBendParameterValue>
        <ParameterName>sample string 1</ParameterName>
        <ParameterValue>1</ParameterValue>
      </CutAndBendParameterValue>
    </Parameters>
    <IsPerBar>true</IsPerBar>
    <IsPerGroup>true</IsPerGroup>
  </IntervalInformation>
</CutAndBendDefinition>

application/json, text/json

Sample:
{
  "IntervalInformation": {
    "Parameters": [
      {
        "ParameterName": "sample string 1",
        "ParameterValue": 1.0
      },
      {
        "ParameterName": "sample string 1",
        "ParameterValue": 1.0
      },
      {
        "ParameterName": "sample string 1",
        "ParameterValue": 1.0
      }
    ],
    "IsPerBar": true,
    "IsPerGroup": true
  },
  "CutAndBendId": 1,
  "MaterialId": 1,
  "SpecificationListingId": 1,
  "HeadEndArticleId": 1,
  "TailEndArticleId": 1,
  "DeliveryOptionId": 1,
  "Code": "sample string 1",
  "GroupCount": 1,
  "GroupSize": 1,
  "Comment": "sample string 2",
  "Parameters": [
    {
      "ParameterName": "sample string 1",
      "ParameterValue": 1.0
    },
    {
      "ParameterName": "sample string 1",
      "ParameterValue": 1.0
    },
    {
      "ParameterName": "sample string 1",
      "ParameterValue": 1.0
    }
  ],
  "BendRadiuses": "sample string 3",
  "BVBS": {
    "BendRadius": 1.0,
    "Geometry": [
      {
        "Index": 1,
        "Length": 2.0,
        "LastStepLength": 1.0,
        "BendDegrees": 3.0,
        "SpecificBendRadius": 1.0
      },
      {
        "Index": 1,
        "Length": 2.0,
        "LastStepLength": 1.0,
        "BendDegrees": 3.0,
        "SpecificBendRadius": 1.0
      },
      {
        "Index": 1,
        "Length": 2.0,
        "LastStepLength": 1.0,
        "BendDegrees": 3.0,
        "SpecificBendRadius": 1.0
      }
    ]
  },
  "BVBSTypeAlias": "sample string 4",
  "BendOnSite": "sample string 5",
  "RowRevision": "sample string 6",
  "Id": 1,
  "Readonly": true
}

Response Information

Response body formats

application/xml, text/xml

Sample:
<ApiResponse xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <ResponseCode>1</ResponseCode>
  <ResponseDescription>sample string 2</ResponseDescription>
  <MethodExpirationDate>2024-05-17T19:14:59.4039567+02:00</MethodExpirationDate>
  <ResponseObject>
    <ModelId>1</ModelId>
    <ModelGUID>sample string 1</ModelGUID>
  </ResponseObject>
</ApiResponse>

application/json, text/json

Sample:
{
  "ResponseCode": 1,
  "ResponseDescription": "sample string 2",
  "MethodExpirationDate": "2024-05-17T19:14:59.4039567+02:00",
  "ResponseObject": {
    "ModelId": 1,
    "ModelGUID": "sample string 1"
  }
}