Errands Types
IMPORTANT: Please note the endpoints defined below are not supported in the Momentum Fastighet API.
UPDATE 2023-06-12: This API will be moved to GraphQL in a future version, do not build new applications towards this API.
Get Errands Types
Returns a list of errands types.
Request example
Example
GET /v2/errands/types
Parameters
Name | Description |
---|---|
use | Use is what errands types are available in a certain environment. Exampel of use is "myPages". Required |
types | Types are a list of errands types that restrict what types that will be received. Example of types are "order" and "general". Not required |
Response example
{
"items": [
{
"id": "orderBasis",
"displayName": "Beställningsunderlag",
"actionDisplayName": "Lägg en beställning",
"presentationType": "general",
"basicFieldTypes": {
"orderBasisText": {
"displayName": "Beställningsunderlag",
"presentationType": "helpText",
"description": "Informationstext"
},
"orderBasisInputText": {
"displayName": "Beställning",
"presentationType": "inputText",
"description": "Beskriv din beställning",
"required": true
},
"orderBasisFile": {
"displayName": "Fil",
"presentationType": "file",
"description": "Bifoga dokument"
}
}
},
{
"id": "housingIssue",
"displayName": "Boendefråga",
"actionDisplayName": "Ställ en fråga om ditt boende",
"presentationType": "general",
"basicFieldTypes": {
"housingIssueText": {
"displayName": "Boendefråga",
"presentationType": "helpText",
"description": "För dig som hyresgäst - ställ en fråga om ditt nuvarande boende"
},
"housingIssueInputText": {
"displayName": "Min fråga",
"presentationType": "inputText",
"description": "Beskriv din fråga",
"required": true
}
}
},
{
"id": "improvement",
"displayName": "Förbättringsförslag",
"actionDisplayName": "Lämna ett förbättringsförslag",
"presentationType": "general",
"basicFieldTypes": {
"improvementText": {
"displayName": "Förbättringsförslag",
"presentationType": "helpText",
"description": "Här kan du lämna önskemål på förändringar av våra fastigheter eller vår verksamhet."
},
"improvementInputText": {
"displayName": "Mitt förslag",
"presentationType": "inputText",
"description": "Beskriv ditt förbättringsförslag",
"required": true
},
"improvementFile": {
"displayName": "Fil",
"presentationType": "file",
"description": "Beskriv ditt förslag med en bild"
}
}
}
]
}
Name | Description |
---|---|
id | Unique identifier of the errand type. Id is either a reference name or a GUID. |
displayName | The name of the errand type. |
actionDisplayName | The name of the action to be taken. |
presentationType | The referance name of grouping errand types for different presentation purposes. |