POST api/Weld/CreateWeldDefinition
Create weld definition.
Access
Requires authentication.
Requires SSL.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
weldDefinition | The weld definition. |
Define this parameter in the request body. |
Request body formats
application/xml, text/xml
Sample:
<WeldDefinition xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <Id>1</Id> <Readonly>true</Readonly> <SpecificationListingId>1</SpecificationListingId> <UseBarBinding>true</UseBarBinding> <Code>sample string 2</Code> <UnitCount>3</UnitCount> <ProductLength>1</ProductLength> <ProductWidth>1</ProductWidth> <ProductHeight>1</ProductHeight> <PartDefinitions> <WeldPartDefinition> <Id>1</Id> <Readonly>true</Readonly> <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> <CutAndBendId>1</CutAndBendId> <MaterialId>1</MaterialId> <HeadEndArticleId>1</HeadEndArticleId> <TailEndArticleId>1</TailEndArticleId> <Code>sample string 1</Code> <GroupSize>1</GroupSize> <Comment>sample string 2</Comment> <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> </WeldPartDefinition> <WeldPartDefinition> <Id>1</Id> <Readonly>true</Readonly> <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> <CutAndBendId>1</CutAndBendId> <MaterialId>1</MaterialId> <HeadEndArticleId>1</HeadEndArticleId> <TailEndArticleId>1</TailEndArticleId> <Code>sample string 1</Code> <GroupSize>1</GroupSize> <Comment>sample string 2</Comment> <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> </WeldPartDefinition> <WeldPartDefinition> <Id>1</Id> <Readonly>true</Readonly> <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> <CutAndBendId>1</CutAndBendId> <MaterialId>1</MaterialId> <HeadEndArticleId>1</HeadEndArticleId> <TailEndArticleId>1</TailEndArticleId> <Code>sample string 1</Code> <GroupSize>1</GroupSize> <Comment>sample string 2</Comment> <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> </WeldPartDefinition> </PartDefinitions> </WeldDefinition>
application/json, text/json
Sample:
{ "PartDefinitions": [ { "Parameters": [ { "ParameterName": "sample string 1", "ParameterValue": 1.0 }, { "ParameterName": "sample string 1", "ParameterValue": 1.0 }, { "ParameterName": "sample string 1", "ParameterValue": 1.0 } ], "CutAndBendId": 1, "MaterialId": 1, "HeadEndArticleId": 1, "TailEndArticleId": 1, "Code": "sample string 1", "GroupSize": 1, "Comment": "sample string 2", "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 }, { "Parameters": [ { "ParameterName": "sample string 1", "ParameterValue": 1.0 }, { "ParameterName": "sample string 1", "ParameterValue": 1.0 }, { "ParameterName": "sample string 1", "ParameterValue": 1.0 } ], "CutAndBendId": 1, "MaterialId": 1, "HeadEndArticleId": 1, "TailEndArticleId": 1, "Code": "sample string 1", "GroupSize": 1, "Comment": "sample string 2", "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 }, { "Parameters": [ { "ParameterName": "sample string 1", "ParameterValue": 1.0 }, { "ParameterName": "sample string 1", "ParameterValue": 1.0 }, { "ParameterName": "sample string 1", "ParameterValue": 1.0 } ], "CutAndBendId": 1, "MaterialId": 1, "HeadEndArticleId": 1, "TailEndArticleId": 1, "Code": "sample string 1", "GroupSize": 1, "Comment": "sample string 2", "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 } ], "SpecificationListingId": 1, "UseBarBinding": true, "Code": "sample string 2", "UnitCount": 3, "ProductLength": 1.0, "ProductWidth": 1.0, "ProductHeight": 1.0, "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>2025-04-29T15:23:02.0718076+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": "2025-04-29T15:23:02.0718076+02:00", "ResponseObject": { "ModelId": 1, "ModelGUID": "sample string 1" } }