PUT part/{id}

Updates the part.

Request Information

URI

https://ofd-api.blueprintcpq.net/part/{id}

URI Parameters

NameDescriptionTypeAdditional information
id

The part identifier.

globally unique identifier

Required

Body Parameters

The part properties to update.

PartUpdate
NameDescriptionTypeAdditional information
PartNumber

string

None.

Name

string

None.

Description

string

None.

IsActive

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "PartNumber": "sample string 1",
  "Name": "sample string 2",
  "Description": "sample string 3",
  "IsActive": true
}

text/html

Sample:
{"PartNumber":"sample string 1","Name":"sample string 2","Description":"sample string 3","IsActive":true}

application/xml, text/xml

Sample:
<PartUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Shared.Models.DataModels">
  <Description>sample string 3</Description>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <PartNumber>sample string 1</PartNumber>
</PartUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

True if it succeeds, false if it fails.

boolean

Response Formats

application/json, text/json, text/html

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>