WebAPI - Changing a part or service attribute
This
method allows to change a part or service field.
The
method to be used to change a part or service attribute is:
PUT
{{url}/api/{{tenant}}/{{organization}}/businesscore/parts/{{partKey}}/{{atributo}}
The
parameters on the method are the following:
- partKey:
part/service key
- atributo:
to be replaced by the attribute you wish to change on the part
Body
example to change the part/service attribute
Select:
- x-www-form-urlencoded
- on
the column VALUE, place the value of the attribute you wish to change.
Example:
Changing the description of the part I-0012.
When
this method is executed successfully, it returns HttpStatusCode.200 OK
This method does not allow changes on the attributes for
the part of the part type inventory extension. Only the method allows to change
the attributes of the part or service general tab.
Related Articles
Webapi - How to create a part of the service type?
This method allows to create a part of the service type in a simplified manner. The method to be used to create a part of the service type is: POST url/api/mytenant/myorganization/businesscore/parts Json example to create a part of the service type: ...
WebAPI - Changing a requisition attribute
This method allows changing a requisition. The method to be used when changing a requisition attribute is: PUT {{url}/api/{{tenant}}/{{organization}}/requisitions/requisitions/{{company}}/{{requisitionKey}}/{{atributo}} The parameters on the method ...
WebAPI - Changing the request attribute
This method allows to change a request field. The method to be used when changing the request attribute: PUT {{url}/api/{{tenant}}/{{organization}}/requests/requests/{{companyKey}}/{{requestKey}}/{{atributo}} The parameters on the method are the ...
WebAPI - Deleting a part or service
This method allows to delete a part or service. The method to be used when deleting a part or service is: DELETE url/api/mytenant/myorganization/businesscore/parts/{{partKey}} The parameters being replaced on the method are: partKey: key of the part ...
Webapi - Deleting a part or service
This method allows to delete a part or service. The method to be used when deleting a part or service is: DELETE url/api/mytenant/myorganization/businesscore/parts/{{partKey}} The parameters being replaced on the method are: partKey: key of ...