WebAPI - Creating a requisition type

WebAPI - Creating a requisition type

This method allows creating a type of requisition in a simplified manner.

The method to be used to create a requisition type is:

POST url/api/mytenant/myorganization/requisitionscore/requisitiontypes

Json example for creating a type of requisition: 

 

1.         {

        "requisitionTypeKey""PI",

        "description""Pedido Interno",

        "isDefault"false,

        "remarks"

    }

This method allows to create a type of requisition according to the parameters filled in:


i.requestTypeKey: The requisition type key. Mandatory field.

ii.description: Short description of the requisition type. This field is mandatory.

iii.isDefault: Fill in with true or false. A default type is mandatory and only one configured default type can exist.

iv.remarks: Remarks.

When this method is executed successfully, it returns HttpStatusCode.OK.

 



    • Related Articles

    • WebAPI - Creating a request

      This method allows to create a request in a simplified manner. The method to be used when creating a request: POST url/api/mytenant/myorganization/Requests/requests Json example for creating a request: { "requestKey": "00001", "description": "Vidro ...
    • WebAPI - Creating a requisition type

      This method allows to create a type of requisition in a simplified manner. The method to be used to create a requisition type is: POSTurl/api/mytenant/myorganization/requisitionscore/requisitiontypes Json example for creating a type of requisition: ...
    • 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 - Creating a warehouse

      This method allows to create a warehouse in a simplified manner. The method to be used when creating a warehouse: POST url/api/mytenant/myorganization/inventorycore/warehouses Json example for creating a warehouse: 1. { "warehouseKey": "W2", ...
    • WebAPI - Deleting a requisition type

      This method allows you to delete a requisition type. The method to be used when deleting a requisition type is: DELETE url/api/mytenant/myorganization/requisitionscore/requisitiontypes/{{requisitionTypeKey}} The parameters being replaced on the ...