> Markdown versions of all pages of this connector library are available by appending `.md` to the page URL. For the full index of connectors, see [llms.txt](https://connectors.appmixer.com/llms.txt).

# Update Project

- Component: `appmixer.superoffice.core.UpdateProject`
- Kind: Action
- Version: 1.0.0
- Visibility: Public
- Connector: [appmixer.superoffice 1.2.0](https://connectors.appmixer.com/connector/appmixer.superoffice/1.2.0.md)
- Component page: <https://connectors.appmixer.com/connector/appmixer.superoffice/1.2.0/component/appmixer.superoffice.core.UpdateProject>

Update a project. Only the fields you fill in are changed.

## Input ports

### Port `in`

| Field | Type | Description |
| --- | --- | --- |
| Project ID (`projectId`) | text | The ID of the project. Use Find Projects to look it up. |
| Name (`name`) | text | The project name. |
| Project Type (`projectTypeId`) | text | Pick a project type, or type its ID. |
| Project Status (`projectStatusId`) | text | Pick a project status, or type its ID. |
| Start Date (`startDate`) | date-time | - |
| End Date (`endDate`) | date-time | - |
| Description (`description`) | textarea | Text describing the project. |
| Time Zone (`timeZone`) | text | Optional. The time zone of your SuperOffice tenant, for example Europe/Oslo. SuperOffice keeps date-times in the local time of the tenant; the time zone is detected automatically (reliably for European tenants) and this setting overrides it. Date-times the component returns are always in UTC. |

## Output ports

### Port `out`

_No fields defined for this port._

## Full metadata (component.json)

```json
{
  "name": "appmixer.superoffice.core.UpdateProject",
  "label": "Update Project",
  "description": "Update a project. Only the fields you fill in are changed.",
  "author": "Appmixer <info@appmixer.com>",
  "version": "1.0.0",
  "auth": {
    "service": "appmixer:superoffice"
  },
  "quota": {
    "manager": "appmixer:superoffice",
    "resources": "requests",
    "scope": {
      "userId": "{{userId}}"
    }
  },
  "inPorts": [
    {
      "name": "in",
      "schema": {
        "type": "object",
        "properties": {
          "projectId": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "projectTypeId": {
            "type": "string"
          },
          "projectStatusId": {
            "type": "string"
          },
          "startDate": {
            "type": "string",
            "format": "date-time"
          },
          "endDate": {
            "type": "string",
            "format": "date-time"
          },
          "description": {
            "type": "string"
          },
          "timeZone": {
            "type": "string"
          }
        },
        "required": [
          "projectId"
        ]
      },
      "inspector": {
        "inputs": {
          "projectId": {
            "type": "text",
            "index": 1,
            "label": "Project ID",
            "tooltip": "The ID of the project. Use Find Projects to look it up."
          },
          "name": {
            "type": "text",
            "index": 2,
            "label": "Name",
            "tooltip": "The project name."
          },
          "projectTypeId": {
            "type": "text",
            "index": 3,
            "label": "Project Type",
            "tooltip": "Pick a project type, or type its ID.",
            "source": {
              "url": "/component/appmixer/superoffice/core/ListListItems?outPort=out",
              "data": {
                "properties": {
                  "isSource": true,
                  "listName": "ProjectType"
                },
                "transform": "./ListListItems#toSelectArray"
              }
            }
          },
          "projectStatusId": {
            "type": "text",
            "index": 4,
            "label": "Project Status",
            "tooltip": "Pick a project status, or type its ID.",
            "source": {
              "url": "/component/appmixer/superoffice/core/ListListItems?outPort=out",
              "data": {
                "properties": {
                  "isSource": true,
                  "listName": "ProjectStatus"
                },
                "transform": "./ListListItems#toSelectArray"
              }
            }
          },
          "startDate": {
            "type": "date-time",
            "index": 5,
            "label": "Start Date"
          },
          "endDate": {
            "type": "date-time",
            "index": 6,
            "label": "End Date"
          },
          "description": {
            "type": "textarea",
            "index": 7,
            "label": "Description",
            "tooltip": "Text describing the project."
          },
          "timeZone": {
            "type": "text",
            "index": 8,
            "label": "Time Zone",
            "tooltip": "Optional. The time zone of your SuperOffice tenant, for example Europe/Oslo. SuperOffice keeps date-times in the local time of the tenant; the time zone is detected automatically (reliably for European tenants) and this setting overrides it. Date-times the component returns are always in UTC.",
            "source": {
              "url": "/component/appmixer/superoffice/core/ListTimeZones?outPort=out",
              "data": {
                "transform": "./ListTimeZones#toSelectArray"
              }
            }
          }
        }
      }
    }
  ],
  "outPorts": [
    "out"
  ],
  "icon": "(data URI omitted)"
}
```
