Show / Hide Table of Contents

    SetBlockedStatus

    Command, Introduced in version 22.6

    POST https://localhost:8001/sv/001.1/api/v1/Purchase/Suppliers/SetBlockedStatus
    

    Sets the block status of a supplier.

    Returns EntityCommandResponse

    The root entity id of the response is the business key identifier of the supplier. References Suppliers

    The entity id of the response is the same as the root entity id.

    Required permission

    Modify supplier
    

    Properties

    Name Type Summary Introduced in
    SupplierId Int64 The business key identifier of the supplier to set blocked status for.

    • References Suppliers
    • Mandatory
    BlockedStatus NotNullIntegerInput The block status to set for the supplier.

    • None: 0
    • Message: 1
    • Blocked: 2
    BusinessContactBlockContext NotNullIntegerInput The context type to apply to the block.

    • None: 0
    • Register: 1
    • Report: 2
    • RegisterSupplierInvoice: 4
    • Payments: 8
    Comment SetComment The comment for the blocked message.

    Example

    {
      "SupplierId": 0,
      "BlockedStatus": null,
      "BusinessContactBlockContext": null,
      "Comment": null
    }
    
    Back to top Copyright © 2023 Monitor ERP System AB