# Sign a Waste Form as Organizer

To sign a waste form as the organizer using the Dashdoc Wam API, follow the steps below. Ensure that the waste form meets the specified conditions before attempting to sign it.

## Conditions for Signing a Waste Form

1. **Organizer**: The company requesting the signature must be the organizer.
2. **Status**: The waste form must be in the draft status.
3. **Required Fields**:
   * **Processor**: Must be specified.
   * **Producer**: Must be specified.
   * **Carrier**: Must be specified.
   * **Organizer**: Must be specified.
   * **Origin**: Must be specified.
   * **Transport Date**: Must be specified.
   * **Carrier Contact**: Must be specified.
   * **Producer Contact**: Must be specified.
   * **Processor Signatory**: Must be specified.
   * **Loads**: At least one load must be specified.
   * **Dangerous Loads**: If the load is dangerous, the following fields must be specified:
     * `physical_properties`
     * `chemical_composition`
     * `packaging_type`
     * `treatment_type`
     * `quantity`

## API Endpoint

**Endpoint**: `POST /wam/forms/{uid}/sign-as-organizer/`

**Path Parameters**:

* `uid` (required): Unique identifier of the waste form.

## Example Request

#### Request

```http
POST /wam/forms/123e4567-e89b-12d3-a456-426614174000/sign-as-organizer/
```

#### Response

**Status Code**: `200 Sign successful`

```json
{
  "uid": "123e4567-e89b-12d3-a456-426614174000",
  "name": "DAS-1",
  "status": "signed",
  "pdf": {
    "url": "http://example.com/pdf",
    "updated_date": "2022-01-01T00:00:00Z"
  },
  "discontinued_reason": null,
  "transport_uid": null,
  "producer_id": 1,
  "processor_id": 2,
  "carrier_id": 3,
  "organizer_id": 4,
  "origin_id": 5,
  "instructions": "Handle with care",
  "transport_date": "2022-01-01T00:00:00Z",
  "carrier_contact_uid": "123e4567-e89b-12d3-a456-426614174000",
  "organizer_signatory_uid": "123e4567-e89b-12d3-a456-426614174000",
  "producer_contact_uid": "123e4567-e89b-12d3-a456-426614174000",
  "processor_contact_uid": "123e4567-e89b-12d3-a456-426614174000",
  "processor_signatory_uid": "123e4567-e89b-12d3-a456-426614174000",
  "created": "2022-01-01T00:00:00Z",
  "updated": "2022-01-01T00:00:00Z"
}
```

## Notes

* Ensure that all required fields are correctly filled out before attempting to sign the waste form.
* The waste form must be in the draft status to be signed.
* If the load is dangerous, make sure to include all necessary details.

By following these steps, you can successfully sign a waste form as the organizer using the Dashdoc Wam API.<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://developer.dashdoc.com/docs/use-cases-and-tutorials/dashdoc-wam/sign-a-waste-form-as-organizer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
