{
    "openapi":  "3.1.1",
    "info":  {
                 "title":  "SitterIT Mobigo REST API",
                 "description":  "REST API for Mobigo. Runs next to Mobigo on the customer\u0027s own server and\r\nwrites through Mobigo\u0027s own rules — numbering, pricing, permissions and\r\nvalidation.\r\n\r\nAuthentication with `Authorization: Bearer mk_...` (API key) or `Bearer mt_...`\r\n(token from `POST /v1/token`). The key determines which company the call\r\napplies to. Writing calls require the `Idempotency-Key` header.\r\n\r\nThe guides are in Swedish: [integratörsguide](/mobigo-api/docs/) ·\r\n[drift och installation](/mobigo-api/docs/drift/) · [administration](/mobigo-api/).",
                 "version":  "v1"
             },
    "paths":  {
                  "/health":  {
                                  "get":  {
                                              "tags":  [
                                                           "System"
                                                       ],
                                              "summary":  "Shows that the API is alive. Requires no key.",
                                              "responses":  {
                                                                "200":  {
                                                                            "description":  "OK"
                                                                        }
                                                            }
                                          }
                              },
                  "/v1/whoami":  {
                                     "get":  {
                                                 "tags":  [
                                                              "System"
                                                          ],
                                                 "summary":  "Which integration, which company and which scopes the key grants.",
                                                 "responses":  {
                                                                   "200":  {
                                                                               "description":  "OK"
                                                                           }
                                                               }
                                             }
                                 },
                  "/v1/token":  {
                                    "post":  {
                                                 "tags":  [
                                                              "Authentication"
                                                          ],
                                                 "summary":  "Gets an access token.",
                                                 "requestBody":  {
                                                                     "content":  {
                                                                                     "application/json":  {
                                                                                                              "schema":  {
                                                                                                                             "$ref":  "#/components/schemas/TokenRequest"
                                                                                                                         }
                                                                                                          }
                                                                                 },
                                                                     "required":  true
                                                                 },
                                                 "responses":  {
                                                                   "401":  {
                                                                               "description":  "Unauthorized",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           }
                                                               }
                                             }
                                },
                  "/v1/tasks":  {
                                    "get":  {
                                                "tags":  [
                                                             "Tasks"
                                                         ],
                                                "summary":  "Lists tasks, newest first. Filters: modifiedSince, modifiedBefore, status (comma separated), customerNr. Page with cursor or page. At most 500 per call. Requires scope tasks:read.",
                                                "parameters":  [
                                                                   {
                                                                       "name":  "limit",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                      "type":  [
                                                                                                   "integer",
                                                                                                   "string"
                                                                                               ],
                                                                                      "format":  "int32"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "page",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                      "type":  [
                                                                                                   "integer",
                                                                                                   "string"
                                                                                               ],
                                                                                      "format":  "int32"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "cursor",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "modifiedSince",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "modifiedBefore",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "status",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "customerNr",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   }
                                                               ],
                                                "responses":  {
                                                                  "200":  {
                                                                              "description":  "OK",
                                                                              "content":  {
                                                                                              "application/json":  {
                                                                                                                       "schema":  {
                                                                                                                                      "$ref":  "#/components/schemas/TaskListDto"
                                                                                                                                  }
                                                                                                                   }
                                                                                          }
                                                                          },
                                                                  "403":  {
                                                                              "description":  "Forbidden",
                                                                              "content":  {
                                                                                              "application/problem+json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                          }
                                                                                                                           }
                                                                                          }
                                                                          },
                                                                  "503":  {
                                                                              "description":  "Service Unavailable",
                                                                              "content":  {
                                                                                              "application/problem+json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                          }
                                                                                                                           }
                                                                                          }
                                                                          }
                                                              }
                                            },
                                    "post":  {
                                                 "tags":  [
                                                              "Tasks"
                                                          ],
                                                 "summary":  "Creates a task, optionally with materials, time, extra fields and documents in the same call. Requires scope tasks:write and the Idempotency-Key header.",
                                                 "parameters":  [
                                                                    {
                                                                        "name":  "Idempotency-Key",
                                                                        "in":  "header",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    }
                                                                ],
                                                 "requestBody":  {
                                                                     "content":  {
                                                                                     "application/json":  {
                                                                                                              "schema":  {
                                                                                                                             "$ref":  "#/components/schemas/CreateTaskRequest"
                                                                                                                         }
                                                                                                          }
                                                                                 },
                                                                     "required":  true
                                                                 },
                                                 "responses":  {
                                                                   "400":  {
                                                                               "description":  "Bad Request",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           },
                                                                   "403":  {
                                                                               "description":  "Forbidden",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           },
                                                                   "409":  {
                                                                               "description":  "Conflict",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           },
                                                                   "422":  {
                                                                               "description":  "Unprocessable Entity",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           },
                                                                   "503":  {
                                                                               "description":  "Service Unavailable",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           }
                                                               }
                                             }
                                },
                  "/v1/tasks/extra-fields":  {
                                                 "get":  {
                                                             "tags":  [
                                                                          "Tasks"
                                                                      ],
                                                             "summary":  "Describes the customer-defined extra fields on tasks: key, type, whether it can be written and the allowed values for list fields. Requires scope tasks:read.",
                                                             "responses":  {
                                                                               "403":  {
                                                                                           "description":  "Forbidden",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "503":  {
                                                                                           "description":  "Service Unavailable",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       }
                                                                           }
                                                         }
                                             },
                  "/v1/tasks/{nr}":  {
                                         "get":  {
                                                     "tags":  [
                                                                  "Tasks"
                                                              ],
                                                     "summary":  "Gets one task by its number, with extra fields. Requires scope tasks:read.",
                                                     "parameters":  [
                                                                        {
                                                                            "name":  "nr",
                                                                            "in":  "path",
                                                                            "required":  true,
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        }
                                                                    ],
                                                     "responses":  {
                                                                       "200":  {
                                                                                   "description":  "OK",
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/TaskDto"
                                                                                                                                       }
                                                                                                                        }
                                                                                               }
                                                                               },
                                                                       "403":  {
                                                                                   "description":  "Forbidden",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "422":  {
                                                                                   "description":  "Unprocessable Entity",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               }
                                                                   }
                                                 }
                                     },
                  "/v1/tasks/{nr}/location":  {
                                                  "get":  {
                                                              "tags":  [
                                                                           "Tasks"
                                                                       ],
                                                              "summary":  "The geographic position of a task, as Mobigo has it. With locate=true Mobigo recalculates it first from the task\u0027s customer, object or address, through the customer\u0027s own geocoding setup. Requires scope tasks:read.",
                                                              "parameters":  [
                                                                                 {
                                                                                     "name":  "nr",
                                                                                     "in":  "path",
                                                                                     "required":  true,
                                                                                     "schema":  {
                                                                                                    "type":  "string"
                                                                                                }
                                                                                 },
                                                                                 {
                                                                                     "name":  "locate",
                                                                                     "in":  "query",
                                                                                     "schema":  {
                                                                                                    "type":  "boolean"
                                                                                                }
                                                                                 },
                                                                                 {
                                                                                     "name":  "force",
                                                                                     "in":  "query",
                                                                                     "schema":  {
                                                                                                    "type":  "boolean"
                                                                                                }
                                                                                 }
                                                                             ],
                                                              "responses":  {
                                                                                "403":  {
                                                                                            "description":  "Forbidden",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        },
                                                                                "422":  {
                                                                                            "description":  "Unprocessable Entity",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        }
                                                                            }
                                                          },
                                                  "put":  {
                                                              "tags":  [
                                                                           "Tasks"
                                                                       ],
                                                              "summary":  "Pins a task to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope tasks:write and the Idempotency-Key header.",
                                                              "parameters":  [
                                                                                 {
                                                                                     "name":  "Idempotency-Key",
                                                                                     "in":  "header",
                                                                                     "schema":  {
                                                                                                    "type":  "string"
                                                                                                }
                                                                                 },
                                                                                 {
                                                                                     "name":  "nr",
                                                                                     "in":  "path",
                                                                                     "required":  true,
                                                                                     "schema":  {
                                                                                                    "type":  "string"
                                                                                                }
                                                                                 }
                                                                             ],
                                                              "requestBody":  {
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                      }
                                                                                                                       }
                                                                                              },
                                                                                  "required":  true
                                                                              },
                                                              "responses":  {
                                                                                "400":  {
                                                                                            "description":  "Bad Request",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        },
                                                                                "403":  {
                                                                                            "description":  "Forbidden",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        },
                                                                                "422":  {
                                                                                            "description":  "Unprocessable Entity",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        }
                                                                            }
                                                          }
                                              },
                  "/v1/tasks/{nr}/status":  {
                                                "post":  {
                                                             "tags":  [
                                                                          "Tasks"
                                                                      ],
                                                             "summary":  "Changes the task status through Mobigo\u0027s own transition rules.",
                                                             "parameters":  [
                                                                                {
                                                                                    "name":  "Idempotency-Key",
                                                                                    "in":  "header",
                                                                                    "schema":  {
                                                                                                   "type":  "string"
                                                                                               }
                                                                                },
                                                                                {
                                                                                    "name":  "nr",
                                                                                    "in":  "path",
                                                                                    "required":  true,
                                                                                    "schema":  {
                                                                                                   "type":  "string"
                                                                                               }
                                                                                }
                                                                            ],
                                                             "requestBody":  {
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/StatusChangeDto"
                                                                                                                                     }
                                                                                                                      }
                                                                                             },
                                                                                 "required":  true
                                                                             },
                                                             "responses":  {
                                                                               "400":  {
                                                                                           "description":  "Bad Request",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "403":  {
                                                                                           "description":  "Forbidden",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "409":  {
                                                                                           "description":  "Conflict",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "422":  {
                                                                                           "description":  "Unprocessable Entity",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "503":  {
                                                                                           "description":  "Service Unavailable",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       }
                                                                           }
                                                         }
                                            },
                  "/v1/tasks/{nr}/notes":  {
                                               "post":  {
                                                            "tags":  [
                                                                         "Tasks"
                                                                     ],
                                                            "summary":  "Adds a note to the task as a log entry.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               },
                                                                               {
                                                                                   "name":  "nr",
                                                                                   "in":  "path",
                                                                                   "required":  true,
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/NoteDto"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                           },
                  "/v1/tasks/{nr}/times":  {
                                               "post":  {
                                                            "tags":  [
                                                                         "Tasks"
                                                                     ],
                                                            "summary":  "Registers time on the task.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               },
                                                                               {
                                                                                   "name":  "nr",
                                                                                   "in":  "path",
                                                                                   "required":  true,
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/TimeLineDto"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                           },
                  "/v1/tasks/{nr}/materials":  {
                                                   "post":  {
                                                                "tags":  [
                                                                             "Tasks"
                                                                         ],
                                                                "summary":  "Registers material on the task.",
                                                                "parameters":  [
                                                                                   {
                                                                                       "name":  "Idempotency-Key",
                                                                                       "in":  "header",
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   },
                                                                                   {
                                                                                       "name":  "nr",
                                                                                       "in":  "path",
                                                                                       "required":  true,
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   }
                                                                               ],
                                                                "requestBody":  {
                                                                                    "content":  {
                                                                                                    "application/json":  {
                                                                                                                             "schema":  {
                                                                                                                                            "$ref":  "#/components/schemas/MaterialLineDto"
                                                                                                                                        }
                                                                                                                         }
                                                                                                },
                                                                                    "required":  true
                                                                                },
                                                                "responses":  {
                                                                                  "400":  {
                                                                                              "description":  "Bad Request",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "422":  {
                                                                                              "description":  "Unprocessable Entity",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                               },
                  "/v1/tasks/{nr}/documents":  {
                                                   "post":  {
                                                                "tags":  [
                                                                             "Tasks"
                                                                         ],
                                                                "summary":  "Attaches a document to the task. The content is sent as base64.",
                                                                "parameters":  [
                                                                                   {
                                                                                       "name":  "Idempotency-Key",
                                                                                       "in":  "header",
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   },
                                                                                   {
                                                                                       "name":  "nr",
                                                                                       "in":  "path",
                                                                                       "required":  true,
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   }
                                                                               ],
                                                                "requestBody":  {
                                                                                    "content":  {
                                                                                                    "application/json":  {
                                                                                                                             "schema":  {
                                                                                                                                            "$ref":  "#/components/schemas/DocumentDto"
                                                                                                                                        }
                                                                                                                         }
                                                                                                },
                                                                                    "required":  true
                                                                                },
                                                                "responses":  {
                                                                                  "400":  {
                                                                                              "description":  "Bad Request",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "422":  {
                                                                                              "description":  "Unprocessable Entity",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            },
                                                   "get":  {
                                                               "tags":  [
                                                                            "Tasks"
                                                                        ],
                                                               "summary":  "The documents on the task — name, type and kind, never the content. Requires scope tasks:read.",
                                                               "parameters":  [
                                                                                  {
                                                                                      "name":  "nr",
                                                                                      "in":  "path",
                                                                                      "required":  true,
                                                                                      "schema":  {
                                                                                                     "type":  "string"
                                                                                                 }
                                                                                  }
                                                                              ],
                                                               "responses":  {
                                                                                 "403":  {
                                                                                             "description":  "Forbidden",
                                                                                             "content":  {
                                                                                                             "application/problem+json":  {
                                                                                                                                              "schema":  {
                                                                                                                                                             "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                         }
                                                                                                                                          }
                                                                                                         }
                                                                                         },
                                                                                 "422":  {
                                                                                             "description":  "Unprocessable Entity",
                                                                                             "content":  {
                                                                                                             "application/problem+json":  {
                                                                                                                                              "schema":  {
                                                                                                                                                             "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                         }
                                                                                                                                          }
                                                                                                         }
                                                                                         },
                                                                                 "503":  {
                                                                                             "description":  "Service Unavailable",
                                                                                             "content":  {
                                                                                                             "application/problem+json":  {
                                                                                                                                              "schema":  {
                                                                                                                                                             "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                         }
                                                                                                                                          }
                                                                                                         }
                                                                                         }
                                                                             }
                                                           }
                                               },
                  "/v1/tasks/{nr}/documents/{id}":  {
                                                        "get":  {
                                                                    "tags":  [
                                                                                 "Tasks"
                                                                             ],
                                                                    "summary":  "Downloads a document\u0027s content as a file. Requires scope tasks:read.",
                                                                    "parameters":  [
                                                                                       {
                                                                                           "name":  "nr",
                                                                                           "in":  "path",
                                                                                           "required":  true,
                                                                                           "schema":  {
                                                                                                          "type":  "string"
                                                                                                      }
                                                                                       },
                                                                                       {
                                                                                           "name":  "id",
                                                                                           "in":  "path",
                                                                                           "required":  true,
                                                                                           "schema":  {
                                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                                          "type":  "integer",
                                                                                                          "format":  "int32"
                                                                                                      }
                                                                                       }
                                                                                   ],
                                                                    "responses":  {
                                                                                      "403":  {
                                                                                                  "description":  "Forbidden",
                                                                                                  "content":  {
                                                                                                                  "application/problem+json":  {
                                                                                                                                                   "schema":  {
                                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                              }
                                                                                                                                               }
                                                                                                              }
                                                                                              },
                                                                                      "422":  {
                                                                                                  "description":  "Unprocessable Entity",
                                                                                                  "content":  {
                                                                                                                  "application/problem+json":  {
                                                                                                                                                   "schema":  {
                                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                              }
                                                                                                                                               }
                                                                                                              }
                                                                                              },
                                                                                      "503":  {
                                                                                                  "description":  "Service Unavailable",
                                                                                                  "content":  {
                                                                                                                  "application/problem+json":  {
                                                                                                                                                   "schema":  {
                                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                              }
                                                                                                                                               }
                                                                                                              }
                                                                                              }
                                                                                  }
                                                                }
                                                    },
                  "/v1/field-names":  {
                                          "get":  {
                                                      "tags":  [
                                                                   "System"
                                                               ],
                                                      "summary":  "The customer\u0027s own labels for Mobigo\u0027s standard fields: DbFieldName is the name this API uses, UserFieldName is what the customer calls it, and ListOnly means the field is shown in lists only. Read only — the labels are set in Mobigo. Any valid key.",
                                                      "responses":  {
                                                                        "503":  {
                                                                                    "description":  "Service Unavailable",
                                                                                    "content":  {
                                                                                                    "application/problem+json":  {
                                                                                                                                     "schema":  {
                                                                                                                                                    "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                }
                                                                                                                                 }
                                                                                                }
                                                                                }
                                                                    }
                                                  }
                                      },
                  "/v1/orders/{nr}/lines":  {
                                                "post":  {
                                                             "tags":  [
                                                                          "Orders"
                                                                      ],
                                                             "summary":  "Adds a line to an order. Requires scope orders:write and the Idempotency-Key header.",
                                                             "parameters":  [
                                                                                {
                                                                                    "name":  "Idempotency-Key",
                                                                                    "in":  "header",
                                                                                    "schema":  {
                                                                                                   "type":  "string"
                                                                                               }
                                                                                },
                                                                                {
                                                                                    "name":  "nr",
                                                                                    "in":  "path",
                                                                                    "required":  true,
                                                                                    "schema":  {
                                                                                                   "type":  "string"
                                                                                               }
                                                                                }
                                                                            ],
                                                             "requestBody":  {
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/OrderLineDto"
                                                                                                                                     }
                                                                                                                      }
                                                                                             },
                                                                                 "required":  true
                                                                             },
                                                             "responses":  {
                                                                               "400":  {
                                                                                           "description":  "Bad Request",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "403":  {
                                                                                           "description":  "Forbidden",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "409":  {
                                                                                           "description":  "Conflict",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "422":  {
                                                                                           "description":  "Unprocessable Entity",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       }
                                                                           }
                                                         }
                                            },
                  "/v1/customers":  {
                                        "get":  {
                                                    "tags":  [
                                                                 "Customers"
                                                             ],
                                                    "summary":  "Lists customers, newest first. Filters: modifiedSince, modifiedBefore, name, category. Page with cursor or page. At most 500 per call. Requires scope customers:read.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "limit",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "page",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "cursor",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedSince",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedBefore",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "name",
                                                                           "in":  "query",
                                                                           "description":  "Fritextsökning i namnet.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "category",
                                                                           "in":  "query",
                                                                           "description":  "Exakt kategori.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "responses":  {
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "503":  {
                                                                                  "description":  "Service Unavailable",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "200":  {
                                                                                  "description":  "En sida med customers, nyaste först.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/CustomersPage"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                },
                                        "post":  {
                                                     "tags":  [
                                                                  "Customers"
                                                              ],
                                                     "summary":  "Creates a customer. Requires scope customers:write and the Idempotency-Key header.",
                                                     "parameters":  [
                                                                        {
                                                                            "name":  "Idempotency-Key",
                                                                            "in":  "header",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        }
                                                                    ],
                                                     "requestBody":  {
                                                                         "content":  {
                                                                                         "application/json":  {
                                                                                                                  "schema":  {
                                                                                                                                 "$ref":  "#/components/schemas/CustomersWrite"
                                                                                                                             }
                                                                                                              }
                                                                                     },
                                                                         "required":  true
                                                                     },
                                                     "responses":  {
                                                                       "400":  {
                                                                                   "description":  "Bad Request",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "403":  {
                                                                                   "description":  "Forbidden",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "409":  {
                                                                                   "description":  "Conflict",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "422":  {
                                                                                   "description":  "Unprocessable Entity",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "201":  {
                                                                                   "description":  "Den skapade kunden, som Mobigo sparade den.",
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/Customers"
                                                                                                                                       }
                                                                                                                        }
                                                                                               }
                                                                               }
                                                                   }
                                                 }
                                    },
                  "/v1/customers/extra-fields":  {
                                                     "get":  {
                                                                 "tags":  [
                                                                              "Customers"
                                                                          ],
                                                                 "summary":  "Describes the customer-defined extra fields on customers: key, type, whether it can be written and the allowed values for list fields. Requires scope customers:read.",
                                                                 "responses":  {
                                                                                   "403":  {
                                                                                               "description":  "Forbidden",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "503":  {
                                                                                               "description":  "Service Unavailable",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           }
                                                                               }
                                                             }
                                                 },
                  "/v1/customers/{key}":  {
                                              "get":  {
                                                          "tags":  [
                                                                       "Customers"
                                                                   ],
                                                          "summary":  "Gets one customer by Nr. Requires scope customers:read.",
                                                          "parameters":  [
                                                                             {
                                                                                 "name":  "key",
                                                                                 "in":  "path",
                                                                                 "required":  true,
                                                                                 "schema":  {
                                                                                                "type":  "string"
                                                                                            }
                                                                             }
                                                                         ],
                                                          "responses":  {
                                                                            "403":  {
                                                                                        "description":  "Forbidden",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "422":  {
                                                                                        "description":  "Unprocessable Entity",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "200":  {
                                                                                        "description":  "En kund.",
                                                                                        "content":  {
                                                                                                        "application/json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/Customers"
                                                                                                                                            }
                                                                                                                             }
                                                                                                    }
                                                                                    }
                                                                        }
                                                      },
                                              "patch":  {
                                                            "tags":  [
                                                                         "Customers"
                                                                     ],
                                                            "summary":  "Updates a customer. An omitted field is left untouched. Requires scope customers:write and the Idempotency-Key header.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               },
                                                                               {
                                                                                   "name":  "key",
                                                                                   "in":  "path",
                                                                                   "required":  true,
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/CustomersWrite"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "409":  {
                                                                                          "description":  "Conflict",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "200":  {
                                                                                          "description":  "Den uppdaterade kunden.",
                                                                                          "content":  {
                                                                                                          "application/json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/Customers"
                                                                                                                                              }
                                                                                                                               }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                          },
                  "/v1/customers/{key}/location":  {
                                                       "get":  {
                                                                   "tags":  [
                                                                                "Customers"
                                                                            ],
                                                                   "summary":  "The geographic position of a customer, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope customers:read.",
                                                                   "parameters":  [
                                                                                      {
                                                                                          "name":  "key",
                                                                                          "in":  "path",
                                                                                          "required":  true,
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "locate",
                                                                                          "in":  "query",
                                                                                          "schema":  {
                                                                                                         "type":  "boolean"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "force",
                                                                                          "in":  "query",
                                                                                          "schema":  {
                                                                                                         "type":  "boolean"
                                                                                                     }
                                                                                      }
                                                                                  ],
                                                                   "responses":  {
                                                                                     "403":  {
                                                                                                 "description":  "Forbidden",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "422":  {
                                                                                                 "description":  "Unprocessable Entity",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             }
                                                                                 }
                                                               },
                                                       "put":  {
                                                                   "tags":  [
                                                                                "Customers"
                                                                            ],
                                                                   "summary":  "Pins a customer to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope customers:write and the Idempotency-Key header.",
                                                                   "parameters":  [
                                                                                      {
                                                                                          "name":  "Idempotency-Key",
                                                                                          "in":  "header",
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "key",
                                                                                          "in":  "path",
                                                                                          "required":  true,
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      }
                                                                                  ],
                                                                   "requestBody":  {
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   },
                                                                                       "required":  true
                                                                                   },
                                                                   "responses":  {
                                                                                     "400":  {
                                                                                                 "description":  "Bad Request",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "403":  {
                                                                                                 "description":  "Forbidden",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "422":  {
                                                                                                 "description":  "Unprocessable Entity",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             }
                                                                                 }
                                                               }
                                                   },
                  "/v1/products":  {
                                       "get":  {
                                                   "tags":  [
                                                                "Products"
                                                            ],
                                                   "summary":  "Lists products, newest first. Filters: modifiedSince, modifiedBefore, name, category. Page with cursor or page. At most 500 per call. Requires scope products:read.",
                                                   "parameters":  [
                                                                      {
                                                                          "name":  "limit",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "page",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "cursor",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedSince",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedBefore",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "name",
                                                                          "in":  "query",
                                                                          "description":  "Fritextsökning i namnet.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "category",
                                                                          "in":  "query",
                                                                          "description":  "Exakt kategori.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      }
                                                                  ],
                                                   "responses":  {
                                                                     "403":  {
                                                                                 "description":  "Forbidden",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "503":  {
                                                                                 "description":  "Service Unavailable",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "200":  {
                                                                                 "description":  "En sida med products, nyaste först.",
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/ProductsPage"
                                                                                                                                     }
                                                                                                                      }
                                                                                             }
                                                                             }
                                                                 }
                                               },
                                       "post":  {
                                                    "tags":  [
                                                                 "Products"
                                                             ],
                                                    "summary":  "Creates a product. Requires scope products:write and the Idempotency-Key header.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "Idempotency-Key",
                                                                           "in":  "header",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "requestBody":  {
                                                                        "content":  {
                                                                                        "application/json":  {
                                                                                                                 "schema":  {
                                                                                                                                "$ref":  "#/components/schemas/ProductsWrite"
                                                                                                                            }
                                                                                                             }
                                                                                    },
                                                                        "required":  true
                                                                    },
                                                    "responses":  {
                                                                      "400":  {
                                                                                  "description":  "Bad Request",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "409":  {
                                                                                  "description":  "Conflict",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "422":  {
                                                                                  "description":  "Unprocessable Entity",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "201":  {
                                                                                  "description":  "Den skapade artikelen, som Mobigo sparade den.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/Products"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                   },
                  "/v1/products/extra-fields":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Products"
                                                                         ],
                                                                "summary":  "Describes the customer-defined extra fields on products: key, type, whether it can be written and the allowed values for list fields. Requires scope products:read.",
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "503":  {
                                                                                              "description":  "Service Unavailable",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/products/{key}":  {
                                             "get":  {
                                                         "tags":  [
                                                                      "Products"
                                                                  ],
                                                         "summary":  "Gets one product by Nr. Requires scope products:read.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "responses":  {
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "En artikel.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Products"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     },
                                             "patch":  {
                                                           "tags":  [
                                                                        "Products"
                                                                    ],
                                                           "summary":  "Updates a product. An omitted field is left untouched. Requires scope products:write and the Idempotency-Key header.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "Idempotency-Key",
                                                                                  "in":  "header",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "requestBody":  {
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/ProductsWrite"
                                                                                                                                   }
                                                                                                                    }
                                                                                           },
                                                                               "required":  true
                                                                           },
                                                           "responses":  {
                                                                             "400":  {
                                                                                         "description":  "Bad Request",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "409":  {
                                                                                         "description":  "Conflict",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "Den uppdaterade artikelen.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Products"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       }
                                         },
                  "/v1/suppliers":  {
                                        "get":  {
                                                    "tags":  [
                                                                 "Suppliers"
                                                             ],
                                                    "summary":  "Lists suppliers, newest first. Filters: modifiedSince, modifiedBefore, name, category. Page with cursor or page. At most 500 per call. Requires scope suppliers:read.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "limit",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "page",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "cursor",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedSince",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedBefore",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "name",
                                                                           "in":  "query",
                                                                           "description":  "Fritextsökning i namnet.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "category",
                                                                           "in":  "query",
                                                                           "description":  "Exakt kategori.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "responses":  {
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "503":  {
                                                                                  "description":  "Service Unavailable",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "200":  {
                                                                                  "description":  "En sida med suppliers, nyaste först.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/SuppliersPage"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                },
                                        "post":  {
                                                     "tags":  [
                                                                  "Suppliers"
                                                              ],
                                                     "summary":  "Creates a supplier. Requires scope suppliers:write and the Idempotency-Key header.",
                                                     "parameters":  [
                                                                        {
                                                                            "name":  "Idempotency-Key",
                                                                            "in":  "header",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        }
                                                                    ],
                                                     "requestBody":  {
                                                                         "content":  {
                                                                                         "application/json":  {
                                                                                                                  "schema":  {
                                                                                                                                 "$ref":  "#/components/schemas/SuppliersWrite"
                                                                                                                             }
                                                                                                              }
                                                                                     },
                                                                         "required":  true
                                                                     },
                                                     "responses":  {
                                                                       "400":  {
                                                                                   "description":  "Bad Request",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "403":  {
                                                                                   "description":  "Forbidden",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "409":  {
                                                                                   "description":  "Conflict",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "422":  {
                                                                                   "description":  "Unprocessable Entity",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "201":  {
                                                                                   "description":  "Den skapade leverantören, som Mobigo sparade den.",
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/Suppliers"
                                                                                                                                       }
                                                                                                                        }
                                                                                               }
                                                                               }
                                                                   }
                                                 }
                                    },
                  "/v1/suppliers/extra-fields":  {
                                                     "get":  {
                                                                 "tags":  [
                                                                              "Suppliers"
                                                                          ],
                                                                 "summary":  "Describes the customer-defined extra fields on suppliers: key, type, whether it can be written and the allowed values for list fields. Requires scope suppliers:read.",
                                                                 "responses":  {
                                                                                   "403":  {
                                                                                               "description":  "Forbidden",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "503":  {
                                                                                               "description":  "Service Unavailable",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           }
                                                                               }
                                                             }
                                                 },
                  "/v1/suppliers/{key}":  {
                                              "get":  {
                                                          "tags":  [
                                                                       "Suppliers"
                                                                   ],
                                                          "summary":  "Gets one supplier by Nr. Requires scope suppliers:read.",
                                                          "parameters":  [
                                                                             {
                                                                                 "name":  "key",
                                                                                 "in":  "path",
                                                                                 "required":  true,
                                                                                 "schema":  {
                                                                                                "type":  "string"
                                                                                            }
                                                                             }
                                                                         ],
                                                          "responses":  {
                                                                            "403":  {
                                                                                        "description":  "Forbidden",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "422":  {
                                                                                        "description":  "Unprocessable Entity",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "200":  {
                                                                                        "description":  "En leverantör.",
                                                                                        "content":  {
                                                                                                        "application/json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/Suppliers"
                                                                                                                                            }
                                                                                                                             }
                                                                                                    }
                                                                                    }
                                                                        }
                                                      },
                                              "patch":  {
                                                            "tags":  [
                                                                         "Suppliers"
                                                                     ],
                                                            "summary":  "Updates a supplier. An omitted field is left untouched. Requires scope suppliers:write and the Idempotency-Key header.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               },
                                                                               {
                                                                                   "name":  "key",
                                                                                   "in":  "path",
                                                                                   "required":  true,
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/SuppliersWrite"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "409":  {
                                                                                          "description":  "Conflict",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "200":  {
                                                                                          "description":  "Den uppdaterade leverantören.",
                                                                                          "content":  {
                                                                                                          "application/json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/Suppliers"
                                                                                                                                              }
                                                                                                                               }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                          },
                  "/v1/suppliers/{key}/location":  {
                                                       "get":  {
                                                                   "tags":  [
                                                                                "Suppliers"
                                                                            ],
                                                                   "summary":  "The geographic position of a supplier, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope suppliers:read.",
                                                                   "parameters":  [
                                                                                      {
                                                                                          "name":  "key",
                                                                                          "in":  "path",
                                                                                          "required":  true,
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "locate",
                                                                                          "in":  "query",
                                                                                          "schema":  {
                                                                                                         "type":  "boolean"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "force",
                                                                                          "in":  "query",
                                                                                          "schema":  {
                                                                                                         "type":  "boolean"
                                                                                                     }
                                                                                      }
                                                                                  ],
                                                                   "responses":  {
                                                                                     "403":  {
                                                                                                 "description":  "Forbidden",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "422":  {
                                                                                                 "description":  "Unprocessable Entity",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             }
                                                                                 }
                                                               },
                                                       "put":  {
                                                                   "tags":  [
                                                                                "Suppliers"
                                                                            ],
                                                                   "summary":  "Pins a supplier to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope suppliers:write and the Idempotency-Key header.",
                                                                   "parameters":  [
                                                                                      {
                                                                                          "name":  "Idempotency-Key",
                                                                                          "in":  "header",
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "key",
                                                                                          "in":  "path",
                                                                                          "required":  true,
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      }
                                                                                  ],
                                                                   "requestBody":  {
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   },
                                                                                       "required":  true
                                                                                   },
                                                                   "responses":  {
                                                                                     "400":  {
                                                                                                 "description":  "Bad Request",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "403":  {
                                                                                                 "description":  "Forbidden",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "422":  {
                                                                                                 "description":  "Unprocessable Entity",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             }
                                                                                 }
                                                               }
                                                   },
                  "/v1/quotes":  {
                                     "get":  {
                                                 "tags":  [
                                                              "Quotes"
                                                          ],
                                                 "summary":  "Lists quotes, newest first. Filters: modifiedSince, modifiedBefore, status, customerNr. Page with cursor or page. At most 500 per call. Requires scope quotes:read.",
                                                 "parameters":  [
                                                                    {
                                                                        "name":  "limit",
                                                                        "in":  "query",
                                                                        "schema":  {
                                                                                       "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                       "type":  [
                                                                                                    "integer",
                                                                                                    "string"
                                                                                                ],
                                                                                       "format":  "int32"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "page",
                                                                        "in":  "query",
                                                                        "schema":  {
                                                                                       "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                       "type":  [
                                                                                                    "integer",
                                                                                                    "string"
                                                                                                ],
                                                                                       "format":  "int32"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "cursor",
                                                                        "in":  "query",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "modifiedSince",
                                                                        "in":  "query",
                                                                        "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "modifiedBefore",
                                                                        "in":  "query",
                                                                        "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "status",
                                                                        "in":  "query",
                                                                        "description":  "Status. Flera går att ange kommaseparerat.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "customerNr",
                                                                        "in":  "query",
                                                                        "description":  "Kundens nummer.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    }
                                                                ],
                                                 "responses":  {
                                                                   "403":  {
                                                                               "description":  "Forbidden",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           },
                                                                   "503":  {
                                                                               "description":  "Service Unavailable",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           },
                                                                   "200":  {
                                                                               "description":  "En sida med quotes, nyaste först.",
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/QuotesPage"
                                                                                                                                   }
                                                                                                                    }
                                                                                           }
                                                                           }
                                                               }
                                             },
                                     "post":  {
                                                  "tags":  [
                                                               "Quotes"
                                                           ],
                                                  "summary":  "Creates a quote. Requires scope quotes:write and the Idempotency-Key header.",
                                                  "parameters":  [
                                                                     {
                                                                         "name":  "Idempotency-Key",
                                                                         "in":  "header",
                                                                         "schema":  {
                                                                                        "type":  "string"
                                                                                    }
                                                                     }
                                                                 ],
                                                  "requestBody":  {
                                                                      "content":  {
                                                                                      "application/json":  {
                                                                                                               "schema":  {
                                                                                                                              "$ref":  "#/components/schemas/QuotesWrite"
                                                                                                                          }
                                                                                                           }
                                                                                  },
                                                                      "required":  true
                                                                  },
                                                  "responses":  {
                                                                    "400":  {
                                                                                "description":  "Bad Request",
                                                                                "content":  {
                                                                                                "application/problem+json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                            }
                                                                                                                             }
                                                                                            }
                                                                            },
                                                                    "403":  {
                                                                                "description":  "Forbidden",
                                                                                "content":  {
                                                                                                "application/problem+json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                            }
                                                                                                                             }
                                                                                            }
                                                                            },
                                                                    "409":  {
                                                                                "description":  "Conflict",
                                                                                "content":  {
                                                                                                "application/problem+json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                            }
                                                                                                                             }
                                                                                            }
                                                                            },
                                                                    "422":  {
                                                                                "description":  "Unprocessable Entity",
                                                                                "content":  {
                                                                                                "application/problem+json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                            }
                                                                                                                             }
                                                                                            }
                                                                            },
                                                                    "201":  {
                                                                                "description":  "Den skapade offerten, som Mobigo sparade den.",
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/Quotes"
                                                                                                                                    }
                                                                                                                     }
                                                                                            }
                                                                            }
                                                                }
                                              }
                                 },
                  "/v1/quotes/extra-fields":  {
                                                  "get":  {
                                                              "tags":  [
                                                                           "Quotes"
                                                                       ],
                                                              "summary":  "Describes the customer-defined extra fields on quotes: key, type, whether it can be written and the allowed values for list fields. Requires scope quotes:read.",
                                                              "responses":  {
                                                                                "403":  {
                                                                                            "description":  "Forbidden",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        },
                                                                                "503":  {
                                                                                            "description":  "Service Unavailable",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        }
                                                                            }
                                                          }
                                              },
                  "/v1/quotes/{key}":  {
                                           "get":  {
                                                       "tags":  [
                                                                    "Quotes"
                                                                ],
                                                       "summary":  "Gets one quote by Nr. Requires scope quotes:read.",
                                                       "parameters":  [
                                                                          {
                                                                              "name":  "key",
                                                                              "in":  "path",
                                                                              "required":  true,
                                                                              "schema":  {
                                                                                             "type":  "string"
                                                                                         }
                                                                          }
                                                                      ],
                                                       "responses":  {
                                                                         "403":  {
                                                                                     "description":  "Forbidden",
                                                                                     "content":  {
                                                                                                     "application/problem+json":  {
                                                                                                                                      "schema":  {
                                                                                                                                                     "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                 }
                                                                                                                                  }
                                                                                                 }
                                                                                 },
                                                                         "422":  {
                                                                                     "description":  "Unprocessable Entity",
                                                                                     "content":  {
                                                                                                     "application/problem+json":  {
                                                                                                                                      "schema":  {
                                                                                                                                                     "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                 }
                                                                                                                                  }
                                                                                                 }
                                                                                 },
                                                                         "200":  {
                                                                                     "description":  "En offert.",
                                                                                     "content":  {
                                                                                                     "application/json":  {
                                                                                                                              "schema":  {
                                                                                                                                             "$ref":  "#/components/schemas/Quotes"
                                                                                                                                         }
                                                                                                                          }
                                                                                                 }
                                                                                 }
                                                                     }
                                                   },
                                           "patch":  {
                                                         "tags":  [
                                                                      "Quotes"
                                                                  ],
                                                         "summary":  "Updates a quote. An omitted field is left untouched. Requires scope quotes:write and the Idempotency-Key header.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "Idempotency-Key",
                                                                                "in":  "header",
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            },
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "requestBody":  {
                                                                             "content":  {
                                                                                             "application/json":  {
                                                                                                                      "schema":  {
                                                                                                                                     "$ref":  "#/components/schemas/QuotesWrite"
                                                                                                                                 }
                                                                                                                  }
                                                                                         },
                                                                             "required":  true
                                                                         },
                                                         "responses":  {
                                                                           "400":  {
                                                                                       "description":  "Bad Request",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "409":  {
                                                                                       "description":  "Conflict",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "Den uppdaterade offerten.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Quotes"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     }
                                       },
                  "/v1/quotes/{key}/location":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Quotes"
                                                                         ],
                                                                "summary":  "The geographic position of a quote, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope quotes:read.",
                                                                "parameters":  [
                                                                                   {
                                                                                       "name":  "key",
                                                                                       "in":  "path",
                                                                                       "required":  true,
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   },
                                                                                   {
                                                                                       "name":  "locate",
                                                                                       "in":  "query",
                                                                                       "schema":  {
                                                                                                      "type":  "boolean"
                                                                                                  }
                                                                                   },
                                                                                   {
                                                                                       "name":  "force",
                                                                                       "in":  "query",
                                                                                       "schema":  {
                                                                                                      "type":  "boolean"
                                                                                                  }
                                                                                   }
                                                                               ],
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "422":  {
                                                                                              "description":  "Unprocessable Entity",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            },
                                                    "put":  {
                                                                "tags":  [
                                                                             "Quotes"
                                                                         ],
                                                                "summary":  "Pins a quote to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope quotes:write and the Idempotency-Key header.",
                                                                "parameters":  [
                                                                                   {
                                                                                       "name":  "Idempotency-Key",
                                                                                       "in":  "header",
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   },
                                                                                   {
                                                                                       "name":  "key",
                                                                                       "in":  "path",
                                                                                       "required":  true,
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   }
                                                                               ],
                                                                "requestBody":  {
                                                                                    "content":  {
                                                                                                    "application/json":  {
                                                                                                                             "schema":  {
                                                                                                                                            "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                        }
                                                                                                                         }
                                                                                                },
                                                                                    "required":  true
                                                                                },
                                                                "responses":  {
                                                                                  "400":  {
                                                                                              "description":  "Bad Request",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "422":  {
                                                                                              "description":  "Unprocessable Entity",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/orders":  {
                                     "get":  {
                                                 "tags":  [
                                                              "Orders"
                                                          ],
                                                 "summary":  "Lists orders, newest first. Filters: modifiedSince, modifiedBefore, status, customerNr, supplierNr. Page with cursor or page. At most 500 per call. Requires scope orders:read.",
                                                 "parameters":  [
                                                                    {
                                                                        "name":  "limit",
                                                                        "in":  "query",
                                                                        "schema":  {
                                                                                       "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                       "type":  [
                                                                                                    "integer",
                                                                                                    "string"
                                                                                                ],
                                                                                       "format":  "int32"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "page",
                                                                        "in":  "query",
                                                                        "schema":  {
                                                                                       "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                       "type":  [
                                                                                                    "integer",
                                                                                                    "string"
                                                                                                ],
                                                                                       "format":  "int32"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "cursor",
                                                                        "in":  "query",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "modifiedSince",
                                                                        "in":  "query",
                                                                        "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "modifiedBefore",
                                                                        "in":  "query",
                                                                        "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "status",
                                                                        "in":  "query",
                                                                        "description":  "Status. Flera går att ange kommaseparerat.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "customerNr",
                                                                        "in":  "query",
                                                                        "description":  "Kundens nummer.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    },
                                                                    {
                                                                        "name":  "supplierNr",
                                                                        "in":  "query",
                                                                        "description":  "Leverantörens nummer.",
                                                                        "schema":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                    }
                                                                ],
                                                 "responses":  {
                                                                   "403":  {
                                                                               "description":  "Forbidden",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           },
                                                                   "503":  {
                                                                               "description":  "Service Unavailable",
                                                                               "content":  {
                                                                                               "application/problem+json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                           }
                                                                                                                            }
                                                                                           }
                                                                           },
                                                                   "200":  {
                                                                               "description":  "En sida med orders, nyaste först.",
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/OrdersPage"
                                                                                                                                   }
                                                                                                                    }
                                                                                           }
                                                                           }
                                                               }
                                             },
                                     "post":  {
                                                  "tags":  [
                                                               "Orders"
                                                           ],
                                                  "summary":  "Creates a order. Requires scope orders:write and the Idempotency-Key header.",
                                                  "parameters":  [
                                                                     {
                                                                         "name":  "Idempotency-Key",
                                                                         "in":  "header",
                                                                         "schema":  {
                                                                                        "type":  "string"
                                                                                    }
                                                                     }
                                                                 ],
                                                  "requestBody":  {
                                                                      "content":  {
                                                                                      "application/json":  {
                                                                                                               "schema":  {
                                                                                                                              "$ref":  "#/components/schemas/OrdersWrite"
                                                                                                                          }
                                                                                                           }
                                                                                  },
                                                                      "required":  true
                                                                  },
                                                  "responses":  {
                                                                    "400":  {
                                                                                "description":  "Bad Request",
                                                                                "content":  {
                                                                                                "application/problem+json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                            }
                                                                                                                             }
                                                                                            }
                                                                            },
                                                                    "403":  {
                                                                                "description":  "Forbidden",
                                                                                "content":  {
                                                                                                "application/problem+json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                            }
                                                                                                                             }
                                                                                            }
                                                                            },
                                                                    "409":  {
                                                                                "description":  "Conflict",
                                                                                "content":  {
                                                                                                "application/problem+json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                            }
                                                                                                                             }
                                                                                            }
                                                                            },
                                                                    "422":  {
                                                                                "description":  "Unprocessable Entity",
                                                                                "content":  {
                                                                                                "application/problem+json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                            }
                                                                                                                             }
                                                                                            }
                                                                            },
                                                                    "201":  {
                                                                                "description":  "Den skapade orderen, som Mobigo sparade den.",
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/Orders"
                                                                                                                                    }
                                                                                                                     }
                                                                                            }
                                                                            }
                                                                }
                                              }
                                 },
                  "/v1/orders/extra-fields":  {
                                                  "get":  {
                                                              "tags":  [
                                                                           "Orders"
                                                                       ],
                                                              "summary":  "Describes the customer-defined extra fields on orders: key, type, whether it can be written and the allowed values for list fields. Requires scope orders:read.",
                                                              "responses":  {
                                                                                "403":  {
                                                                                            "description":  "Forbidden",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        },
                                                                                "503":  {
                                                                                            "description":  "Service Unavailable",
                                                                                            "content":  {
                                                                                                            "application/problem+json":  {
                                                                                                                                             "schema":  {
                                                                                                                                                            "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                        }
                                                                                                                                         }
                                                                                                        }
                                                                                        }
                                                                            }
                                                          }
                                              },
                  "/v1/orders/{key}":  {
                                           "get":  {
                                                       "tags":  [
                                                                    "Orders"
                                                                ],
                                                       "summary":  "Gets one order by Nr. Requires scope orders:read.",
                                                       "parameters":  [
                                                                          {
                                                                              "name":  "key",
                                                                              "in":  "path",
                                                                              "required":  true,
                                                                              "schema":  {
                                                                                             "type":  "string"
                                                                                         }
                                                                          }
                                                                      ],
                                                       "responses":  {
                                                                         "403":  {
                                                                                     "description":  "Forbidden",
                                                                                     "content":  {
                                                                                                     "application/problem+json":  {
                                                                                                                                      "schema":  {
                                                                                                                                                     "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                 }
                                                                                                                                  }
                                                                                                 }
                                                                                 },
                                                                         "422":  {
                                                                                     "description":  "Unprocessable Entity",
                                                                                     "content":  {
                                                                                                     "application/problem+json":  {
                                                                                                                                      "schema":  {
                                                                                                                                                     "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                 }
                                                                                                                                  }
                                                                                                 }
                                                                                 },
                                                                         "200":  {
                                                                                     "description":  "En order.",
                                                                                     "content":  {
                                                                                                     "application/json":  {
                                                                                                                              "schema":  {
                                                                                                                                             "$ref":  "#/components/schemas/Orders"
                                                                                                                                         }
                                                                                                                          }
                                                                                                 }
                                                                                 }
                                                                     }
                                                   },
                                           "patch":  {
                                                         "tags":  [
                                                                      "Orders"
                                                                  ],
                                                         "summary":  "Updates a order. An omitted field is left untouched. Requires scope orders:write and the Idempotency-Key header.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "Idempotency-Key",
                                                                                "in":  "header",
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            },
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "requestBody":  {
                                                                             "content":  {
                                                                                             "application/json":  {
                                                                                                                      "schema":  {
                                                                                                                                     "$ref":  "#/components/schemas/OrdersWrite"
                                                                                                                                 }
                                                                                                                  }
                                                                                         },
                                                                             "required":  true
                                                                         },
                                                         "responses":  {
                                                                           "400":  {
                                                                                       "description":  "Bad Request",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "409":  {
                                                                                       "description":  "Conflict",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "Den uppdaterade orderen.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Orders"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     }
                                       },
                  "/v1/orders/{key}/location":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Orders"
                                                                         ],
                                                                "summary":  "The geographic position of a order, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope orders:read.",
                                                                "parameters":  [
                                                                                   {
                                                                                       "name":  "key",
                                                                                       "in":  "path",
                                                                                       "required":  true,
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   },
                                                                                   {
                                                                                       "name":  "locate",
                                                                                       "in":  "query",
                                                                                       "schema":  {
                                                                                                      "type":  "boolean"
                                                                                                  }
                                                                                   },
                                                                                   {
                                                                                       "name":  "force",
                                                                                       "in":  "query",
                                                                                       "schema":  {
                                                                                                      "type":  "boolean"
                                                                                                  }
                                                                                   }
                                                                               ],
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "422":  {
                                                                                              "description":  "Unprocessable Entity",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            },
                                                    "put":  {
                                                                "tags":  [
                                                                             "Orders"
                                                                         ],
                                                                "summary":  "Pins a order to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope orders:write and the Idempotency-Key header.",
                                                                "parameters":  [
                                                                                   {
                                                                                       "name":  "Idempotency-Key",
                                                                                       "in":  "header",
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   },
                                                                                   {
                                                                                       "name":  "key",
                                                                                       "in":  "path",
                                                                                       "required":  true,
                                                                                       "schema":  {
                                                                                                      "type":  "string"
                                                                                                  }
                                                                                   }
                                                                               ],
                                                                "requestBody":  {
                                                                                    "content":  {
                                                                                                    "application/json":  {
                                                                                                                             "schema":  {
                                                                                                                                            "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                        }
                                                                                                                         }
                                                                                                },
                                                                                    "required":  true
                                                                                },
                                                                "responses":  {
                                                                                  "400":  {
                                                                                              "description":  "Bad Request",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "422":  {
                                                                                              "description":  "Unprocessable Entity",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/orderlines":  {
                                         "get":  {
                                                     "tags":  [
                                                                  "Order lines"
                                                              ],
                                                     "summary":  "Lists orderlines, newest first. Filters: modifiedSince, modifiedBefore, orderNr, includeZeroQuantity. Page with cursor or page. At most 500 per call. Requires scope orderlines:read.",
                                                     "parameters":  [
                                                                        {
                                                                            "name":  "limit",
                                                                            "in":  "query",
                                                                            "schema":  {
                                                                                           "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                           "type":  [
                                                                                                        "integer",
                                                                                                        "string"
                                                                                                    ],
                                                                                           "format":  "int32"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "page",
                                                                            "in":  "query",
                                                                            "schema":  {
                                                                                           "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                           "type":  [
                                                                                                        "integer",
                                                                                                        "string"
                                                                                                    ],
                                                                                           "format":  "int32"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "cursor",
                                                                            "in":  "query",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "modifiedSince",
                                                                            "in":  "query",
                                                                            "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "modifiedBefore",
                                                                            "in":  "query",
                                                                            "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "orderNr",
                                                                            "in":  "query",
                                                                            "description":  "Orderns nummer.",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "includeZeroQuantity",
                                                                            "in":  "query",
                                                                            "description":  "Ta med rader med noll i antal. Förvalt true.",
                                                                            "schema":  {
                                                                                           "type":  "boolean"
                                                                                       }
                                                                        }
                                                                    ],
                                                     "responses":  {
                                                                       "403":  {
                                                                                   "description":  "Forbidden",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "503":  {
                                                                                   "description":  "Service Unavailable",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "200":  {
                                                                                   "description":  "En sida med orderlines, nyaste först.",
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/OrderlinesPage"
                                                                                                                                       }
                                                                                                                        }
                                                                                               }
                                                                               }
                                                                   }
                                                 }
                                     },
                  "/v1/orderlines/extra-fields":  {
                                                      "get":  {
                                                                  "tags":  [
                                                                               "Order lines"
                                                                           ],
                                                                  "summary":  "Describes the customer-defined extra fields on orderlines: key, type, whether it can be written and the allowed values for list fields. Requires scope orderlines:read.",
                                                                  "responses":  {
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "503":  {
                                                                                                "description":  "Service Unavailable",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              }
                                                  },
                  "/v1/orderlines/{key}":  {
                                               "get":  {
                                                           "tags":  [
                                                                        "Order lines"
                                                                    ],
                                                           "summary":  "Gets one order line by Id. Requires scope orderlines:read.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "responses":  {
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "En orderrad.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Orderlines"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       },
                                               "patch":  {
                                                             "tags":  [
                                                                          "Order lines"
                                                                      ],
                                                             "summary":  "Updates a order line. An omitted field is left untouched. Requires scope orderlines:write and the Idempotency-Key header.",
                                                             "parameters":  [
                                                                                {
                                                                                    "name":  "Idempotency-Key",
                                                                                    "in":  "header",
                                                                                    "schema":  {
                                                                                                   "type":  "string"
                                                                                               }
                                                                                },
                                                                                {
                                                                                    "name":  "key",
                                                                                    "in":  "path",
                                                                                    "required":  true,
                                                                                    "schema":  {
                                                                                                   "type":  "string"
                                                                                               }
                                                                                }
                                                                            ],
                                                             "requestBody":  {
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/OrderlinesWrite"
                                                                                                                                     }
                                                                                                                      }
                                                                                             },
                                                                                 "required":  true
                                                                             },
                                                             "responses":  {
                                                                               "400":  {
                                                                                           "description":  "Bad Request",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "403":  {
                                                                                           "description":  "Forbidden",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "409":  {
                                                                                           "description":  "Conflict",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "422":  {
                                                                                           "description":  "Unprocessable Entity",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "200":  {
                                                                                           "description":  "Den uppdaterade orderraden.",
                                                                                           "content":  {
                                                                                                           "application/json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/Orderlines"
                                                                                                                                               }
                                                                                                                                }
                                                                                                       }
                                                                                       }
                                                                           }
                                                         }
                                           },
                  "/v1/contracts":  {
                                        "get":  {
                                                    "tags":  [
                                                                 "Contracts"
                                                             ],
                                                    "summary":  "Lists contracts, newest first. Filters: modifiedSince, modifiedBefore, status, customerNr. Page with cursor or page. At most 500 per call. Requires scope contracts:read.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "limit",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "page",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "cursor",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedSince",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedBefore",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "status",
                                                                           "in":  "query",
                                                                           "description":  "Status. Flera går att ange kommaseparerat.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "customerNr",
                                                                           "in":  "query",
                                                                           "description":  "Kundens nummer.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "responses":  {
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "503":  {
                                                                                  "description":  "Service Unavailable",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "200":  {
                                                                                  "description":  "En sida med contracts, nyaste först.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/ContractsPage"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                },
                                        "post":  {
                                                     "tags":  [
                                                                  "Contracts"
                                                              ],
                                                     "summary":  "Creates a contract. Requires scope contracts:write and the Idempotency-Key header.",
                                                     "parameters":  [
                                                                        {
                                                                            "name":  "Idempotency-Key",
                                                                            "in":  "header",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        }
                                                                    ],
                                                     "requestBody":  {
                                                                         "content":  {
                                                                                         "application/json":  {
                                                                                                                  "schema":  {
                                                                                                                                 "$ref":  "#/components/schemas/ContractsWrite"
                                                                                                                             }
                                                                                                              }
                                                                                     },
                                                                         "required":  true
                                                                     },
                                                     "responses":  {
                                                                       "400":  {
                                                                                   "description":  "Bad Request",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "403":  {
                                                                                   "description":  "Forbidden",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "409":  {
                                                                                   "description":  "Conflict",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "422":  {
                                                                                   "description":  "Unprocessable Entity",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "201":  {
                                                                                   "description":  "Den skapade avtalen, som Mobigo sparade den.",
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/Contracts"
                                                                                                                                       }
                                                                                                                        }
                                                                                               }
                                                                               }
                                                                   }
                                                 }
                                    },
                  "/v1/contracts/extra-fields":  {
                                                     "get":  {
                                                                 "tags":  [
                                                                              "Contracts"
                                                                          ],
                                                                 "summary":  "Describes the customer-defined extra fields on contracts: key, type, whether it can be written and the allowed values for list fields. Requires scope contracts:read.",
                                                                 "responses":  {
                                                                                   "403":  {
                                                                                               "description":  "Forbidden",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "503":  {
                                                                                               "description":  "Service Unavailable",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           }
                                                                               }
                                                             }
                                                 },
                  "/v1/contracts/{key}":  {
                                              "get":  {
                                                          "tags":  [
                                                                       "Contracts"
                                                                   ],
                                                          "summary":  "Gets one contract by Nr. Requires scope contracts:read.",
                                                          "parameters":  [
                                                                             {
                                                                                 "name":  "key",
                                                                                 "in":  "path",
                                                                                 "required":  true,
                                                                                 "schema":  {
                                                                                                "type":  "string"
                                                                                            }
                                                                             }
                                                                         ],
                                                          "responses":  {
                                                                            "403":  {
                                                                                        "description":  "Forbidden",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "422":  {
                                                                                        "description":  "Unprocessable Entity",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "200":  {
                                                                                        "description":  "En avtal.",
                                                                                        "content":  {
                                                                                                        "application/json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/Contracts"
                                                                                                                                            }
                                                                                                                             }
                                                                                                    }
                                                                                    }
                                                                        }
                                                      },
                                              "patch":  {
                                                            "tags":  [
                                                                         "Contracts"
                                                                     ],
                                                            "summary":  "Updates a contract. An omitted field is left untouched. Requires scope contracts:write and the Idempotency-Key header.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               },
                                                                               {
                                                                                   "name":  "key",
                                                                                   "in":  "path",
                                                                                   "required":  true,
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/ContractsWrite"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "409":  {
                                                                                          "description":  "Conflict",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "200":  {
                                                                                          "description":  "Den uppdaterade avtalen.",
                                                                                          "content":  {
                                                                                                          "application/json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/Contracts"
                                                                                                                                              }
                                                                                                                               }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                          },
                  "/v1/contracts/{key}/location":  {
                                                       "get":  {
                                                                   "tags":  [
                                                                                "Contracts"
                                                                            ],
                                                                   "summary":  "The geographic position of a contract, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope contracts:read.",
                                                                   "parameters":  [
                                                                                      {
                                                                                          "name":  "key",
                                                                                          "in":  "path",
                                                                                          "required":  true,
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "locate",
                                                                                          "in":  "query",
                                                                                          "schema":  {
                                                                                                         "type":  "boolean"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "force",
                                                                                          "in":  "query",
                                                                                          "schema":  {
                                                                                                         "type":  "boolean"
                                                                                                     }
                                                                                      }
                                                                                  ],
                                                                   "responses":  {
                                                                                     "403":  {
                                                                                                 "description":  "Forbidden",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "422":  {
                                                                                                 "description":  "Unprocessable Entity",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             }
                                                                                 }
                                                               },
                                                       "put":  {
                                                                   "tags":  [
                                                                                "Contracts"
                                                                            ],
                                                                   "summary":  "Pins a contract to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope contracts:write and the Idempotency-Key header.",
                                                                   "parameters":  [
                                                                                      {
                                                                                          "name":  "Idempotency-Key",
                                                                                          "in":  "header",
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "key",
                                                                                          "in":  "path",
                                                                                          "required":  true,
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      }
                                                                                  ],
                                                                   "requestBody":  {
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   },
                                                                                       "required":  true
                                                                                   },
                                                                   "responses":  {
                                                                                     "400":  {
                                                                                                 "description":  "Bad Request",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "403":  {
                                                                                                 "description":  "Forbidden",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "422":  {
                                                                                                 "description":  "Unprocessable Entity",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             }
                                                                                 }
                                                               }
                                                   },
                  "/v1/resources":  {
                                        "get":  {
                                                    "tags":  [
                                                                 "Resources"
                                                             ],
                                                    "summary":  "Lists resources, newest first. Filters: modifiedSince, modifiedBefore, name, category. Page with cursor or page. At most 500 per call. Requires scope resources:read.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "limit",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "page",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "cursor",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedSince",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedBefore",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "name",
                                                                           "in":  "query",
                                                                           "description":  "Fritextsökning i namnet.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "category",
                                                                           "in":  "query",
                                                                           "description":  "Exakt kategori.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "responses":  {
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "503":  {
                                                                                  "description":  "Service Unavailable",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "200":  {
                                                                                  "description":  "En sida med resources, nyaste först.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/ResourcesPage"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                },
                                        "post":  {
                                                     "tags":  [
                                                                  "Resources"
                                                              ],
                                                     "summary":  "Creates a resource. Requires scope resources:write and the Idempotency-Key header.",
                                                     "parameters":  [
                                                                        {
                                                                            "name":  "Idempotency-Key",
                                                                            "in":  "header",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        }
                                                                    ],
                                                     "requestBody":  {
                                                                         "content":  {
                                                                                         "application/json":  {
                                                                                                                  "schema":  {
                                                                                                                                 "$ref":  "#/components/schemas/ResourcesWrite"
                                                                                                                             }
                                                                                                              }
                                                                                     },
                                                                         "required":  true
                                                                     },
                                                     "responses":  {
                                                                       "400":  {
                                                                                   "description":  "Bad Request",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "403":  {
                                                                                   "description":  "Forbidden",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "409":  {
                                                                                   "description":  "Conflict",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "422":  {
                                                                                   "description":  "Unprocessable Entity",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "201":  {
                                                                                   "description":  "Den skapade resursen, som Mobigo sparade den.",
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/Resources"
                                                                                                                                       }
                                                                                                                        }
                                                                                               }
                                                                               }
                                                                   }
                                                 }
                                    },
                  "/v1/resources/extra-fields":  {
                                                     "get":  {
                                                                 "tags":  [
                                                                              "Resources"
                                                                          ],
                                                                 "summary":  "Describes the customer-defined extra fields on resources: key, type, whether it can be written and the allowed values for list fields. Requires scope resources:read.",
                                                                 "responses":  {
                                                                                   "403":  {
                                                                                               "description":  "Forbidden",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "503":  {
                                                                                               "description":  "Service Unavailable",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           }
                                                                               }
                                                             }
                                                 },
                  "/v1/resources/{key}":  {
                                              "get":  {
                                                          "tags":  [
                                                                       "Resources"
                                                                   ],
                                                          "summary":  "Gets one resource by Nr. Requires scope resources:read.",
                                                          "parameters":  [
                                                                             {
                                                                                 "name":  "key",
                                                                                 "in":  "path",
                                                                                 "required":  true,
                                                                                 "schema":  {
                                                                                                "type":  "string"
                                                                                            }
                                                                             }
                                                                         ],
                                                          "responses":  {
                                                                            "403":  {
                                                                                        "description":  "Forbidden",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "422":  {
                                                                                        "description":  "Unprocessable Entity",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "200":  {
                                                                                        "description":  "En resurs.",
                                                                                        "content":  {
                                                                                                        "application/json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/Resources"
                                                                                                                                            }
                                                                                                                             }
                                                                                                    }
                                                                                    }
                                                                        }
                                                      },
                                              "patch":  {
                                                            "tags":  [
                                                                         "Resources"
                                                                     ],
                                                            "summary":  "Updates a resource. An omitted field is left untouched. Requires scope resources:write and the Idempotency-Key header.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               },
                                                                               {
                                                                                   "name":  "key",
                                                                                   "in":  "path",
                                                                                   "required":  true,
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/ResourcesWrite"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "409":  {
                                                                                          "description":  "Conflict",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "200":  {
                                                                                          "description":  "Den uppdaterade resursen.",
                                                                                          "content":  {
                                                                                                          "application/json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/Resources"
                                                                                                                                              }
                                                                                                                               }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                          },
                  "/v1/projects":  {
                                       "get":  {
                                                   "tags":  [
                                                                "Projects"
                                                            ],
                                                   "summary":  "Lists projects, newest first. Filters: modifiedSince, modifiedBefore, customerNr, owner, status. Page with cursor or page. At most 500 per call. Requires scope projects:read.",
                                                   "parameters":  [
                                                                      {
                                                                          "name":  "limit",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "page",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "cursor",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedSince",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedBefore",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "customerNr",
                                                                          "in":  "query",
                                                                          "description":  "Kundens nummer.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "owner",
                                                                          "in":  "query",
                                                                          "description":  "Ansvarigs Mobigo-signatur.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "status",
                                                                          "in":  "query",
                                                                          "description":  "Status. Flera går att ange kommaseparerat.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      }
                                                                  ],
                                                   "responses":  {
                                                                     "403":  {
                                                                                 "description":  "Forbidden",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "503":  {
                                                                                 "description":  "Service Unavailable",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "200":  {
                                                                                 "description":  "En sida med projects, nyaste först.",
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/ProjectsPage"
                                                                                                                                     }
                                                                                                                      }
                                                                                             }
                                                                             }
                                                                 }
                                               },
                                       "post":  {
                                                    "tags":  [
                                                                 "Projects"
                                                             ],
                                                    "summary":  "Creates a project. Requires scope projects:write and the Idempotency-Key header.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "Idempotency-Key",
                                                                           "in":  "header",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "requestBody":  {
                                                                        "content":  {
                                                                                        "application/json":  {
                                                                                                                 "schema":  {
                                                                                                                                "$ref":  "#/components/schemas/ProjectsWrite"
                                                                                                                            }
                                                                                                             }
                                                                                    },
                                                                        "required":  true
                                                                    },
                                                    "responses":  {
                                                                      "400":  {
                                                                                  "description":  "Bad Request",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "409":  {
                                                                                  "description":  "Conflict",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "422":  {
                                                                                  "description":  "Unprocessable Entity",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "201":  {
                                                                                  "description":  "Den skapade projekten, som Mobigo sparade den.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/Projects"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                   },
                  "/v1/projects/extra-fields":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Projects"
                                                                         ],
                                                                "summary":  "Describes the customer-defined extra fields on projects: key, type, whether it can be written and the allowed values for list fields. Requires scope projects:read.",
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "503":  {
                                                                                              "description":  "Service Unavailable",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/projects/{key}":  {
                                             "get":  {
                                                         "tags":  [
                                                                      "Projects"
                                                                  ],
                                                         "summary":  "Gets one project by Nr. Requires scope projects:read.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "responses":  {
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "En projekt.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Projects"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     },
                                             "patch":  {
                                                           "tags":  [
                                                                        "Projects"
                                                                    ],
                                                           "summary":  "Updates a project. An omitted field is left untouched. Requires scope projects:write and the Idempotency-Key header.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "Idempotency-Key",
                                                                                  "in":  "header",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "requestBody":  {
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/ProjectsWrite"
                                                                                                                                   }
                                                                                                                    }
                                                                                           },
                                                                               "required":  true
                                                                           },
                                                           "responses":  {
                                                                             "400":  {
                                                                                         "description":  "Bad Request",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "409":  {
                                                                                         "description":  "Conflict",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "Den uppdaterade projekten.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Projects"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       }
                                         },
                  "/v1/projects/{key}/location":  {
                                                      "get":  {
                                                                  "tags":  [
                                                                               "Projects"
                                                                           ],
                                                                  "summary":  "The geographic position of a project, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope projects:read.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "locate",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "force",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "responses":  {
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              },
                                                      "put":  {
                                                                  "tags":  [
                                                                               "Projects"
                                                                           ],
                                                                  "summary":  "Pins a project to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope projects:write and the Idempotency-Key header.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "Idempotency-Key",
                                                                                         "in":  "header",
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "requestBody":  {
                                                                                      "content":  {
                                                                                                      "application/json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                          }
                                                                                                                           }
                                                                                                  },
                                                                                      "required":  true
                                                                                  },
                                                                  "responses":  {
                                                                                    "400":  {
                                                                                                "description":  "Bad Request",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              }
                                                  },
                  "/v1/contacts":  {
                                       "get":  {
                                                   "tags":  [
                                                                "Contacts"
                                                            ],
                                                   "summary":  "Lists contacts, newest first. Filters: modifiedSince, modifiedBefore, customerNr, name. Page with cursor or page. At most 500 per call. Requires scope contacts:read.",
                                                   "parameters":  [
                                                                      {
                                                                          "name":  "limit",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "page",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "cursor",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedSince",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedBefore",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "customerNr",
                                                                          "in":  "query",
                                                                          "description":  "Kundens nummer.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "name",
                                                                          "in":  "query",
                                                                          "description":  "Fritextsökning i namnet.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      }
                                                                  ],
                                                   "responses":  {
                                                                     "403":  {
                                                                                 "description":  "Forbidden",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "503":  {
                                                                                 "description":  "Service Unavailable",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "200":  {
                                                                                 "description":  "En sida med contacts, nyaste först.",
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/ContactsPage"
                                                                                                                                     }
                                                                                                                      }
                                                                                             }
                                                                             }
                                                                 }
                                               },
                                       "post":  {
                                                    "tags":  [
                                                                 "Contacts"
                                                             ],
                                                    "summary":  "Creates a contact. Requires scope contacts:write and the Idempotency-Key header.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "Idempotency-Key",
                                                                           "in":  "header",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "requestBody":  {
                                                                        "content":  {
                                                                                        "application/json":  {
                                                                                                                 "schema":  {
                                                                                                                                "$ref":  "#/components/schemas/ContactsWrite"
                                                                                                                            }
                                                                                                             }
                                                                                    },
                                                                        "required":  true
                                                                    },
                                                    "responses":  {
                                                                      "400":  {
                                                                                  "description":  "Bad Request",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "409":  {
                                                                                  "description":  "Conflict",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "422":  {
                                                                                  "description":  "Unprocessable Entity",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "201":  {
                                                                                  "description":  "Den skapade kontakten, som Mobigo sparade den.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/Contacts"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                   },
                  "/v1/contacts/extra-fields":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Contacts"
                                                                         ],
                                                                "summary":  "Describes the customer-defined extra fields on contacts: key, type, whether it can be written and the allowed values for list fields. Requires scope contacts:read.",
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "503":  {
                                                                                              "description":  "Service Unavailable",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/contacts/{key}":  {
                                             "get":  {
                                                         "tags":  [
                                                                      "Contacts"
                                                                  ],
                                                         "summary":  "Gets one contact by Id. Requires scope contacts:read.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "responses":  {
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "En kontakt.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Contacts"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     },
                                             "patch":  {
                                                           "tags":  [
                                                                        "Contacts"
                                                                    ],
                                                           "summary":  "Updates a contact. An omitted field is left untouched. Requires scope contacts:write and the Idempotency-Key header.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "Idempotency-Key",
                                                                                  "in":  "header",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "requestBody":  {
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/ContactsWrite"
                                                                                                                                   }
                                                                                                                    }
                                                                                           },
                                                                               "required":  true
                                                                           },
                                                           "responses":  {
                                                                             "400":  {
                                                                                         "description":  "Bad Request",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "409":  {
                                                                                         "description":  "Conflict",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "Den uppdaterade kontakten.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Contacts"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       }
                                         },
                  "/v1/suppliercontacts":  {
                                               "get":  {
                                                           "tags":  [
                                                                        "Supplier contacts"
                                                                    ],
                                                           "summary":  "Lists suppliercontacts, newest first. Filters: modifiedSince, modifiedBefore, supplierNr, name. Page with cursor or page. At most 500 per call. Requires scope suppliercontacts:read.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "limit",
                                                                                  "in":  "query",
                                                                                  "schema":  {
                                                                                                 "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                                 "type":  [
                                                                                                              "integer",
                                                                                                              "string"
                                                                                                          ],
                                                                                                 "format":  "int32"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "page",
                                                                                  "in":  "query",
                                                                                  "schema":  {
                                                                                                 "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                                 "type":  [
                                                                                                              "integer",
                                                                                                              "string"
                                                                                                          ],
                                                                                                 "format":  "int32"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "cursor",
                                                                                  "in":  "query",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "modifiedSince",
                                                                                  "in":  "query",
                                                                                  "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "modifiedBefore",
                                                                                  "in":  "query",
                                                                                  "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "supplierNr",
                                                                                  "in":  "query",
                                                                                  "description":  "Leverantörens nummer.",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "name",
                                                                                  "in":  "query",
                                                                                  "description":  "Fritextsökning i namnet.",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "responses":  {
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "503":  {
                                                                                         "description":  "Service Unavailable",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "En sida med suppliercontacts, nyaste först.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/SuppliercontactsPage"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       },
                                               "post":  {
                                                            "tags":  [
                                                                         "Supplier contacts"
                                                                     ],
                                                            "summary":  "Creates a supplier contact. Requires scope suppliercontacts:write and the Idempotency-Key header.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/SuppliercontactsWrite"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "409":  {
                                                                                          "description":  "Conflict",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "201":  {
                                                                                          "description":  "Den skapade leverantörskontakten, som Mobigo sparade den.",
                                                                                          "content":  {
                                                                                                          "application/json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/Suppliercontacts"
                                                                                                                                              }
                                                                                                                               }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                           },
                  "/v1/suppliercontacts/extra-fields":  {
                                                            "get":  {
                                                                        "tags":  [
                                                                                     "Supplier contacts"
                                                                                 ],
                                                                        "summary":  "Describes the customer-defined extra fields on suppliercontacts: key, type, whether it can be written and the allowed values for list fields. Requires scope suppliercontacts:read.",
                                                                        "responses":  {
                                                                                          "403":  {
                                                                                                      "description":  "Forbidden",
                                                                                                      "content":  {
                                                                                                                      "application/problem+json":  {
                                                                                                                                                       "schema":  {
                                                                                                                                                                      "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                                  }
                                                                                                                                                   }
                                                                                                                  }
                                                                                                  },
                                                                                          "503":  {
                                                                                                      "description":  "Service Unavailable",
                                                                                                      "content":  {
                                                                                                                      "application/problem+json":  {
                                                                                                                                                       "schema":  {
                                                                                                                                                                      "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                                  }
                                                                                                                                                   }
                                                                                                                  }
                                                                                                  }
                                                                                      }
                                                                    }
                                                        },
                  "/v1/suppliercontacts/{key}":  {
                                                     "get":  {
                                                                 "tags":  [
                                                                              "Supplier contacts"
                                                                          ],
                                                                 "summary":  "Gets one supplier contact by Id. Requires scope suppliercontacts:read.",
                                                                 "parameters":  [
                                                                                    {
                                                                                        "name":  "key",
                                                                                        "in":  "path",
                                                                                        "required":  true,
                                                                                        "schema":  {
                                                                                                       "type":  "string"
                                                                                                   }
                                                                                    }
                                                                                ],
                                                                 "responses":  {
                                                                                   "403":  {
                                                                                               "description":  "Forbidden",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "422":  {
                                                                                               "description":  "Unprocessable Entity",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "200":  {
                                                                                               "description":  "En leverantörskontakt.",
                                                                                               "content":  {
                                                                                                               "application/json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/Suppliercontacts"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                           }
                                                                                           }
                                                                               }
                                                             },
                                                     "patch":  {
                                                                   "tags":  [
                                                                                "Supplier contacts"
                                                                            ],
                                                                   "summary":  "Updates a supplier contact. An omitted field is left untouched. Requires scope suppliercontacts:write and the Idempotency-Key header.",
                                                                   "parameters":  [
                                                                                      {
                                                                                          "name":  "Idempotency-Key",
                                                                                          "in":  "header",
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      },
                                                                                      {
                                                                                          "name":  "key",
                                                                                          "in":  "path",
                                                                                          "required":  true,
                                                                                          "schema":  {
                                                                                                         "type":  "string"
                                                                                                     }
                                                                                      }
                                                                                  ],
                                                                   "requestBody":  {
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/SuppliercontactsWrite"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   },
                                                                                       "required":  true
                                                                                   },
                                                                   "responses":  {
                                                                                     "400":  {
                                                                                                 "description":  "Bad Request",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "403":  {
                                                                                                 "description":  "Forbidden",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "409":  {
                                                                                                 "description":  "Conflict",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "422":  {
                                                                                                 "description":  "Unprocessable Entity",
                                                                                                 "content":  {
                                                                                                                 "application/problem+json":  {
                                                                                                                                                  "schema":  {
                                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                             }
                                                                                                                                              }
                                                                                                             }
                                                                                             },
                                                                                     "200":  {
                                                                                                 "description":  "Den uppdaterade leverantörskontakten.",
                                                                                                 "content":  {
                                                                                                                 "application/json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/Suppliercontacts"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                             }
                                                                                             }
                                                                                 }
                                                               }
                                                 },
                  "/v1/addresses":  {
                                        "get":  {
                                                    "tags":  [
                                                                 "Addresses"
                                                             ],
                                                    "summary":  "Lists addresses, newest first. Filters: modifiedSince, modifiedBefore, customerNr, supplierNr, objectNr, level. Page with cursor or page. At most 500 per call. Requires scope addresses:read.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "limit",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "page",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "cursor",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedSince",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedBefore",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "customerNr",
                                                                           "in":  "query",
                                                                           "description":  "Kundens nummer.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "supplierNr",
                                                                           "in":  "query",
                                                                           "description":  "Leverantörens nummer.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "objectNr",
                                                                           "in":  "query",
                                                                           "description":  "Objektets nummer. Ange level 1–4 tillsammans med det.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "level",
                                                                           "in":  "query",
                                                                           "description":  "Objektnivå, 1–4.",
                                                                           "schema":  {
                                                                                          "type":  "integer"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "responses":  {
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "503":  {
                                                                                  "description":  "Service Unavailable",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "200":  {
                                                                                  "description":  "En sida med addresses, nyaste först.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/AddressesPage"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                },
                                        "post":  {
                                                     "tags":  [
                                                                  "Addresses"
                                                              ],
                                                     "summary":  "Creates a address. Requires scope addresses:write and the Idempotency-Key header.",
                                                     "parameters":  [
                                                                        {
                                                                            "name":  "Idempotency-Key",
                                                                            "in":  "header",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        }
                                                                    ],
                                                     "requestBody":  {
                                                                         "content":  {
                                                                                         "application/json":  {
                                                                                                                  "schema":  {
                                                                                                                                 "$ref":  "#/components/schemas/AddressesWrite"
                                                                                                                             }
                                                                                                              }
                                                                                     },
                                                                         "required":  true
                                                                     },
                                                     "responses":  {
                                                                       "400":  {
                                                                                   "description":  "Bad Request",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "403":  {
                                                                                   "description":  "Forbidden",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "409":  {
                                                                                   "description":  "Conflict",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "422":  {
                                                                                   "description":  "Unprocessable Entity",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "201":  {
                                                                                   "description":  "Den skapade adressen, som Mobigo sparade den.",
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/Addresses"
                                                                                                                                       }
                                                                                                                        }
                                                                                               }
                                                                               }
                                                                   }
                                                 }
                                    },
                  "/v1/addresses/extra-fields":  {
                                                     "get":  {
                                                                 "tags":  [
                                                                              "Addresses"
                                                                          ],
                                                                 "summary":  "Describes the customer-defined extra fields on addresses: key, type, whether it can be written and the allowed values for list fields. Requires scope addresses:read.",
                                                                 "responses":  {
                                                                                   "403":  {
                                                                                               "description":  "Forbidden",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "503":  {
                                                                                               "description":  "Service Unavailable",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           }
                                                                               }
                                                             }
                                                 },
                  "/v1/addresses/{key}":  {
                                              "get":  {
                                                          "tags":  [
                                                                       "Addresses"
                                                                   ],
                                                          "summary":  "Gets one address by Id. Requires scope addresses:read.",
                                                          "parameters":  [
                                                                             {
                                                                                 "name":  "key",
                                                                                 "in":  "path",
                                                                                 "required":  true,
                                                                                 "schema":  {
                                                                                                "type":  "string"
                                                                                            }
                                                                             }
                                                                         ],
                                                          "responses":  {
                                                                            "403":  {
                                                                                        "description":  "Forbidden",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "422":  {
                                                                                        "description":  "Unprocessable Entity",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "200":  {
                                                                                        "description":  "En adress.",
                                                                                        "content":  {
                                                                                                        "application/json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/Addresses"
                                                                                                                                            }
                                                                                                                             }
                                                                                                    }
                                                                                    }
                                                                        }
                                                      },
                                              "patch":  {
                                                            "tags":  [
                                                                         "Addresses"
                                                                     ],
                                                            "summary":  "Updates a address. An omitted field is left untouched. Requires scope addresses:write and the Idempotency-Key header.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               },
                                                                               {
                                                                                   "name":  "key",
                                                                                   "in":  "path",
                                                                                   "required":  true,
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/AddressesWrite"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "409":  {
                                                                                          "description":  "Conflict",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "200":  {
                                                                                          "description":  "Den uppdaterade adressen.",
                                                                                          "content":  {
                                                                                                          "application/json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/Addresses"
                                                                                                                                              }
                                                                                                                               }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                          },
                  "/v1/users":  {
                                    "get":  {
                                                "tags":  [
                                                             "Users"
                                                         ],
                                                "summary":  "Lists users, newest first. Filters: modifiedSince, modifiedBefore, name, includePassive, includeArchived. Page with cursor or page. At most 500 per call. Requires scope users:read.",
                                                "parameters":  [
                                                                   {
                                                                       "name":  "limit",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                      "type":  [
                                                                                                   "integer",
                                                                                                   "string"
                                                                                               ],
                                                                                      "format":  "int32"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "page",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                      "type":  [
                                                                                                   "integer",
                                                                                                   "string"
                                                                                               ],
                                                                                      "format":  "int32"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "cursor",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "modifiedSince",
                                                                       "in":  "query",
                                                                       "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "modifiedBefore",
                                                                       "in":  "query",
                                                                       "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "name",
                                                                       "in":  "query",
                                                                       "description":  "Fritextsökning i namnet.",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "includePassive",
                                                                       "in":  "query",
                                                                       "description":  "Ta med användare som slutat. Förvalt false.",
                                                                       "schema":  {
                                                                                      "type":  "boolean"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "includeArchived",
                                                                       "in":  "query",
                                                                       "description":  "Ta med arkiverade poster. Förvalt false.",
                                                                       "schema":  {
                                                                                      "type":  "boolean"
                                                                                  }
                                                                   }
                                                               ],
                                                "responses":  {
                                                                  "403":  {
                                                                              "description":  "Forbidden",
                                                                              "content":  {
                                                                                              "application/problem+json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                          }
                                                                                                                           }
                                                                                          }
                                                                          },
                                                                  "503":  {
                                                                              "description":  "Service Unavailable",
                                                                              "content":  {
                                                                                              "application/problem+json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                          }
                                                                                                                           }
                                                                                          }
                                                                          },
                                                                  "200":  {
                                                                              "description":  "En sida med users, nyaste först.",
                                                                              "content":  {
                                                                                              "application/json":  {
                                                                                                                       "schema":  {
                                                                                                                                      "$ref":  "#/components/schemas/UsersPage"
                                                                                                                                  }
                                                                                                                   }
                                                                                          }
                                                                          }
                                                              }
                                            }
                                },
                  "/v1/users/extra-fields":  {
                                                 "get":  {
                                                             "tags":  [
                                                                          "Users"
                                                                      ],
                                                             "summary":  "Describes the customer-defined extra fields on users: key, type, whether it can be written and the allowed values for list fields. Requires scope users:read.",
                                                             "responses":  {
                                                                               "403":  {
                                                                                           "description":  "Forbidden",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "503":  {
                                                                                           "description":  "Service Unavailable",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       }
                                                                           }
                                                         }
                                             },
                  "/v1/users/{key}":  {
                                          "get":  {
                                                      "tags":  [
                                                                   "Users"
                                                               ],
                                                      "summary":  "Gets one user by Sign. Requires scope users:read.",
                                                      "parameters":  [
                                                                         {
                                                                             "name":  "key",
                                                                             "in":  "path",
                                                                             "required":  true,
                                                                             "schema":  {
                                                                                            "type":  "string"
                                                                                        }
                                                                         }
                                                                     ],
                                                      "responses":  {
                                                                        "403":  {
                                                                                    "description":  "Forbidden",
                                                                                    "content":  {
                                                                                                    "application/problem+json":  {
                                                                                                                                     "schema":  {
                                                                                                                                                    "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                }
                                                                                                                                 }
                                                                                                }
                                                                                },
                                                                        "422":  {
                                                                                    "description":  "Unprocessable Entity",
                                                                                    "content":  {
                                                                                                    "application/problem+json":  {
                                                                                                                                     "schema":  {
                                                                                                                                                    "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                }
                                                                                                                                 }
                                                                                                }
                                                                                },
                                                                        "200":  {
                                                                                    "description":  "En användare.",
                                                                                    "content":  {
                                                                                                    "application/json":  {
                                                                                                                             "schema":  {
                                                                                                                                            "$ref":  "#/components/schemas/Users"
                                                                                                                                        }
                                                                                                                         }
                                                                                                }
                                                                                }
                                                                    }
                                                  }
                                      },
                  "/v1/timetypes":  {
                                        "get":  {
                                                    "tags":  [
                                                                 "Time types"
                                                             ],
                                                    "summary":  "Lists timetypes, newest first. Filters: modifiedSince, modifiedBefore, billable, includeArchived. Page with cursor or page. At most 500 per call. Requires scope timetypes:read.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "limit",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "page",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "cursor",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedSince",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedBefore",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "billable",
                                                                           "in":  "query",
                                                                           "description":  "Bara tidtyper som går att fakturera.",
                                                                           "schema":  {
                                                                                          "type":  "boolean"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "includeArchived",
                                                                           "in":  "query",
                                                                           "description":  "Ta med arkiverade poster. Förvalt false.",
                                                                           "schema":  {
                                                                                          "type":  "boolean"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "responses":  {
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "503":  {
                                                                                  "description":  "Service Unavailable",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "200":  {
                                                                                  "description":  "En sida med timetypes, nyaste först.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/TimetypesPage"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                    },
                  "/v1/timetypes/extra-fields":  {
                                                     "get":  {
                                                                 "tags":  [
                                                                              "Time types"
                                                                          ],
                                                                 "summary":  "Describes the customer-defined extra fields on timetypes: key, type, whether it can be written and the allowed values for list fields. Requires scope timetypes:read.",
                                                                 "responses":  {
                                                                                   "403":  {
                                                                                               "description":  "Forbidden",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "503":  {
                                                                                               "description":  "Service Unavailable",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           }
                                                                               }
                                                             }
                                                 },
                  "/v1/timetypes/{key}":  {
                                              "get":  {
                                                          "tags":  [
                                                                       "Time types"
                                                                   ],
                                                          "summary":  "Gets one time type by Name. Requires scope timetypes:read.",
                                                          "parameters":  [
                                                                             {
                                                                                 "name":  "key",
                                                                                 "in":  "path",
                                                                                 "required":  true,
                                                                                 "schema":  {
                                                                                                "type":  "string"
                                                                                            }
                                                                             }
                                                                         ],
                                                          "responses":  {
                                                                            "403":  {
                                                                                        "description":  "Forbidden",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "422":  {
                                                                                        "description":  "Unprocessable Entity",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "200":  {
                                                                                        "description":  "En tidtyp.",
                                                                                        "content":  {
                                                                                                        "application/json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/Timetypes"
                                                                                                                                            }
                                                                                                                             }
                                                                                                    }
                                                                                    }
                                                                        }
                                                      }
                                          },
                  "/v1/pricelists":  {
                                         "get":  {
                                                     "tags":  [
                                                                  "Price lists"
                                                              ],
                                                     "summary":  "Lists pricelists, newest first. Filters: modifiedSince, modifiedBefore, includeArchived. Page with cursor or page. At most 500 per call. Requires scope pricelists:read.",
                                                     "parameters":  [
                                                                        {
                                                                            "name":  "limit",
                                                                            "in":  "query",
                                                                            "schema":  {
                                                                                           "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                           "type":  [
                                                                                                        "integer",
                                                                                                        "string"
                                                                                                    ],
                                                                                           "format":  "int32"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "page",
                                                                            "in":  "query",
                                                                            "schema":  {
                                                                                           "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                           "type":  [
                                                                                                        "integer",
                                                                                                        "string"
                                                                                                    ],
                                                                                           "format":  "int32"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "cursor",
                                                                            "in":  "query",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "modifiedSince",
                                                                            "in":  "query",
                                                                            "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "modifiedBefore",
                                                                            "in":  "query",
                                                                            "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                            "schema":  {
                                                                                           "type":  "string"
                                                                                       }
                                                                        },
                                                                        {
                                                                            "name":  "includeArchived",
                                                                            "in":  "query",
                                                                            "description":  "Ta med arkiverade poster. Förvalt false.",
                                                                            "schema":  {
                                                                                           "type":  "boolean"
                                                                                       }
                                                                        }
                                                                    ],
                                                     "responses":  {
                                                                       "403":  {
                                                                                   "description":  "Forbidden",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "503":  {
                                                                                   "description":  "Service Unavailable",
                                                                                   "content":  {
                                                                                                   "application/problem+json":  {
                                                                                                                                    "schema":  {
                                                                                                                                                   "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                               }
                                                                                                                                }
                                                                                               }
                                                                               },
                                                                       "200":  {
                                                                                   "description":  "En sida med pricelists, nyaste först.",
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/PricelistsPage"
                                                                                                                                       }
                                                                                                                        }
                                                                                               }
                                                                               }
                                                                   }
                                                 }
                                     },
                  "/v1/pricelists/extra-fields":  {
                                                      "get":  {
                                                                  "tags":  [
                                                                               "Price lists"
                                                                           ],
                                                                  "summary":  "Describes the customer-defined extra fields on pricelists: key, type, whether it can be written and the allowed values for list fields. Requires scope pricelists:read.",
                                                                  "responses":  {
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "503":  {
                                                                                                "description":  "Service Unavailable",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              }
                                                  },
                  "/v1/pricelists/{key}":  {
                                               "get":  {
                                                           "tags":  [
                                                                        "Price lists"
                                                                    ],
                                                           "summary":  "Gets one price list by Nr. Requires scope pricelists:read.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "responses":  {
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "En prislista.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Pricelists"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       }
                                           },
                  "/v1/objects1":  {
                                       "get":  {
                                                   "tags":  [
                                                                "Objects 1"
                                                            ],
                                                   "summary":  "Lists objects1, newest first. Filters: modifiedSince, modifiedBefore, name, category, customerNr. Page with cursor or page. At most 500 per call. Requires scope objects1:read.",
                                                   "parameters":  [
                                                                      {
                                                                          "name":  "limit",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "page",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "cursor",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedSince",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedBefore",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "name",
                                                                          "in":  "query",
                                                                          "description":  "Fritextsökning i namnet.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "category",
                                                                          "in":  "query",
                                                                          "description":  "Exakt kategori.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "customerNr",
                                                                          "in":  "query",
                                                                          "description":  "Kundens nummer.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      }
                                                                  ],
                                                   "responses":  {
                                                                     "403":  {
                                                                                 "description":  "Forbidden",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "503":  {
                                                                                 "description":  "Service Unavailable",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "200":  {
                                                                                 "description":  "En sida med objects1, nyaste först.",
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/Objects1Page"
                                                                                                                                     }
                                                                                                                      }
                                                                                             }
                                                                             }
                                                                 }
                                               },
                                       "post":  {
                                                    "tags":  [
                                                                 "Objects 1"
                                                             ],
                                                    "summary":  "Creates a object 1. Requires scope objects1:write and the Idempotency-Key header.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "Idempotency-Key",
                                                                           "in":  "header",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "requestBody":  {
                                                                        "content":  {
                                                                                        "application/json":  {
                                                                                                                 "schema":  {
                                                                                                                                "$ref":  "#/components/schemas/Objects1Write"
                                                                                                                            }
                                                                                                             }
                                                                                    },
                                                                        "required":  true
                                                                    },
                                                    "responses":  {
                                                                      "400":  {
                                                                                  "description":  "Bad Request",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "409":  {
                                                                                  "description":  "Conflict",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "422":  {
                                                                                  "description":  "Unprocessable Entity",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "201":  {
                                                                                  "description":  "Den skapade objekt 1en, som Mobigo sparade den.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/Objects1"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                   },
                  "/v1/objects1/extra-fields":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Objects 1"
                                                                         ],
                                                                "summary":  "Describes the customer-defined extra fields on objects1: key, type, whether it can be written and the allowed values for list fields. Requires scope objects1:read.",
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "503":  {
                                                                                              "description":  "Service Unavailable",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/objects1/{key}":  {
                                             "get":  {
                                                         "tags":  [
                                                                      "Objects 1"
                                                                  ],
                                                         "summary":  "Gets one object 1 by Nr. Requires scope objects1:read.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "responses":  {
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "En objekt 1.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Objects1"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     },
                                             "patch":  {
                                                           "tags":  [
                                                                        "Objects 1"
                                                                    ],
                                                           "summary":  "Updates a object 1. An omitted field is left untouched. Requires scope objects1:write and the Idempotency-Key header.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "Idempotency-Key",
                                                                                  "in":  "header",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "requestBody":  {
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/Objects1Write"
                                                                                                                                   }
                                                                                                                    }
                                                                                           },
                                                                               "required":  true
                                                                           },
                                                           "responses":  {
                                                                             "400":  {
                                                                                         "description":  "Bad Request",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "409":  {
                                                                                         "description":  "Conflict",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "Den uppdaterade objekt 1en.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Objects1"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       }
                                         },
                  "/v1/objects1/{key}/location":  {
                                                      "get":  {
                                                                  "tags":  [
                                                                               "Objects 1"
                                                                           ],
                                                                  "summary":  "The geographic position of a object 1, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope objects1:read.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "locate",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "force",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "responses":  {
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              },
                                                      "put":  {
                                                                  "tags":  [
                                                                               "Objects 1"
                                                                           ],
                                                                  "summary":  "Pins a object 1 to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope objects1:write and the Idempotency-Key header.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "Idempotency-Key",
                                                                                         "in":  "header",
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "requestBody":  {
                                                                                      "content":  {
                                                                                                      "application/json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                          }
                                                                                                                           }
                                                                                                  },
                                                                                      "required":  true
                                                                                  },
                                                                  "responses":  {
                                                                                    "400":  {
                                                                                                "description":  "Bad Request",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              }
                                                  },
                  "/v1/objects2":  {
                                       "get":  {
                                                   "tags":  [
                                                                "Objects 2"
                                                            ],
                                                   "summary":  "Lists objects2, newest first. Filters: modifiedSince, modifiedBefore, name, category, customerNr. Page with cursor or page. At most 500 per call. Requires scope objects2:read.",
                                                   "parameters":  [
                                                                      {
                                                                          "name":  "limit",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "page",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "cursor",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedSince",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedBefore",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "name",
                                                                          "in":  "query",
                                                                          "description":  "Fritextsökning i namnet.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "category",
                                                                          "in":  "query",
                                                                          "description":  "Exakt kategori.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "customerNr",
                                                                          "in":  "query",
                                                                          "description":  "Kundens nummer.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      }
                                                                  ],
                                                   "responses":  {
                                                                     "403":  {
                                                                                 "description":  "Forbidden",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "503":  {
                                                                                 "description":  "Service Unavailable",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "200":  {
                                                                                 "description":  "En sida med objects2, nyaste först.",
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/Objects2Page"
                                                                                                                                     }
                                                                                                                      }
                                                                                             }
                                                                             }
                                                                 }
                                               },
                                       "post":  {
                                                    "tags":  [
                                                                 "Objects 2"
                                                             ],
                                                    "summary":  "Creates a object 2. Requires scope objects2:write and the Idempotency-Key header.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "Idempotency-Key",
                                                                           "in":  "header",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "requestBody":  {
                                                                        "content":  {
                                                                                        "application/json":  {
                                                                                                                 "schema":  {
                                                                                                                                "$ref":  "#/components/schemas/Objects2Write"
                                                                                                                            }
                                                                                                             }
                                                                                    },
                                                                        "required":  true
                                                                    },
                                                    "responses":  {
                                                                      "400":  {
                                                                                  "description":  "Bad Request",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "409":  {
                                                                                  "description":  "Conflict",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "422":  {
                                                                                  "description":  "Unprocessable Entity",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "201":  {
                                                                                  "description":  "Den skapade objekt 2en, som Mobigo sparade den.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/Objects2"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                   },
                  "/v1/objects2/extra-fields":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Objects 2"
                                                                         ],
                                                                "summary":  "Describes the customer-defined extra fields on objects2: key, type, whether it can be written and the allowed values for list fields. Requires scope objects2:read.",
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "503":  {
                                                                                              "description":  "Service Unavailable",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/objects2/{key}":  {
                                             "get":  {
                                                         "tags":  [
                                                                      "Objects 2"
                                                                  ],
                                                         "summary":  "Gets one object 2 by Nr. Requires scope objects2:read.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "responses":  {
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "En objekt 2.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Objects2"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     },
                                             "patch":  {
                                                           "tags":  [
                                                                        "Objects 2"
                                                                    ],
                                                           "summary":  "Updates a object 2. An omitted field is left untouched. Requires scope objects2:write and the Idempotency-Key header.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "Idempotency-Key",
                                                                                  "in":  "header",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "requestBody":  {
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/Objects2Write"
                                                                                                                                   }
                                                                                                                    }
                                                                                           },
                                                                               "required":  true
                                                                           },
                                                           "responses":  {
                                                                             "400":  {
                                                                                         "description":  "Bad Request",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "409":  {
                                                                                         "description":  "Conflict",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "Den uppdaterade objekt 2en.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Objects2"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       }
                                         },
                  "/v1/objects2/{key}/location":  {
                                                      "get":  {
                                                                  "tags":  [
                                                                               "Objects 2"
                                                                           ],
                                                                  "summary":  "The geographic position of a object 2, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope objects2:read.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "locate",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "force",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "responses":  {
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              },
                                                      "put":  {
                                                                  "tags":  [
                                                                               "Objects 2"
                                                                           ],
                                                                  "summary":  "Pins a object 2 to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope objects2:write and the Idempotency-Key header.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "Idempotency-Key",
                                                                                         "in":  "header",
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "requestBody":  {
                                                                                      "content":  {
                                                                                                      "application/json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                          }
                                                                                                                           }
                                                                                                  },
                                                                                      "required":  true
                                                                                  },
                                                                  "responses":  {
                                                                                    "400":  {
                                                                                                "description":  "Bad Request",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              }
                                                  },
                  "/v1/objects3":  {
                                       "get":  {
                                                   "tags":  [
                                                                "Objects 3"
                                                            ],
                                                   "summary":  "Lists objects3, newest first. Filters: modifiedSince, modifiedBefore, name, category, customerNr. Page with cursor or page. At most 500 per call. Requires scope objects3:read.",
                                                   "parameters":  [
                                                                      {
                                                                          "name":  "limit",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "page",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "cursor",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedSince",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedBefore",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "name",
                                                                          "in":  "query",
                                                                          "description":  "Fritextsökning i namnet.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "category",
                                                                          "in":  "query",
                                                                          "description":  "Exakt kategori.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "customerNr",
                                                                          "in":  "query",
                                                                          "description":  "Kundens nummer.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      }
                                                                  ],
                                                   "responses":  {
                                                                     "403":  {
                                                                                 "description":  "Forbidden",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "503":  {
                                                                                 "description":  "Service Unavailable",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "200":  {
                                                                                 "description":  "En sida med objects3, nyaste först.",
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/Objects3Page"
                                                                                                                                     }
                                                                                                                      }
                                                                                             }
                                                                             }
                                                                 }
                                               },
                                       "post":  {
                                                    "tags":  [
                                                                 "Objects 3"
                                                             ],
                                                    "summary":  "Creates a object 3. Requires scope objects3:write and the Idempotency-Key header.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "Idempotency-Key",
                                                                           "in":  "header",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "requestBody":  {
                                                                        "content":  {
                                                                                        "application/json":  {
                                                                                                                 "schema":  {
                                                                                                                                "$ref":  "#/components/schemas/Objects3Write"
                                                                                                                            }
                                                                                                             }
                                                                                    },
                                                                        "required":  true
                                                                    },
                                                    "responses":  {
                                                                      "400":  {
                                                                                  "description":  "Bad Request",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "409":  {
                                                                                  "description":  "Conflict",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "422":  {
                                                                                  "description":  "Unprocessable Entity",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "201":  {
                                                                                  "description":  "Den skapade objekt 3en, som Mobigo sparade den.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/Objects3"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                   },
                  "/v1/objects3/extra-fields":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Objects 3"
                                                                         ],
                                                                "summary":  "Describes the customer-defined extra fields on objects3: key, type, whether it can be written and the allowed values for list fields. Requires scope objects3:read.",
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "503":  {
                                                                                              "description":  "Service Unavailable",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/objects3/{key}":  {
                                             "get":  {
                                                         "tags":  [
                                                                      "Objects 3"
                                                                  ],
                                                         "summary":  "Gets one object 3 by Nr. Requires scope objects3:read.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "responses":  {
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "En objekt 3.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Objects3"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     },
                                             "patch":  {
                                                           "tags":  [
                                                                        "Objects 3"
                                                                    ],
                                                           "summary":  "Updates a object 3. An omitted field is left untouched. Requires scope objects3:write and the Idempotency-Key header.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "Idempotency-Key",
                                                                                  "in":  "header",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "requestBody":  {
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/Objects3Write"
                                                                                                                                   }
                                                                                                                    }
                                                                                           },
                                                                               "required":  true
                                                                           },
                                                           "responses":  {
                                                                             "400":  {
                                                                                         "description":  "Bad Request",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "409":  {
                                                                                         "description":  "Conflict",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "Den uppdaterade objekt 3en.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Objects3"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       }
                                         },
                  "/v1/objects3/{key}/location":  {
                                                      "get":  {
                                                                  "tags":  [
                                                                               "Objects 3"
                                                                           ],
                                                                  "summary":  "The geographic position of a object 3, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope objects3:read.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "locate",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "force",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "responses":  {
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              },
                                                      "put":  {
                                                                  "tags":  [
                                                                               "Objects 3"
                                                                           ],
                                                                  "summary":  "Pins a object 3 to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope objects3:write and the Idempotency-Key header.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "Idempotency-Key",
                                                                                         "in":  "header",
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "requestBody":  {
                                                                                      "content":  {
                                                                                                      "application/json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                          }
                                                                                                                           }
                                                                                                  },
                                                                                      "required":  true
                                                                                  },
                                                                  "responses":  {
                                                                                    "400":  {
                                                                                                "description":  "Bad Request",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              }
                                                  },
                  "/v1/objects4":  {
                                       "get":  {
                                                   "tags":  [
                                                                "Objects 4"
                                                            ],
                                                   "summary":  "Lists objects4, newest first. Filters: modifiedSince, modifiedBefore, name, category, customerNr. Page with cursor or page. At most 500 per call. Requires scope objects4:read.",
                                                   "parameters":  [
                                                                      {
                                                                          "name":  "limit",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "page",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                         "type":  [
                                                                                                      "integer",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "format":  "int32"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "cursor",
                                                                          "in":  "query",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedSince",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "modifiedBefore",
                                                                          "in":  "query",
                                                                          "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "name",
                                                                          "in":  "query",
                                                                          "description":  "Fritextsökning i namnet.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "category",
                                                                          "in":  "query",
                                                                          "description":  "Exakt kategori.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      },
                                                                      {
                                                                          "name":  "customerNr",
                                                                          "in":  "query",
                                                                          "description":  "Kundens nummer.",
                                                                          "schema":  {
                                                                                         "type":  "string"
                                                                                     }
                                                                      }
                                                                  ],
                                                   "responses":  {
                                                                     "403":  {
                                                                                 "description":  "Forbidden",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "503":  {
                                                                                 "description":  "Service Unavailable",
                                                                                 "content":  {
                                                                                                 "application/problem+json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                             }
                                                                                                                              }
                                                                                             }
                                                                             },
                                                                     "200":  {
                                                                                 "description":  "En sida med objects4, nyaste först.",
                                                                                 "content":  {
                                                                                                 "application/json":  {
                                                                                                                          "schema":  {
                                                                                                                                         "$ref":  "#/components/schemas/Objects4Page"
                                                                                                                                     }
                                                                                                                      }
                                                                                             }
                                                                             }
                                                                 }
                                               },
                                       "post":  {
                                                    "tags":  [
                                                                 "Objects 4"
                                                             ],
                                                    "summary":  "Creates a object 4. Requires scope objects4:write and the Idempotency-Key header.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "Idempotency-Key",
                                                                           "in":  "header",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "requestBody":  {
                                                                        "content":  {
                                                                                        "application/json":  {
                                                                                                                 "schema":  {
                                                                                                                                "$ref":  "#/components/schemas/Objects4Write"
                                                                                                                            }
                                                                                                             }
                                                                                    },
                                                                        "required":  true
                                                                    },
                                                    "responses":  {
                                                                      "400":  {
                                                                                  "description":  "Bad Request",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "409":  {
                                                                                  "description":  "Conflict",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "422":  {
                                                                                  "description":  "Unprocessable Entity",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "201":  {
                                                                                  "description":  "Den skapade objekt 4en, som Mobigo sparade den.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/Objects4"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                   },
                  "/v1/objects4/extra-fields":  {
                                                    "get":  {
                                                                "tags":  [
                                                                             "Objects 4"
                                                                         ],
                                                                "summary":  "Describes the customer-defined extra fields on objects4: key, type, whether it can be written and the allowed values for list fields. Requires scope objects4:read.",
                                                                "responses":  {
                                                                                  "403":  {
                                                                                              "description":  "Forbidden",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          },
                                                                                  "503":  {
                                                                                              "description":  "Service Unavailable",
                                                                                              "content":  {
                                                                                                              "application/problem+json":  {
                                                                                                                                               "schema":  {
                                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                          }
                                                                                                                                           }
                                                                                                          }
                                                                                          }
                                                                              }
                                                            }
                                                },
                  "/v1/objects4/{key}":  {
                                             "get":  {
                                                         "tags":  [
                                                                      "Objects 4"
                                                                  ],
                                                         "summary":  "Gets one object 4 by Nr. Requires scope objects4:read.",
                                                         "parameters":  [
                                                                            {
                                                                                "name":  "key",
                                                                                "in":  "path",
                                                                                "required":  true,
                                                                                "schema":  {
                                                                                               "type":  "string"
                                                                                           }
                                                                            }
                                                                        ],
                                                         "responses":  {
                                                                           "403":  {
                                                                                       "description":  "Forbidden",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "422":  {
                                                                                       "description":  "Unprocessable Entity",
                                                                                       "content":  {
                                                                                                       "application/problem+json":  {
                                                                                                                                        "schema":  {
                                                                                                                                                       "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                   }
                                                                                                                                    }
                                                                                                   }
                                                                                   },
                                                                           "200":  {
                                                                                       "description":  "En objekt 4.",
                                                                                       "content":  {
                                                                                                       "application/json":  {
                                                                                                                                "schema":  {
                                                                                                                                               "$ref":  "#/components/schemas/Objects4"
                                                                                                                                           }
                                                                                                                            }
                                                                                                   }
                                                                                   }
                                                                       }
                                                     },
                                             "patch":  {
                                                           "tags":  [
                                                                        "Objects 4"
                                                                    ],
                                                           "summary":  "Updates a object 4. An omitted field is left untouched. Requires scope objects4:write and the Idempotency-Key header.",
                                                           "parameters":  [
                                                                              {
                                                                                  "name":  "Idempotency-Key",
                                                                                  "in":  "header",
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              },
                                                                              {
                                                                                  "name":  "key",
                                                                                  "in":  "path",
                                                                                  "required":  true,
                                                                                  "schema":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                                          ],
                                                           "requestBody":  {
                                                                               "content":  {
                                                                                               "application/json":  {
                                                                                                                        "schema":  {
                                                                                                                                       "$ref":  "#/components/schemas/Objects4Write"
                                                                                                                                   }
                                                                                                                    }
                                                                                           },
                                                                               "required":  true
                                                                           },
                                                           "responses":  {
                                                                             "400":  {
                                                                                         "description":  "Bad Request",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "403":  {
                                                                                         "description":  "Forbidden",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "409":  {
                                                                                         "description":  "Conflict",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "422":  {
                                                                                         "description":  "Unprocessable Entity",
                                                                                         "content":  {
                                                                                                         "application/problem+json":  {
                                                                                                                                          "schema":  {
                                                                                                                                                         "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                     }
                                                                                                                                      }
                                                                                                     }
                                                                                     },
                                                                             "200":  {
                                                                                         "description":  "Den uppdaterade objekt 4en.",
                                                                                         "content":  {
                                                                                                         "application/json":  {
                                                                                                                                  "schema":  {
                                                                                                                                                 "$ref":  "#/components/schemas/Objects4"
                                                                                                                                             }
                                                                                                                              }
                                                                                                     }
                                                                                     }
                                                                         }
                                                       }
                                         },
                  "/v1/objects4/{key}/location":  {
                                                      "get":  {
                                                                  "tags":  [
                                                                               "Objects 4"
                                                                           ],
                                                                  "summary":  "The geographic position of a object 4, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope objects4:read.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "locate",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "force",
                                                                                         "in":  "query",
                                                                                         "schema":  {
                                                                                                        "type":  "boolean"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "responses":  {
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              },
                                                      "put":  {
                                                                  "tags":  [
                                                                               "Objects 4"
                                                                           ],
                                                                  "summary":  "Pins a object 4 to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope objects4:write and the Idempotency-Key header.",
                                                                  "parameters":  [
                                                                                     {
                                                                                         "name":  "Idempotency-Key",
                                                                                         "in":  "header",
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     },
                                                                                     {
                                                                                         "name":  "key",
                                                                                         "in":  "path",
                                                                                         "required":  true,
                                                                                         "schema":  {
                                                                                                        "type":  "string"
                                                                                                    }
                                                                                     }
                                                                                 ],
                                                                  "requestBody":  {
                                                                                      "content":  {
                                                                                                      "application/json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                          }
                                                                                                                           }
                                                                                                  },
                                                                                      "required":  true
                                                                                  },
                                                                  "responses":  {
                                                                                    "400":  {
                                                                                                "description":  "Bad Request",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "403":  {
                                                                                                "description":  "Forbidden",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            },
                                                                                    "422":  {
                                                                                                "description":  "Unprocessable Entity",
                                                                                                "content":  {
                                                                                                                "application/problem+json":  {
                                                                                                                                                 "schema":  {
                                                                                                                                                                "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                            }
                                                                                                                                             }
                                                                                                            }
                                                                                            }
                                                                                }
                                                              }
                                                  },
                  "/v1/times":  {
                                    "get":  {
                                                "tags":  [
                                                             "Times"
                                                         ],
                                                "summary":  "Lists times, newest first. Filters: modifiedSince, modifiedBefore, ownerNr, ownerType, userSign, invoice. Page with cursor or page. At most 500 per call. Requires scope times:read.",
                                                "parameters":  [
                                                                   {
                                                                       "name":  "limit",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                      "type":  [
                                                                                                   "integer",
                                                                                                   "string"
                                                                                               ],
                                                                                      "format":  "int32"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "page",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                      "type":  [
                                                                                                   "integer",
                                                                                                   "string"
                                                                                               ],
                                                                                      "format":  "int32"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "cursor",
                                                                       "in":  "query",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "modifiedSince",
                                                                       "in":  "query",
                                                                       "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "modifiedBefore",
                                                                       "in":  "query",
                                                                       "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "ownerNr",
                                                                       "in":  "query",
                                                                       "description":  "Numret på posten raden hänger på. Utan ownerType antas ett uppdrag.",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "ownerType",
                                                                       "in":  "query",
                                                                       "description":  "Vad raden hänger på: task, quote, order eller contract. Utelämnad tillsammans med ownerNr antas task.",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "userSign",
                                                                       "in":  "query",
                                                                       "description":  "Användarens Mobigo-signatur.",
                                                                       "schema":  {
                                                                                      "type":  "string"
                                                                                  }
                                                                   },
                                                                   {
                                                                       "name":  "invoice",
                                                                       "in":  "query",
                                                                       "description":  "true ger bara fakturerbara rader, false bara de som inte är det.",
                                                                       "schema":  {
                                                                                      "type":  "boolean"
                                                                                  }
                                                                   }
                                                               ],
                                                "responses":  {
                                                                  "403":  {
                                                                              "description":  "Forbidden",
                                                                              "content":  {
                                                                                              "application/problem+json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                          }
                                                                                                                           }
                                                                                          }
                                                                          },
                                                                  "503":  {
                                                                              "description":  "Service Unavailable",
                                                                              "content":  {
                                                                                              "application/problem+json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                          }
                                                                                                                           }
                                                                                          }
                                                                          },
                                                                  "200":  {
                                                                              "description":  "En sida med times, nyaste först.",
                                                                              "content":  {
                                                                                              "application/json":  {
                                                                                                                       "schema":  {
                                                                                                                                      "$ref":  "#/components/schemas/TimesPage"
                                                                                                                                  }
                                                                                                                   }
                                                                                          }
                                                                          }
                                                              }
                                            }
                                },
                  "/v1/times/extra-fields":  {
                                                 "get":  {
                                                             "tags":  [
                                                                          "Times"
                                                                      ],
                                                             "summary":  "Describes the customer-defined extra fields on times: key, type, whether it can be written and the allowed values for list fields. Requires scope times:read.",
                                                             "responses":  {
                                                                               "403":  {
                                                                                           "description":  "Forbidden",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       },
                                                                               "503":  {
                                                                                           "description":  "Service Unavailable",
                                                                                           "content":  {
                                                                                                           "application/problem+json":  {
                                                                                                                                            "schema":  {
                                                                                                                                                           "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                       }
                                                                                                                                        }
                                                                                                       }
                                                                                       }
                                                                           }
                                                         }
                                             },
                  "/v1/times/{key}":  {
                                          "get":  {
                                                      "tags":  [
                                                                   "Times"
                                                               ],
                                                      "summary":  "Gets one time entry by Id. Requires scope times:read.",
                                                      "parameters":  [
                                                                         {
                                                                             "name":  "key",
                                                                             "in":  "path",
                                                                             "required":  true,
                                                                             "schema":  {
                                                                                            "type":  "string"
                                                                                        }
                                                                         }
                                                                     ],
                                                      "responses":  {
                                                                        "403":  {
                                                                                    "description":  "Forbidden",
                                                                                    "content":  {
                                                                                                    "application/problem+json":  {
                                                                                                                                     "schema":  {
                                                                                                                                                    "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                }
                                                                                                                                 }
                                                                                                }
                                                                                },
                                                                        "422":  {
                                                                                    "description":  "Unprocessable Entity",
                                                                                    "content":  {
                                                                                                    "application/problem+json":  {
                                                                                                                                     "schema":  {
                                                                                                                                                    "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                }
                                                                                                                                 }
                                                                                                }
                                                                                },
                                                                        "200":  {
                                                                                    "description":  "En tidrad.",
                                                                                    "content":  {
                                                                                                    "application/json":  {
                                                                                                                             "schema":  {
                                                                                                                                            "$ref":  "#/components/schemas/Times"
                                                                                                                                        }
                                                                                                                         }
                                                                                                }
                                                                                }
                                                                    }
                                                  },
                                          "patch":  {
                                                        "tags":  [
                                                                     "Times"
                                                                 ],
                                                        "summary":  "Updates a time entry. An omitted field is left untouched. Requires scope times:write and the Idempotency-Key header.",
                                                        "parameters":  [
                                                                           {
                                                                               "name":  "Idempotency-Key",
                                                                               "in":  "header",
                                                                               "schema":  {
                                                                                              "type":  "string"
                                                                                          }
                                                                           },
                                                                           {
                                                                               "name":  "key",
                                                                               "in":  "path",
                                                                               "required":  true,
                                                                               "schema":  {
                                                                                              "type":  "string"
                                                                                          }
                                                                           }
                                                                       ],
                                                        "requestBody":  {
                                                                            "content":  {
                                                                                            "application/json":  {
                                                                                                                     "schema":  {
                                                                                                                                    "$ref":  "#/components/schemas/TimesWrite"
                                                                                                                                }
                                                                                                                 }
                                                                                        },
                                                                            "required":  true
                                                                        },
                                                        "responses":  {
                                                                          "400":  {
                                                                                      "description":  "Bad Request",
                                                                                      "content":  {
                                                                                                      "application/problem+json":  {
                                                                                                                                       "schema":  {
                                                                                                                                                      "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                  }
                                                                                                                                   }
                                                                                                  }
                                                                                  },
                                                                          "403":  {
                                                                                      "description":  "Forbidden",
                                                                                      "content":  {
                                                                                                      "application/problem+json":  {
                                                                                                                                       "schema":  {
                                                                                                                                                      "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                  }
                                                                                                                                   }
                                                                                                  }
                                                                                  },
                                                                          "409":  {
                                                                                      "description":  "Conflict",
                                                                                      "content":  {
                                                                                                      "application/problem+json":  {
                                                                                                                                       "schema":  {
                                                                                                                                                      "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                  }
                                                                                                                                   }
                                                                                                  }
                                                                                  },
                                                                          "422":  {
                                                                                      "description":  "Unprocessable Entity",
                                                                                      "content":  {
                                                                                                      "application/problem+json":  {
                                                                                                                                       "schema":  {
                                                                                                                                                      "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                  }
                                                                                                                                   }
                                                                                                  }
                                                                                  },
                                                                          "200":  {
                                                                                      "description":  "Den uppdaterade tidraden.",
                                                                                      "content":  {
                                                                                                      "application/json":  {
                                                                                                                               "schema":  {
                                                                                                                                              "$ref":  "#/components/schemas/Times"
                                                                                                                                          }
                                                                                                                           }
                                                                                                  }
                                                                                  }
                                                                      }
                                                    }
                                      },
                  "/v1/times/{key}/location":  {
                                                   "get":  {
                                                               "tags":  [
                                                                            "Times"
                                                                        ],
                                                               "summary":  "The geographic position of a time entry, as Mobigo has it. With locate=true Mobigo recalculates it first, through the customer\u0027s own geocoding setup. Returns null when the record has no position. Requires scope times:read.",
                                                               "parameters":  [
                                                                                  {
                                                                                      "name":  "key",
                                                                                      "in":  "path",
                                                                                      "required":  true,
                                                                                      "schema":  {
                                                                                                     "type":  "string"
                                                                                                 }
                                                                                  },
                                                                                  {
                                                                                      "name":  "locate",
                                                                                      "in":  "query",
                                                                                      "schema":  {
                                                                                                     "type":  "boolean"
                                                                                                 }
                                                                                  },
                                                                                  {
                                                                                      "name":  "force",
                                                                                      "in":  "query",
                                                                                      "schema":  {
                                                                                                     "type":  "boolean"
                                                                                                 }
                                                                                  }
                                                                              ],
                                                               "responses":  {
                                                                                 "403":  {
                                                                                             "description":  "Forbidden",
                                                                                             "content":  {
                                                                                                             "application/problem+json":  {
                                                                                                                                              "schema":  {
                                                                                                                                                             "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                         }
                                                                                                                                          }
                                                                                                         }
                                                                                         },
                                                                                 "422":  {
                                                                                             "description":  "Unprocessable Entity",
                                                                                             "content":  {
                                                                                                             "application/problem+json":  {
                                                                                                                                              "schema":  {
                                                                                                                                                             "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                         }
                                                                                                                                          }
                                                                                                         }
                                                                                         }
                                                                             }
                                                           },
                                                   "put":  {
                                                               "tags":  [
                                                                            "Times"
                                                                        ],
                                                               "summary":  "Pins a time entry to a fixed position. Use it when the address cannot be geocoded. A fixed position is never overwritten by Mobigo\u0027s own geocoding. Requires scope times:write and the Idempotency-Key header.",
                                                               "parameters":  [
                                                                                  {
                                                                                      "name":  "Idempotency-Key",
                                                                                      "in":  "header",
                                                                                      "schema":  {
                                                                                                     "type":  "string"
                                                                                                 }
                                                                                  },
                                                                                  {
                                                                                      "name":  "key",
                                                                                      "in":  "path",
                                                                                      "required":  true,
                                                                                      "schema":  {
                                                                                                     "type":  "string"
                                                                                                 }
                                                                                  }
                                                                              ],
                                                               "requestBody":  {
                                                                                   "content":  {
                                                                                                   "application/json":  {
                                                                                                                            "schema":  {
                                                                                                                                           "$ref":  "#/components/schemas/LocationRequest"
                                                                                                                                       }
                                                                                                                        }
                                                                                               },
                                                                                   "required":  true
                                                                               },
                                                               "responses":  {
                                                                                 "400":  {
                                                                                             "description":  "Bad Request",
                                                                                             "content":  {
                                                                                                             "application/problem+json":  {
                                                                                                                                              "schema":  {
                                                                                                                                                             "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                         }
                                                                                                                                          }
                                                                                                         }
                                                                                         },
                                                                                 "403":  {
                                                                                             "description":  "Forbidden",
                                                                                             "content":  {
                                                                                                             "application/problem+json":  {
                                                                                                                                              "schema":  {
                                                                                                                                                             "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                         }
                                                                                                                                          }
                                                                                                         }
                                                                                         },
                                                                                 "422":  {
                                                                                             "description":  "Unprocessable Entity",
                                                                                             "content":  {
                                                                                                             "application/problem+json":  {
                                                                                                                                              "schema":  {
                                                                                                                                                             "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                         }
                                                                                                                                          }
                                                                                                         }
                                                                                         }
                                                                             }
                                                           }
                                               },
                  "/v1/materials":  {
                                        "get":  {
                                                    "tags":  [
                                                                 "Materials"
                                                             ],
                                                    "summary":  "Lists materials, newest first. Filters: modifiedSince, modifiedBefore, ownerNr, ownerType, productNr, invoice. Page with cursor or page. At most 500 per call. Requires scope materials:read.",
                                                    "parameters":  [
                                                                       {
                                                                           "name":  "limit",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "page",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                          "type":  [
                                                                                                       "integer",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "format":  "int32"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "cursor",
                                                                           "in":  "query",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedSince",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade efter denna tidpunkt. ISO 8601. Det här är sättet att synka.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "modifiedBefore",
                                                                           "in":  "query",
                                                                           "description":  "Bara poster ändrade före denna tidpunkt. ISO 8601.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "ownerNr",
                                                                           "in":  "query",
                                                                           "description":  "Numret på posten raden hänger på. Utan ownerType antas ett uppdrag.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "ownerType",
                                                                           "in":  "query",
                                                                           "description":  "Vad raden hänger på: task, quote, order eller contract. Utelämnad tillsammans med ownerNr antas task.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "productNr",
                                                                           "in":  "query",
                                                                           "description":  "Artikelnumret på raden.",
                                                                           "schema":  {
                                                                                          "type":  "string"
                                                                                      }
                                                                       },
                                                                       {
                                                                           "name":  "invoice",
                                                                           "in":  "query",
                                                                           "description":  "true ger bara fakturerbara rader, false bara de som inte är det.",
                                                                           "schema":  {
                                                                                          "type":  "boolean"
                                                                                      }
                                                                       }
                                                                   ],
                                                    "responses":  {
                                                                      "403":  {
                                                                                  "description":  "Forbidden",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "503":  {
                                                                                  "description":  "Service Unavailable",
                                                                                  "content":  {
                                                                                                  "application/problem+json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                              }
                                                                                                                               }
                                                                                              }
                                                                              },
                                                                      "200":  {
                                                                                  "description":  "En sida med materials, nyaste först.",
                                                                                  "content":  {
                                                                                                  "application/json":  {
                                                                                                                           "schema":  {
                                                                                                                                          "$ref":  "#/components/schemas/MaterialsPage"
                                                                                                                                      }
                                                                                                                       }
                                                                                              }
                                                                              }
                                                                  }
                                                }
                                    },
                  "/v1/materials/extra-fields":  {
                                                     "get":  {
                                                                 "tags":  [
                                                                              "Materials"
                                                                          ],
                                                                 "summary":  "Describes the customer-defined extra fields on materials: key, type, whether it can be written and the allowed values for list fields. Requires scope materials:read.",
                                                                 "responses":  {
                                                                                   "403":  {
                                                                                               "description":  "Forbidden",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           },
                                                                                   "503":  {
                                                                                               "description":  "Service Unavailable",
                                                                                               "content":  {
                                                                                                               "application/problem+json":  {
                                                                                                                                                "schema":  {
                                                                                                                                                               "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                           }
                                                                                                                                            }
                                                                                                           }
                                                                                           }
                                                                               }
                                                             }
                                                 },
                  "/v1/materials/{key}":  {
                                              "get":  {
                                                          "tags":  [
                                                                       "Materials"
                                                                   ],
                                                          "summary":  "Gets one material line by Id. Requires scope materials:read.",
                                                          "parameters":  [
                                                                             {
                                                                                 "name":  "key",
                                                                                 "in":  "path",
                                                                                 "required":  true,
                                                                                 "schema":  {
                                                                                                "type":  "string"
                                                                                            }
                                                                             }
                                                                         ],
                                                          "responses":  {
                                                                            "403":  {
                                                                                        "description":  "Forbidden",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "422":  {
                                                                                        "description":  "Unprocessable Entity",
                                                                                        "content":  {
                                                                                                        "application/problem+json":  {
                                                                                                                                         "schema":  {
                                                                                                                                                        "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                    }
                                                                                                                                     }
                                                                                                    }
                                                                                    },
                                                                            "200":  {
                                                                                        "description":  "En materialrad.",
                                                                                        "content":  {
                                                                                                        "application/json":  {
                                                                                                                                 "schema":  {
                                                                                                                                                "$ref":  "#/components/schemas/Materials"
                                                                                                                                            }
                                                                                                                             }
                                                                                                    }
                                                                                    }
                                                                        }
                                                      },
                                              "patch":  {
                                                            "tags":  [
                                                                         "Materials"
                                                                     ],
                                                            "summary":  "Updates a material line. An omitted field is left untouched. Requires scope materials:write and the Idempotency-Key header.",
                                                            "parameters":  [
                                                                               {
                                                                                   "name":  "Idempotency-Key",
                                                                                   "in":  "header",
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               },
                                                                               {
                                                                                   "name":  "key",
                                                                                   "in":  "path",
                                                                                   "required":  true,
                                                                                   "schema":  {
                                                                                                  "type":  "string"
                                                                                              }
                                                                               }
                                                                           ],
                                                            "requestBody":  {
                                                                                "content":  {
                                                                                                "application/json":  {
                                                                                                                         "schema":  {
                                                                                                                                        "$ref":  "#/components/schemas/MaterialsWrite"
                                                                                                                                    }
                                                                                                                     }
                                                                                            },
                                                                                "required":  true
                                                                            },
                                                            "responses":  {
                                                                              "400":  {
                                                                                          "description":  "Bad Request",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "403":  {
                                                                                          "description":  "Forbidden",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "409":  {
                                                                                          "description":  "Conflict",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "422":  {
                                                                                          "description":  "Unprocessable Entity",
                                                                                          "content":  {
                                                                                                          "application/problem+json":  {
                                                                                                                                           "schema":  {
                                                                                                                                                          "$ref":  "#/components/schemas/ProblemDetails"
                                                                                                                                                      }
                                                                                                                                       }
                                                                                                      }
                                                                                      },
                                                                              "200":  {
                                                                                          "description":  "Den uppdaterade materialraden.",
                                                                                          "content":  {
                                                                                                          "application/json":  {
                                                                                                                                   "schema":  {
                                                                                                                                                  "$ref":  "#/components/schemas/Materials"
                                                                                                                                              }
                                                                                                                               }
                                                                                                      }
                                                                                      }
                                                                          }
                                                        }
                                          }
              },
    "components":  {
                       "schemas":  {
                                       "Addresses":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "Id":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                            "CustomerNr":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                            "SupplierNr":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                            "ObjectNr":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                            "Level":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "number"
                                                                                                   ]
                                                                                      },
                                                                            "Status":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                            "Name":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "MostImportant":  {
                                                                                                  "type":  "boolean"
                                                                                              },
                                                                            "AddressLine1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                            "AddressLine2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                            "PostalCode":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                            "City":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "State":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Country":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Phone":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Fax":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                            "Email":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Custom1":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom2":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom3":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom4":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Note":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Modified":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         }
                                                                        },
                                                         "description":  "En adress som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                         "example":  {
                                                                         "Id":  "44821",
                                                                         "CustomerNr":  "10003",
                                                                         "SupplierNr":  "L1001",
                                                                         "ObjectNr":  "O1-11840",
                                                                         "Level":  1,
                                                                         "Status":  "Active",
                                                                         "Name":  "Leveransadress",
                                                                         "MostImportant":  true,
                                                                         "AddressLine1":  "Storgatan 1",
                                                                         "AddressLine2":  "",
                                                                         "PostalCode":  "412 50",
                                                                         "City":  "Göteborg",
                                                                         "State":  "",
                                                                         "Country":  "SE",
                                                                         "Phone":  "031-12 34 56",
                                                                         "Fax":  "",
                                                                         "Email":  "info@storfors.se",
                                                                         "Custom1":  "",
                                                                         "Custom2":  "",
                                                                         "Custom3":  "",
                                                                         "Custom4":  "",
                                                                         "Note":  "",
                                                                         "Modified":  "2026-08-20T09:15:00"
                                                                     }
                                                     },
                                       "AddressesPage":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "items":  {
                                                                                              "type":  "array",
                                                                                              "items":  {
                                                                                                            "$ref":  "#/components/schemas/Addresses"
                                                                                                        }
                                                                                          },
                                                                                "nextCursor":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                               },
                                                                                "page":  {
                                                                                             "type":  "integer"
                                                                                         },
                                                                                "total":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "integer"
                                                                                                       ],
                                                                                              "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                          }
                                                                            },
                                                             "example":  {
                                                                             "items":  [
                                                                                           {
                                                                                               "Id":  "44821",
                                                                                               "CustomerNr":  "10003",
                                                                                               "SupplierNr":  "L1001",
                                                                                               "ObjectNr":  "O1-11840",
                                                                                               "Level":  1,
                                                                                               "Status":  "Active",
                                                                                               "Name":  "Leveransadress",
                                                                                               "MostImportant":  true,
                                                                                               "AddressLine1":  "Storgatan 1",
                                                                                               "AddressLine2":  "",
                                                                                               "PostalCode":  "412 50",
                                                                                               "City":  "Göteborg",
                                                                                               "State":  "",
                                                                                               "Country":  "SE",
                                                                                               "Phone":  "031-12 34 56",
                                                                                               "Fax":  "",
                                                                                               "Email":  "info@storfors.se",
                                                                                               "Custom1":  "",
                                                                                               "Custom2":  "",
                                                                                               "Custom3":  "",
                                                                                               "Custom4":  "",
                                                                                               "Note":  "",
                                                                                               "Modified":  "2026-08-20T09:15:00"
                                                                                           }
                                                                                       ],
                                                                             "nextCursor":  "105935",
                                                                             "page":  1,
                                                                             "total":  65233
                                                                         }
                                                         },
                                       "AddressesWrite":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "CustomerNr":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                 "SupplierNr":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                 "ObjectNr":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                 "Level":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "number"
                                                                                                        ]
                                                                                           },
                                                                                 "Name":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "MostImportant":  {
                                                                                                       "type":  "boolean"
                                                                                                   },
                                                                                 "AddressLine1":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                 "AddressLine2":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                 "PostalCode":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                 "City":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "State":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Country":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Phone":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Fax":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                 "Email":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Custom1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom3":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom4":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Note":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          }
                                                                             },
                                                              "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                              "example":  {
                                                                              "CustomerNr":  "10003",
                                                                              "SupplierNr":  "L1001",
                                                                              "ObjectNr":  "O1-11840",
                                                                              "Level":  1,
                                                                              "Name":  "Leveransadress",
                                                                              "MostImportant":  true,
                                                                              "AddressLine1":  "Storgatan 1",
                                                                              "AddressLine2":  "",
                                                                              "PostalCode":  "412 50",
                                                                              "City":  "Göteborg",
                                                                              "State":  "",
                                                                              "Country":  "SE",
                                                                              "Phone":  "031-12 34 56",
                                                                              "Fax":  "",
                                                                              "Email":  "info@storfors.se",
                                                                              "Custom1":  "",
                                                                              "Custom2":  "",
                                                                              "Custom3":  "",
                                                                              "Custom4":  "",
                                                                              "Note":  ""
                                                                          }
                                                          },
                                       "Contacts":  {
                                                        "type":  "object",
                                                        "properties":  {
                                                                           "Id":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                           "CustomerNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                           "Status":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                           "Name":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Position":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "Phone":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                           "Mobile":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                           "Fax":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                           "Email":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                           "MostImportant":  {
                                                                                                 "type":  "boolean"
                                                                                             },
                                                                           "Custom1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom4":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Note":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Modified":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "description":  "ISO 8601.",
                                                                                            "format":  "date-time"
                                                                                        }
                                                                       },
                                                        "description":  "En kontakt som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                        "example":  {
                                                                        "Id":  "44821",
                                                                        "CustomerNr":  "10003",
                                                                        "Status":  "Active",
                                                                        "Name":  "Linus Sedin",
                                                                        "Position":  "Fastighetschef",
                                                                        "Phone":  "031-12 34 56",
                                                                        "Mobile":  "070-123 45 67",
                                                                        "Fax":  "",
                                                                        "Email":  "info@storfors.se",
                                                                        "MostImportant":  true,
                                                                        "Custom1":  "",
                                                                        "Custom2":  "",
                                                                        "Custom3":  "",
                                                                        "Custom4":  "",
                                                                        "Note":  "",
                                                                        "Modified":  "2026-08-20T09:15:00"
                                                                    }
                                                    },
                                       "ContactsPage":  {
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "items":  {
                                                                                             "type":  "array",
                                                                                             "items":  {
                                                                                                           "$ref":  "#/components/schemas/Contacts"
                                                                                                       }
                                                                                         },
                                                                               "nextCursor":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                              },
                                                                               "page":  {
                                                                                            "type":  "integer"
                                                                                        },
                                                                               "total":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "integer"
                                                                                                      ],
                                                                                             "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                         }
                                                                           },
                                                            "example":  {
                                                                            "items":  [
                                                                                          {
                                                                                              "Id":  "44821",
                                                                                              "CustomerNr":  "10003",
                                                                                              "Status":  "Active",
                                                                                              "Name":  "Linus Sedin",
                                                                                              "Position":  "Fastighetschef",
                                                                                              "Phone":  "031-12 34 56",
                                                                                              "Mobile":  "070-123 45 67",
                                                                                              "Fax":  "",
                                                                                              "Email":  "info@storfors.se",
                                                                                              "MostImportant":  true,
                                                                                              "Custom1":  "",
                                                                                              "Custom2":  "",
                                                                                              "Custom3":  "",
                                                                                              "Custom4":  "",
                                                                                              "Note":  "",
                                                                                              "Modified":  "2026-08-20T09:15:00"
                                                                                          }
                                                                                      ],
                                                                            "nextCursor":  "105935",
                                                                            "page":  1,
                                                                            "total":  65233
                                                                        }
                                                        },
                                       "ContactsWrite":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "CustomerNr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                "Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "Position":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "Phone":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                "Mobile":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                "Fax":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                                "Email":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                "MostImportant":  {
                                                                                                      "type":  "boolean"
                                                                                                  },
                                                                                "Custom1":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom2":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom3":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom4":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Note":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         }
                                                                            },
                                                             "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                             "example":  {
                                                                             "CustomerNr":  "10003",
                                                                             "Name":  "Linus Sedin",
                                                                             "Position":  "Fastighetschef",
                                                                             "Phone":  "031-12 34 56",
                                                                             "Mobile":  "070-123 45 67",
                                                                             "Fax":  "",
                                                                             "Email":  "info@storfors.se",
                                                                             "MostImportant":  true,
                                                                             "Custom1":  "",
                                                                             "Custom2":  "",
                                                                             "Custom3":  "",
                                                                             "Custom4":  "",
                                                                             "Note":  ""
                                                                         }
                                                         },
                                       "Contracts":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "Nr":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                            "Status":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                            "CustomerNr":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                            "CustomerName":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                            "CustomerRef":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                            "CustomerOrderer":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                            "StartDate":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ],
                                                                                              "description":  "ISO 8601.",
                                                                                              "format":  "date-time"
                                                                                          },
                                                                            "StopDate":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         },
                                                                            "LastGenerationDate":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "string"
                                                                                                                ],
                                                                                                       "description":  "ISO 8601.",
                                                                                                       "format":  "date-time"
                                                                                                   },
                                                                            "GeneratedStartDate":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "string"
                                                                                                                ],
                                                                                                       "description":  "ISO 8601.",
                                                                                                       "format":  "date-time"
                                                                                                   },
                                                                            "GeneratedStopDate":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ],
                                                                                                      "description":  "ISO 8601.",
                                                                                                      "format":  "date-time"
                                                                                                  },
                                                                            "IsGenerated":  {
                                                                                                "type":  "boolean"
                                                                                            },
                                                                            "Object1Nr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                            "Object1Name":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                            "Object2Nr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                            "Object2Name":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                            "Object3Nr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                            "Object3Name":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                            "Object4Nr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                            "Object4Name":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                            "Custom1":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom2":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom3":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom4":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Note":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Modified":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         },
                                                                            "ExtraFields":  {
                                                                                                "type":  "object",
                                                                                                "additionalProperties":  {
                                                                                                                             "type":  "string"
                                                                                                                         },
                                                                                                "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                            }
                                                                        },
                                                         "description":  "En avtal som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                         "example":  {
                                                                         "Nr":  "10003",
                                                                         "Status":  "Active",
                                                                         "CustomerNr":  "10003",
                                                                         "CustomerName":  "Storfors Service AB",
                                                                         "CustomerRef":  "",
                                                                         "CustomerOrderer":  "",
                                                                         "StartDate":  "2026-09-14",
                                                                         "StopDate":  "2026-09-16",
                                                                         "LastGenerationDate":  "2026-09-14",
                                                                         "GeneratedStartDate":  "2026-09-14",
                                                                         "GeneratedStopDate":  "2026-09-16",
                                                                         "IsGenerated":  false,
                                                                         "Object1Nr":  "O1-11840",
                                                                         "Object1Name":  "Eklundavägen 11",
                                                                         "Object2Nr":  "O1-11840",
                                                                         "Object2Name":  "Eklundavägen 11",
                                                                         "Object3Nr":  "O1-11840",
                                                                         "Object3Name":  "Eklundavägen 11",
                                                                         "Object4Nr":  "O1-11840",
                                                                         "Object4Name":  "Eklundavägen 11",
                                                                         "Custom1":  "",
                                                                         "Custom2":  "",
                                                                         "Custom3":  "",
                                                                         "Custom4":  "",
                                                                         "Note":  "",
                                                                         "Modified":  "2026-08-20T09:15:00",
                                                                         "ExtraFields":  {
                                                                                             "Avtals_typ":  "Helservice",
                                                                                             "Startdatum_avtal":  "2024-01-01"
                                                                                         }
                                                                     }
                                                     },
                                       "ContractsPage":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "items":  {
                                                                                              "type":  "array",
                                                                                              "items":  {
                                                                                                            "$ref":  "#/components/schemas/Contracts"
                                                                                                        }
                                                                                          },
                                                                                "nextCursor":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                               },
                                                                                "page":  {
                                                                                             "type":  "integer"
                                                                                         },
                                                                                "total":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "integer"
                                                                                                       ],
                                                                                              "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                          }
                                                                            },
                                                             "example":  {
                                                                             "items":  [
                                                                                           {
                                                                                               "Nr":  "10003",
                                                                                               "Status":  "Active",
                                                                                               "CustomerNr":  "10003",
                                                                                               "CustomerName":  "Storfors Service AB",
                                                                                               "CustomerRef":  "",
                                                                                               "CustomerOrderer":  "",
                                                                                               "StartDate":  "2026-09-14",
                                                                                               "StopDate":  "2026-09-16",
                                                                                               "LastGenerationDate":  "2026-09-14",
                                                                                               "GeneratedStartDate":  "2026-09-14",
                                                                                               "GeneratedStopDate":  "2026-09-16",
                                                                                               "IsGenerated":  false,
                                                                                               "Object1Nr":  "O1-11840",
                                                                                               "Object1Name":  "Eklundavägen 11",
                                                                                               "Object2Nr":  "O1-11840",
                                                                                               "Object2Name":  "Eklundavägen 11",
                                                                                               "Object3Nr":  "O1-11840",
                                                                                               "Object3Name":  "Eklundavägen 11",
                                                                                               "Object4Nr":  "O1-11840",
                                                                                               "Object4Name":  "Eklundavägen 11",
                                                                                               "Custom1":  "",
                                                                                               "Custom2":  "",
                                                                                               "Custom3":  "",
                                                                                               "Custom4":  "",
                                                                                               "Note":  "",
                                                                                               "Modified":  "2026-08-20T09:15:00",
                                                                                               "ExtraFields":  {
                                                                                                                   "Avtals_typ":  "Helservice",
                                                                                                                   "Startdatum_avtal":  "2024-01-01"
                                                                                                               }
                                                                                           }
                                                                                       ],
                                                                             "nextCursor":  "105935",
                                                                             "page":  1,
                                                                             "total":  65233
                                                                         }
                                                         },
                                       "ContractsWrite":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "Nr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                                 "CustomerNr":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                 "CustomerRef":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                 "CustomerOrderer":  {
                                                                                                         "type":  [
                                                                                                                      "null",
                                                                                                                      "string"
                                                                                                                  ]
                                                                                                     },
                                                                                 "StartDate":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "ISO 8601.",
                                                                                                   "format":  "date-time"
                                                                                               },
                                                                                 "StopDate":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "ISO 8601.",
                                                                                                  "format":  "date-time"
                                                                                              },
                                                                                 "GeneratedStartDate":  {
                                                                                                            "type":  [
                                                                                                                         "null",
                                                                                                                         "string"
                                                                                                                     ],
                                                                                                            "description":  "ISO 8601.",
                                                                                                            "format":  "date-time"
                                                                                                        },
                                                                                 "GeneratedStopDate":  {
                                                                                                           "type":  [
                                                                                                                        "null",
                                                                                                                        "string"
                                                                                                                    ],
                                                                                                           "description":  "ISO 8601.",
                                                                                                           "format":  "date-time"
                                                                                                       },
                                                                                 "Object1Nr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                 "Object2Nr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                 "Object3Nr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                 "Object4Nr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                 "Custom1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom3":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom4":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Note":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "ExtraFields":  {
                                                                                                     "type":  "object",
                                                                                                     "additionalProperties":  {
                                                                                                                                  "type":  "string"
                                                                                                                              },
                                                                                                     "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                 }
                                                                             },
                                                              "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                              "example":  {
                                                                              "Nr":  "10003",
                                                                              "CustomerNr":  "10003",
                                                                              "CustomerRef":  "",
                                                                              "CustomerOrderer":  "",
                                                                              "StartDate":  "2026-09-14",
                                                                              "StopDate":  "2026-09-16",
                                                                              "GeneratedStartDate":  "2026-09-14",
                                                                              "GeneratedStopDate":  "2026-09-16",
                                                                              "Object1Nr":  "O1-11840",
                                                                              "Object2Nr":  "O1-11840",
                                                                              "Object3Nr":  "O1-11840",
                                                                              "Object4Nr":  "O1-11840",
                                                                              "Custom1":  "",
                                                                              "Custom2":  "",
                                                                              "Custom3":  "",
                                                                              "Custom4":  "",
                                                                              "Note":  "",
                                                                              "ExtraFields":  {
                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                              }
                                                                          }
                                                          },
                                       "CreateTaskRequest":  {
                                                                 "required":  [
                                                                                  "customerNr"
                                                                              ],
                                                                 "type":  "object",
                                                                 "properties":  {
                                                                                    "customerNr":  {
                                                                                                       "type":  "string"
                                                                                                   },
                                                                                    "nr":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                    "taskText":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                    "taskNote":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                    "actionText":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "string"
                                                                                                                ]
                                                                                                   },
                                                                                    "actionNote":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "string"
                                                                                                                ]
                                                                                                   },
                                                                                    "customerOrderer":  {
                                                                                                            "type":  [
                                                                                                                         "null",
                                                                                                                         "string"
                                                                                                                     ]
                                                                                                        },
                                                                                    "customerRef":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                                    "planStartDate":  {
                                                                                                          "type":  [
                                                                                                                       "null",
                                                                                                                       "string"
                                                                                                                   ]
                                                                                                      },
                                                                                    "planStopDate":  {
                                                                                                         "type":  [
                                                                                                                      "null",
                                                                                                                      "string"
                                                                                                                  ]
                                                                                                     },
                                                                                    "planDateType":  {
                                                                                                         "type":  [
                                                                                                                      "null",
                                                                                                                      "string"
                                                                                                                  ]
                                                                                                     },
                                                                                    "estimatedTime":  {
                                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                          "type":  [
                                                                                                                       "null",
                                                                                                                       "number",
                                                                                                                       "string"
                                                                                                                   ],
                                                                                                          "format":  "double"
                                                                                                      },
                                                                                    "projectNr":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                    "priorityName":  {
                                                                                                         "type":  [
                                                                                                                      "null",
                                                                                                                      "string"
                                                                                                                  ]
                                                                                                     },
                                                                                    "priceListNr":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                                    "object1Nr":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                    "object2Nr":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                    "object3Nr":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                    "object4Nr":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                    "customT1":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                    "customT2":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                    "customT3":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                    "customA1":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                    "customA2":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                    "customA3":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                    "ownerSign":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                    "userSigns":  {
                                                                                                      "type":  "array",
                                                                                                      "items":  {
                                                                                                                    "type":  "string"
                                                                                                                }
                                                                                                  },
                                                                                    "extraFields":  {
                                                                                                        "type":  "object",
                                                                                                        "additionalProperties":  {
                                                                                                                                     "type":  "string"
                                                                                                                                 }
                                                                                                    },
                                                                                    "materials":  {
                                                                                                      "type":  "array",
                                                                                                      "items":  {
                                                                                                                    "$ref":  "#/components/schemas/MaterialLineDto"
                                                                                                                }
                                                                                                  },
                                                                                    "times":  {
                                                                                                  "type":  "array",
                                                                                                  "items":  {
                                                                                                                "$ref":  "#/components/schemas/TimeLineDto"
                                                                                                            }
                                                                                              }
                                                                                }
                                                             },
                                       "Customers":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "Nr":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                            "Status":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                            "Name":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Category":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                            "AddressLine1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                            "AddressLine2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                            "PostalCode":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                            "City":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "State":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Country":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Phone":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Fax":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                            "Email":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Custom1":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom2":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom3":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom4":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Note":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Modified":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         },
                                                                            "ExtraFields":  {
                                                                                                "type":  "object",
                                                                                                "additionalProperties":  {
                                                                                                                             "type":  "string"
                                                                                                                         },
                                                                                                "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                            }
                                                                        },
                                                         "description":  "En kund som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                         "example":  {
                                                                         "Nr":  "10003",
                                                                         "Status":  "Active",
                                                                         "Name":  "Storfors Service AB",
                                                                         "Category":  "Serviceavtal",
                                                                         "AddressLine1":  "Storgatan 1",
                                                                         "AddressLine2":  "",
                                                                         "PostalCode":  "412 50",
                                                                         "City":  "Göteborg",
                                                                         "State":  "",
                                                                         "Country":  "SE",
                                                                         "Phone":  "031-12 34 56",
                                                                         "Fax":  "",
                                                                         "Email":  "info@storfors.se",
                                                                         "Custom1":  "",
                                                                         "Custom2":  "",
                                                                         "Custom3":  "",
                                                                         "Custom4":  "",
                                                                         "Note":  "",
                                                                         "Modified":  "2026-08-20T09:15:00",
                                                                         "ExtraFields":  {
                                                                                             "Avtals_typ":  "Helservice",
                                                                                             "Startdatum_avtal":  "2024-01-01"
                                                                                         }
                                                                     }
                                                     },
                                       "CustomersPage":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "items":  {
                                                                                              "type":  "array",
                                                                                              "items":  {
                                                                                                            "$ref":  "#/components/schemas/Customers"
                                                                                                        }
                                                                                          },
                                                                                "nextCursor":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                               },
                                                                                "page":  {
                                                                                             "type":  "integer"
                                                                                         },
                                                                                "total":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "integer"
                                                                                                       ],
                                                                                              "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                          }
                                                                            },
                                                             "example":  {
                                                                             "items":  [
                                                                                           {
                                                                                               "Nr":  "10003",
                                                                                               "Status":  "Active",
                                                                                               "Name":  "Storfors Service AB",
                                                                                               "Category":  "Serviceavtal",
                                                                                               "AddressLine1":  "Storgatan 1",
                                                                                               "AddressLine2":  "",
                                                                                               "PostalCode":  "412 50",
                                                                                               "City":  "Göteborg",
                                                                                               "State":  "",
                                                                                               "Country":  "SE",
                                                                                               "Phone":  "031-12 34 56",
                                                                                               "Fax":  "",
                                                                                               "Email":  "info@storfors.se",
                                                                                               "Custom1":  "",
                                                                                               "Custom2":  "",
                                                                                               "Custom3":  "",
                                                                                               "Custom4":  "",
                                                                                               "Note":  "",
                                                                                               "Modified":  "2026-08-20T09:15:00",
                                                                                               "ExtraFields":  {
                                                                                                                   "Avtals_typ":  "Helservice",
                                                                                                                   "Startdatum_avtal":  "2024-01-01"
                                                                                                               }
                                                                                           }
                                                                                       ],
                                                                             "nextCursor":  "105935",
                                                                             "page":  1,
                                                                             "total":  65233
                                                                         }
                                                         },
                                       "CustomersWrite":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "Nr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                                 "Name":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "Category":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                 "AddressLine1":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                 "AddressLine2":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                 "PostalCode":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                 "City":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "State":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Country":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Phone":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Fax":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                 "Email":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Custom1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom3":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom4":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Note":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "ExtraFields":  {
                                                                                                     "type":  "object",
                                                                                                     "additionalProperties":  {
                                                                                                                                  "type":  "string"
                                                                                                                              },
                                                                                                     "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                 },
                                                                                 "contacts":  {
                                                                                                  "type":  "array",
                                                                                                  "items":  {
                                                                                                                "type":  "object",
                                                                                                                "properties":  {
                                                                                                                                   "name":  {
                                                                                                                                                "type":  [
                                                                                                                                                             "null",
                                                                                                                                                             "string"
                                                                                                                                                         ],
                                                                                                                                                "description":  "Kontaktens namn."
                                                                                                                                            },
                                                                                                                                   "position":  {
                                                                                                                                                    "type":  [
                                                                                                                                                                 "null",
                                                                                                                                                                 "string"
                                                                                                                                                             ]
                                                                                                                                                },
                                                                                                                                   "phone":  {
                                                                                                                                                 "type":  [
                                                                                                                                                              "null",
                                                                                                                                                              "string"
                                                                                                                                                          ]
                                                                                                                                             },
                                                                                                                                   "mobile":  {
                                                                                                                                                  "type":  [
                                                                                                                                                               "null",
                                                                                                                                                               "string"
                                                                                                                                                           ]
                                                                                                                                              },
                                                                                                                                   "fax":  {
                                                                                                                                               "type":  [
                                                                                                                                                            "null",
                                                                                                                                                            "string"
                                                                                                                                                        ]
                                                                                                                                           },
                                                                                                                                   "email":  {
                                                                                                                                                 "type":  [
                                                                                                                                                              "null",
                                                                                                                                                              "string"
                                                                                                                                                          ]
                                                                                                                                             },
                                                                                                                                   "mostImportant":  {
                                                                                                                                                         "type":  "boolean",
                                                                                                                                                         "description":  "Kundens huvudkontakt."
                                                                                                                                                     },
                                                                                                                                   "note":  {
                                                                                                                                                "type":  [
                                                                                                                                                             "null",
                                                                                                                                                             "string"
                                                                                                                                                         ]
                                                                                                                                            },
                                                                                                                                   "custom1":  {
                                                                                                                                                   "type":  [
                                                                                                                                                                "null",
                                                                                                                                                                "string"
                                                                                                                                                            ]
                                                                                                                                               },
                                                                                                                                   "custom2":  {
                                                                                                                                                   "type":  [
                                                                                                                                                                "null",
                                                                                                                                                                "string"
                                                                                                                                                            ]
                                                                                                                                               },
                                                                                                                                   "custom3":  {
                                                                                                                                                   "type":  [
                                                                                                                                                                "null",
                                                                                                                                                                "string"
                                                                                                                                                            ]
                                                                                                                                               },
                                                                                                                                   "custom4":  {
                                                                                                                                                   "type":  [
                                                                                                                                                                "null",
                                                                                                                                                                "string"
                                                                                                                                                            ]
                                                                                                                                               }
                                                                                                                               },
                                                                                                                "description":  "En kontaktperson. Bara name krävs.",
                                                                                                                "example":  {
                                                                                                                                "name":  "Linus Sedin",
                                                                                                                                "position":  "Fastighetschef",
                                                                                                                                "phone":  "031-12 34 56",
                                                                                                                                "mobile":  "070-123 45 67",
                                                                                                                                "fax":  "",
                                                                                                                                "email":  "linus.sedin@storfors.se",
                                                                                                                                "mostImportant":  true,
                                                                                                                                "note":  "Byte vid halvårsservice",
                                                                                                                                "custom1":  "",
                                                                                                                                "custom2":  "",
                                                                                                                                "custom3":  "",
                                                                                                                                "custom4":  ""
                                                                                                                            }
                                                                                                            },
                                                                                                  "description":  "Skapas i SAMMA anrop, i samma transaktion. Avvisas någon rad rullas hela posten tillbaka."
                                                                                              }
                                                                             },
                                                              "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                              "example":  {
                                                                              "Nr":  "10003",
                                                                              "Name":  "Storfors Service AB",
                                                                              "Category":  "Serviceavtal",
                                                                              "AddressLine1":  "Storgatan 1",
                                                                              "AddressLine2":  "",
                                                                              "PostalCode":  "412 50",
                                                                              "City":  "Göteborg",
                                                                              "State":  "",
                                                                              "Country":  "SE",
                                                                              "Phone":  "031-12 34 56",
                                                                              "Fax":  "",
                                                                              "Email":  "info@storfors.se",
                                                                              "Custom1":  "",
                                                                              "Custom2":  "",
                                                                              "Custom3":  "",
                                                                              "Custom4":  "",
                                                                              "Note":  "",
                                                                              "ExtraFields":  {
                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                              },
                                                                              "contacts":  [
                                                                                               {
                                                                                                   "name":  "Linus Sedin",
                                                                                                   "position":  "Fastighetschef",
                                                                                                   "phone":  "031-12 34 56",
                                                                                                   "mobile":  "070-123 45 67",
                                                                                                   "fax":  "",
                                                                                                   "email":  "linus.sedin@storfors.se",
                                                                                                   "mostImportant":  true,
                                                                                                   "note":  "Byte vid halvårsservice",
                                                                                                   "custom1":  "",
                                                                                                   "custom2":  "",
                                                                                                   "custom3":  "",
                                                                                                   "custom4":  ""
                                                                                               }
                                                                                           ]
                                                                          }
                                                          },
                                       "DocumentDto":  {
                                                           "required":  [
                                                                            "name",
                                                                            "contentBase64"
                                                                        ],
                                                           "type":  "object",
                                                           "properties":  {
                                                                              "name":  {
                                                                                           "type":  "string"
                                                                                       },
                                                                              "contentBase64":  {
                                                                                                    "type":  "string"
                                                                                                },
                                                                              "docType":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          }
                                                                          }
                                                       },
                                       "LocationRequest":  {
                                                               "required":  [
                                                                                "latitude",
                                                                                "longitude"
                                                                            ],
                                                               "type":  "object",
                                                               "properties":  {
                                                                                  "latitude":  {
                                                                                                   "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                   "type":  [
                                                                                                                "number",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "format":  "double"
                                                                                               },
                                                                                  "longitude":  {
                                                                                                    "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                    "type":  [
                                                                                                                 "number",
                                                                                                                 "string"
                                                                                                             ],
                                                                                                    "format":  "double"
                                                                                                },
                                                                                  "address":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              }
                                                                              }
                                                           },
                                       "MaterialLineDto":  {
                                                               "required":  [
                                                                                "productNr",
                                                                                "quantity"
                                                                            ],
                                                               "type":  "object",
                                                               "properties":  {
                                                                                  "productNr":  {
                                                                                                    "type":  "string"
                                                                                                },
                                                                                  "quantity":  {
                                                                                                   "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                   "type":  [
                                                                                                                "number",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "format":  "double"
                                                                                               },
                                                                                  "unit":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                  "note":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                  "invoiceQuantity":  {
                                                                                                          "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                          "type":  [
                                                                                                                       "null",
                                                                                                                       "number",
                                                                                                                       "string"
                                                                                                                   ],
                                                                                                          "format":  "double"
                                                                                                      },
                                                                                  "invoice":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "boolean"
                                                                                                           ]
                                                                                              },
                                                                                  "discountPct":  {
                                                                                                      "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "number",
                                                                                                                   "string"
                                                                                                               ],
                                                                                                      "format":  "double"
                                                                                                  },
                                                                                  "price":  {
                                                                                                "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "number",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "format":  "double"
                                                                                            },
                                                                                  "purchasePrice":  {
                                                                                                        "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "number",
                                                                                                                     "string"
                                                                                                                 ],
                                                                                                        "format":  "double"
                                                                                                    },
                                                                                  "supplierNr":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                  "deliveryDate":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "string"
                                                                                                                ]
                                                                                                   },
                                                                                  "userSign":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                  "custom1":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                  "custom2":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                  "custom3":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                  "sign1":  {
                                                                                                "oneOf":  [
                                                                                                              {
                                                                                                                  "type":  "null"
                                                                                                              },
                                                                                                              {
                                                                                                                  "$ref":  "#/components/schemas/SignOffDto"
                                                                                                              }
                                                                                                          ]
                                                                                            },
                                                                                  "sign2":  {
                                                                                                "oneOf":  [
                                                                                                              {
                                                                                                                  "type":  "null"
                                                                                                              },
                                                                                                              {
                                                                                                                  "$ref":  "#/components/schemas/SignOffDto"
                                                                                                              }
                                                                                                          ]
                                                                                            }
                                                                              }
                                                           },
                                       "Materials":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "Id":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                            "OwnerNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "ProductNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                            "ProductName":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                            "Unit":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Note":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "UserSign":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                            "Quantity":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "number"
                                                                                                      ]
                                                                                         },
                                                                            "InvoiceQuantity":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "number"
                                                                                                             ]
                                                                                                },
                                                                            "Price":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "number"
                                                                                                   ]
                                                                                      },
                                                                            "DiscountPct":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "number"
                                                                                                         ]
                                                                                            },
                                                                            "Invoice":  {
                                                                                            "type":  "boolean"
                                                                                        },
                                                                            "DeliveryDate":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ],
                                                                                                 "description":  "ISO 8601.",
                                                                                                 "format":  "date-time"
                                                                                             },
                                                                            "SupplierNr":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                            "PurchasePriceListNr":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                            "PurchasePrice":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "number"
                                                                                                           ]
                                                                                              },
                                                                            "CostPerUnit":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "number"
                                                                                                         ]
                                                                                            },
                                                                            "TotalCost":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "number"
                                                                                                       ]
                                                                                          },
                                                                            "Custom1":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom2":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom3":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Sign1By":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Sign1Date":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ],
                                                                                              "description":  "ISO 8601.",
                                                                                              "format":  "date-time"
                                                                                          },
                                                                            "Sign2By":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Sign2Date":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ],
                                                                                              "description":  "ISO 8601.",
                                                                                              "format":  "date-time"
                                                                                          },
                                                                            "Modified":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         }
                                                                        },
                                                         "description":  "En materialrad som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                         "example":  {
                                                                         "Id":  "44821",
                                                                         "OwnerNr":  "U039071",
                                                                         "ProductNr":  "A10001",
                                                                         "ProductName":  "Vattenpass kort",
                                                                         "Unit":  "st",
                                                                         "Note":  "",
                                                                         "UserSign":  "AN",
                                                                         "Quantity":  3,
                                                                         "InvoiceQuantity":  3,
                                                                         "Price":  750,
                                                                         "DiscountPct":  0,
                                                                         "Invoice":  true,
                                                                         "DeliveryDate":  "2026-09-14",
                                                                         "SupplierNr":  "L1001",
                                                                         "PurchasePriceListNr":  "1",
                                                                         "PurchasePrice":  750,
                                                                         "CostPerUnit":  750,
                                                                         "TotalCost":  2250,
                                                                         "Custom1":  "",
                                                                         "Custom2":  "",
                                                                         "Custom3":  "",
                                                                         "Sign1By":  "",
                                                                         "Sign1Date":  "2026-09-14",
                                                                         "Sign2By":  "",
                                                                         "Sign2Date":  "2026-09-14",
                                                                         "Modified":  "2026-08-20T09:15:00"
                                                                     }
                                                     },
                                       "MaterialsPage":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "items":  {
                                                                                              "type":  "array",
                                                                                              "items":  {
                                                                                                            "$ref":  "#/components/schemas/Materials"
                                                                                                        }
                                                                                          },
                                                                                "nextCursor":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                               },
                                                                                "page":  {
                                                                                             "type":  "integer"
                                                                                         },
                                                                                "total":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "integer"
                                                                                                       ],
                                                                                              "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                          }
                                                                            },
                                                             "example":  {
                                                                             "items":  [
                                                                                           {
                                                                                               "Id":  "44821",
                                                                                               "OwnerNr":  "U039071",
                                                                                               "ProductNr":  "A10001",
                                                                                               "ProductName":  "Vattenpass kort",
                                                                                               "Unit":  "st",
                                                                                               "Note":  "",
                                                                                               "UserSign":  "AN",
                                                                                               "Quantity":  3,
                                                                                               "InvoiceQuantity":  3,
                                                                                               "Price":  750,
                                                                                               "DiscountPct":  0,
                                                                                               "Invoice":  true,
                                                                                               "DeliveryDate":  "2026-09-14",
                                                                                               "SupplierNr":  "L1001",
                                                                                               "PurchasePriceListNr":  "1",
                                                                                               "PurchasePrice":  750,
                                                                                               "CostPerUnit":  750,
                                                                                               "TotalCost":  2250,
                                                                                               "Custom1":  "",
                                                                                               "Custom2":  "",
                                                                                               "Custom3":  "",
                                                                                               "Sign1By":  "",
                                                                                               "Sign1Date":  "2026-09-14",
                                                                                               "Sign2By":  "",
                                                                                               "Sign2Date":  "2026-09-14",
                                                                                               "Modified":  "2026-08-20T09:15:00"
                                                                                           }
                                                                                       ],
                                                                             "nextCursor":  "105935",
                                                                             "page":  1,
                                                                             "total":  65233
                                                                         }
                                                         },
                                       "MaterialsWrite":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "Note":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "UserSign":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                 "Quantity":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "number"
                                                                                                           ]
                                                                                              },
                                                                                 "InvoiceQuantity":  {
                                                                                                         "type":  [
                                                                                                                      "null",
                                                                                                                      "number"
                                                                                                                  ]
                                                                                                     },
                                                                                 "Price":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "number"
                                                                                                        ]
                                                                                           },
                                                                                 "DiscountPct":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "number"
                                                                                                              ]
                                                                                                 },
                                                                                 "Invoice":  {
                                                                                                 "type":  "boolean"
                                                                                             },
                                                                                 "DeliveryDate":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ],
                                                                                                      "description":  "ISO 8601.",
                                                                                                      "format":  "date-time"
                                                                                                  },
                                                                                 "SupplierNr":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                 "PurchasePriceListNr":  {
                                                                                                             "type":  [
                                                                                                                          "null",
                                                                                                                          "string"
                                                                                                                      ]
                                                                                                         },
                                                                                 "PurchasePrice":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "number"
                                                                                                                ]
                                                                                                   },
                                                                                 "CostPerUnit":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "number"
                                                                                                              ]
                                                                                                 },
                                                                                 "TotalCost":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "number"
                                                                                                            ]
                                                                                               },
                                                                                 "Custom1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom3":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Sign1By":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Sign1Date":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "ISO 8601.",
                                                                                                   "format":  "date-time"
                                                                                               },
                                                                                 "Sign2By":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Sign2Date":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "ISO 8601.",
                                                                                                   "format":  "date-time"
                                                                                               }
                                                                             },
                                                              "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                              "example":  {
                                                                              "Note":  "",
                                                                              "UserSign":  "AN",
                                                                              "Quantity":  3,
                                                                              "InvoiceQuantity":  3,
                                                                              "Price":  750,
                                                                              "DiscountPct":  0,
                                                                              "Invoice":  true,
                                                                              "DeliveryDate":  "2026-09-14",
                                                                              "SupplierNr":  "L1001",
                                                                              "PurchasePriceListNr":  "1",
                                                                              "PurchasePrice":  750,
                                                                              "CostPerUnit":  750,
                                                                              "TotalCost":  2250,
                                                                              "Custom1":  "",
                                                                              "Custom2":  "",
                                                                              "Custom3":  "",
                                                                              "Sign1By":  "",
                                                                              "Sign1Date":  "2026-09-14",
                                                                              "Sign2By":  "",
                                                                              "Sign2Date":  "2026-09-14"
                                                                          }
                                                          },
                                       "NoteDto":  {
                                                       "required":  [
                                                                        "text"
                                                                    ],
                                                       "type":  "object",
                                                       "properties":  {
                                                                          "text":  {
                                                                                       "type":  "string"
                                                                                   }
                                                                      }
                                                   },
                                       "Objects1":  {
                                                        "type":  "object",
                                                        "properties":  {
                                                                           "Nr":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                           "Status":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                           "Name":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Category":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "CustomerNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                           "Level":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "number"
                                                                                                  ]
                                                                                     },
                                                                           "ParentNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "Custom1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom4":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Note":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Modified":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "description":  "ISO 8601.",
                                                                                            "format":  "date-time"
                                                                                        },
                                                                           "ExtraFields":  {
                                                                                               "type":  "object",
                                                                                               "additionalProperties":  {
                                                                                                                            "type":  "string"
                                                                                                                        },
                                                                                               "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                           }
                                                                       },
                                                        "description":  "En objekt 1 som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                        "example":  {
                                                                        "Nr":  "10003",
                                                                        "Status":  "Active",
                                                                        "Name":  "Eklundavägen 11",
                                                                        "Category":  "Serviceavtal",
                                                                        "CustomerNr":  "10003",
                                                                        "Level":  1,
                                                                        "ParentNr":  "O1-11840",
                                                                        "Custom1":  "",
                                                                        "Custom2":  "",
                                                                        "Custom3":  "",
                                                                        "Custom4":  "",
                                                                        "Note":  "",
                                                                        "Modified":  "2026-08-20T09:15:00",
                                                                        "ExtraFields":  {
                                                                                            "Avtals_typ":  "Helservice",
                                                                                            "Startdatum_avtal":  "2024-01-01"
                                                                                        }
                                                                    }
                                                    },
                                       "Objects1Page":  {
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "items":  {
                                                                                             "type":  "array",
                                                                                             "items":  {
                                                                                                           "$ref":  "#/components/schemas/Objects1"
                                                                                                       }
                                                                                         },
                                                                               "nextCursor":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                              },
                                                                               "page":  {
                                                                                            "type":  "integer"
                                                                                        },
                                                                               "total":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "integer"
                                                                                                      ],
                                                                                             "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                         }
                                                                           },
                                                            "example":  {
                                                                            "items":  [
                                                                                          {
                                                                                              "Nr":  "10003",
                                                                                              "Status":  "Active",
                                                                                              "Name":  "Eklundavägen 11",
                                                                                              "Category":  "Serviceavtal",
                                                                                              "CustomerNr":  "10003",
                                                                                              "Level":  1,
                                                                                              "ParentNr":  "O1-11840",
                                                                                              "Custom1":  "",
                                                                                              "Custom2":  "",
                                                                                              "Custom3":  "",
                                                                                              "Custom4":  "",
                                                                                              "Note":  "",
                                                                                              "Modified":  "2026-08-20T09:15:00",
                                                                                              "ExtraFields":  {
                                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                                              }
                                                                                          }
                                                                                      ],
                                                                            "nextCursor":  "105935",
                                                                            "page":  1,
                                                                            "total":  65233
                                                                        }
                                                        },
                                       "Objects1Write":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                                "Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "Category":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "CustomerNr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                "ParentNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "Custom1":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom2":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom3":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom4":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Note":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "ExtraFields":  {
                                                                                                    "type":  "object",
                                                                                                    "additionalProperties":  {
                                                                                                                                 "type":  "string"
                                                                                                                             },
                                                                                                    "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                }
                                                                            },
                                                             "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                             "example":  {
                                                                             "Nr":  "10003",
                                                                             "Name":  "Eklundavägen 11",
                                                                             "Category":  "Serviceavtal",
                                                                             "CustomerNr":  "10003",
                                                                             "ParentNr":  "O1-11840",
                                                                             "Custom1":  "",
                                                                             "Custom2":  "",
                                                                             "Custom3":  "",
                                                                             "Custom4":  "",
                                                                             "Note":  "",
                                                                             "ExtraFields":  {
                                                                                                 "Avtals_typ":  "Helservice",
                                                                                                 "Startdatum_avtal":  "2024-01-01"
                                                                                             }
                                                                         }
                                                         },
                                       "Objects2":  {
                                                        "type":  "object",
                                                        "properties":  {
                                                                           "Nr":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                           "Status":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                           "Name":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Category":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "CustomerNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                           "Level":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "number"
                                                                                                  ]
                                                                                     },
                                                                           "ParentNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "Custom1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom4":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Note":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Modified":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "description":  "ISO 8601.",
                                                                                            "format":  "date-time"
                                                                                        },
                                                                           "ExtraFields":  {
                                                                                               "type":  "object",
                                                                                               "additionalProperties":  {
                                                                                                                            "type":  "string"
                                                                                                                        },
                                                                                               "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                           }
                                                                       },
                                                        "description":  "En objekt 2 som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                        "example":  {
                                                                        "Nr":  "10003",
                                                                        "Status":  "Active",
                                                                        "Name":  "Eklundavägen 11",
                                                                        "Category":  "Serviceavtal",
                                                                        "CustomerNr":  "10003",
                                                                        "Level":  1,
                                                                        "ParentNr":  "O1-11840",
                                                                        "Custom1":  "",
                                                                        "Custom2":  "",
                                                                        "Custom3":  "",
                                                                        "Custom4":  "",
                                                                        "Note":  "",
                                                                        "Modified":  "2026-08-20T09:15:00",
                                                                        "ExtraFields":  {
                                                                                            "Avtals_typ":  "Helservice",
                                                                                            "Startdatum_avtal":  "2024-01-01"
                                                                                        }
                                                                    }
                                                    },
                                       "Objects2Page":  {
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "items":  {
                                                                                             "type":  "array",
                                                                                             "items":  {
                                                                                                           "$ref":  "#/components/schemas/Objects2"
                                                                                                       }
                                                                                         },
                                                                               "nextCursor":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                              },
                                                                               "page":  {
                                                                                            "type":  "integer"
                                                                                        },
                                                                               "total":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "integer"
                                                                                                      ],
                                                                                             "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                         }
                                                                           },
                                                            "example":  {
                                                                            "items":  [
                                                                                          {
                                                                                              "Nr":  "10003",
                                                                                              "Status":  "Active",
                                                                                              "Name":  "Eklundavägen 11",
                                                                                              "Category":  "Serviceavtal",
                                                                                              "CustomerNr":  "10003",
                                                                                              "Level":  1,
                                                                                              "ParentNr":  "O1-11840",
                                                                                              "Custom1":  "",
                                                                                              "Custom2":  "",
                                                                                              "Custom3":  "",
                                                                                              "Custom4":  "",
                                                                                              "Note":  "",
                                                                                              "Modified":  "2026-08-20T09:15:00",
                                                                                              "ExtraFields":  {
                                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                                              }
                                                                                          }
                                                                                      ],
                                                                            "nextCursor":  "105935",
                                                                            "page":  1,
                                                                            "total":  65233
                                                                        }
                                                        },
                                       "Objects2Write":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                                "Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "Category":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "CustomerNr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                "ParentNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "Custom1":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom2":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom3":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom4":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Note":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "ExtraFields":  {
                                                                                                    "type":  "object",
                                                                                                    "additionalProperties":  {
                                                                                                                                 "type":  "string"
                                                                                                                             },
                                                                                                    "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                }
                                                                            },
                                                             "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                             "example":  {
                                                                             "Nr":  "10003",
                                                                             "Name":  "Eklundavägen 11",
                                                                             "Category":  "Serviceavtal",
                                                                             "CustomerNr":  "10003",
                                                                             "ParentNr":  "O1-11840",
                                                                             "Custom1":  "",
                                                                             "Custom2":  "",
                                                                             "Custom3":  "",
                                                                             "Custom4":  "",
                                                                             "Note":  "",
                                                                             "ExtraFields":  {
                                                                                                 "Avtals_typ":  "Helservice",
                                                                                                 "Startdatum_avtal":  "2024-01-01"
                                                                                             }
                                                                         }
                                                         },
                                       "Objects3":  {
                                                        "type":  "object",
                                                        "properties":  {
                                                                           "Nr":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                           "Status":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                           "Name":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Category":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "CustomerNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                           "Level":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "number"
                                                                                                  ]
                                                                                     },
                                                                           "ParentNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "Custom1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom4":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Note":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Modified":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "description":  "ISO 8601.",
                                                                                            "format":  "date-time"
                                                                                        },
                                                                           "ExtraFields":  {
                                                                                               "type":  "object",
                                                                                               "additionalProperties":  {
                                                                                                                            "type":  "string"
                                                                                                                        },
                                                                                               "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                           }
                                                                       },
                                                        "description":  "En objekt 3 som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                        "example":  {
                                                                        "Nr":  "10003",
                                                                        "Status":  "Active",
                                                                        "Name":  "Eklundavägen 11",
                                                                        "Category":  "Serviceavtal",
                                                                        "CustomerNr":  "10003",
                                                                        "Level":  1,
                                                                        "ParentNr":  "O1-11840",
                                                                        "Custom1":  "",
                                                                        "Custom2":  "",
                                                                        "Custom3":  "",
                                                                        "Custom4":  "",
                                                                        "Note":  "",
                                                                        "Modified":  "2026-08-20T09:15:00",
                                                                        "ExtraFields":  {
                                                                                            "Avtals_typ":  "Helservice",
                                                                                            "Startdatum_avtal":  "2024-01-01"
                                                                                        }
                                                                    }
                                                    },
                                       "Objects3Page":  {
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "items":  {
                                                                                             "type":  "array",
                                                                                             "items":  {
                                                                                                           "$ref":  "#/components/schemas/Objects3"
                                                                                                       }
                                                                                         },
                                                                               "nextCursor":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                              },
                                                                               "page":  {
                                                                                            "type":  "integer"
                                                                                        },
                                                                               "total":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "integer"
                                                                                                      ],
                                                                                             "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                         }
                                                                           },
                                                            "example":  {
                                                                            "items":  [
                                                                                          {
                                                                                              "Nr":  "10003",
                                                                                              "Status":  "Active",
                                                                                              "Name":  "Eklundavägen 11",
                                                                                              "Category":  "Serviceavtal",
                                                                                              "CustomerNr":  "10003",
                                                                                              "Level":  1,
                                                                                              "ParentNr":  "O1-11840",
                                                                                              "Custom1":  "",
                                                                                              "Custom2":  "",
                                                                                              "Custom3":  "",
                                                                                              "Custom4":  "",
                                                                                              "Note":  "",
                                                                                              "Modified":  "2026-08-20T09:15:00",
                                                                                              "ExtraFields":  {
                                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                                              }
                                                                                          }
                                                                                      ],
                                                                            "nextCursor":  "105935",
                                                                            "page":  1,
                                                                            "total":  65233
                                                                        }
                                                        },
                                       "Objects3Write":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                                "Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "Category":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "CustomerNr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                "ParentNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "Custom1":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom2":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom3":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom4":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Note":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "ExtraFields":  {
                                                                                                    "type":  "object",
                                                                                                    "additionalProperties":  {
                                                                                                                                 "type":  "string"
                                                                                                                             },
                                                                                                    "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                }
                                                                            },
                                                             "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                             "example":  {
                                                                             "Nr":  "10003",
                                                                             "Name":  "Eklundavägen 11",
                                                                             "Category":  "Serviceavtal",
                                                                             "CustomerNr":  "10003",
                                                                             "ParentNr":  "O1-11840",
                                                                             "Custom1":  "",
                                                                             "Custom2":  "",
                                                                             "Custom3":  "",
                                                                             "Custom4":  "",
                                                                             "Note":  "",
                                                                             "ExtraFields":  {
                                                                                                 "Avtals_typ":  "Helservice",
                                                                                                 "Startdatum_avtal":  "2024-01-01"
                                                                                             }
                                                                         }
                                                         },
                                       "Objects4":  {
                                                        "type":  "object",
                                                        "properties":  {
                                                                           "Nr":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                           "Status":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                           "Name":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Category":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "CustomerNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                           "Level":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "number"
                                                                                                  ]
                                                                                     },
                                                                           "ParentNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "Custom1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom4":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Note":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Modified":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "description":  "ISO 8601.",
                                                                                            "format":  "date-time"
                                                                                        },
                                                                           "ExtraFields":  {
                                                                                               "type":  "object",
                                                                                               "additionalProperties":  {
                                                                                                                            "type":  "string"
                                                                                                                        },
                                                                                               "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                           }
                                                                       },
                                                        "description":  "En objekt 4 som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                        "example":  {
                                                                        "Nr":  "10003",
                                                                        "Status":  "Active",
                                                                        "Name":  "Eklundavägen 11",
                                                                        "Category":  "Serviceavtal",
                                                                        "CustomerNr":  "10003",
                                                                        "Level":  1,
                                                                        "ParentNr":  "O1-11840",
                                                                        "Custom1":  "",
                                                                        "Custom2":  "",
                                                                        "Custom3":  "",
                                                                        "Custom4":  "",
                                                                        "Note":  "",
                                                                        "Modified":  "2026-08-20T09:15:00",
                                                                        "ExtraFields":  {
                                                                                            "Avtals_typ":  "Helservice",
                                                                                            "Startdatum_avtal":  "2024-01-01"
                                                                                        }
                                                                    }
                                                    },
                                       "Objects4Page":  {
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "items":  {
                                                                                             "type":  "array",
                                                                                             "items":  {
                                                                                                           "$ref":  "#/components/schemas/Objects4"
                                                                                                       }
                                                                                         },
                                                                               "nextCursor":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                              },
                                                                               "page":  {
                                                                                            "type":  "integer"
                                                                                        },
                                                                               "total":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "integer"
                                                                                                      ],
                                                                                             "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                         }
                                                                           },
                                                            "example":  {
                                                                            "items":  [
                                                                                          {
                                                                                              "Nr":  "10003",
                                                                                              "Status":  "Active",
                                                                                              "Name":  "Eklundavägen 11",
                                                                                              "Category":  "Serviceavtal",
                                                                                              "CustomerNr":  "10003",
                                                                                              "Level":  1,
                                                                                              "ParentNr":  "O1-11840",
                                                                                              "Custom1":  "",
                                                                                              "Custom2":  "",
                                                                                              "Custom3":  "",
                                                                                              "Custom4":  "",
                                                                                              "Note":  "",
                                                                                              "Modified":  "2026-08-20T09:15:00",
                                                                                              "ExtraFields":  {
                                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                                              }
                                                                                          }
                                                                                      ],
                                                                            "nextCursor":  "105935",
                                                                            "page":  1,
                                                                            "total":  65233
                                                                        }
                                                        },
                                       "Objects4Write":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                                "Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "Category":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "CustomerNr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                "ParentNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "Custom1":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom2":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom3":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom4":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Note":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "ExtraFields":  {
                                                                                                    "type":  "object",
                                                                                                    "additionalProperties":  {
                                                                                                                                 "type":  "string"
                                                                                                                             },
                                                                                                    "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                }
                                                                            },
                                                             "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                             "example":  {
                                                                             "Nr":  "10003",
                                                                             "Name":  "Eklundavägen 11",
                                                                             "Category":  "Serviceavtal",
                                                                             "CustomerNr":  "10003",
                                                                             "ParentNr":  "O1-11840",
                                                                             "Custom1":  "",
                                                                             "Custom2":  "",
                                                                             "Custom3":  "",
                                                                             "Custom4":  "",
                                                                             "Note":  "",
                                                                             "ExtraFields":  {
                                                                                                 "Avtals_typ":  "Helservice",
                                                                                                 "Startdatum_avtal":  "2024-01-01"
                                                                                             }
                                                                         }
                                                         },
                                       "OrderLineDto":  {
                                                            "required":  [
                                                                             "productNr"
                                                                         ],
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "productNr":  {
                                                                                                 "type":  "string"
                                                                                             },
                                                                               "quantity":  {
                                                                                                "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "number",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "format":  "double"
                                                                                            },
                                                                               "unit":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                               "price":  {
                                                                                             "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "number",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "format":  "double"
                                                                                         },
                                                                               "purchasePrice":  {
                                                                                                     "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "number",
                                                                                                                  "string"
                                                                                                              ],
                                                                                                     "format":  "double"
                                                                                                 },
                                                                               "supplierNr":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                               "discountPct":  {
                                                                                                   "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "number",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "format":  "double"
                                                                                               },
                                                                               "discountPrice":  {
                                                                                                     "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "number",
                                                                                                                  "string"
                                                                                                              ],
                                                                                                     "format":  "double"
                                                                                                 },
                                                                               "deliveryDate":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                               "note":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                               "internalNote":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                               "custom1":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                               "custom2":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                               "custom3":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           }
                                                                           }
                                                        },
                                       "Orderlines":  {
                                                          "type":  "object",
                                                          "properties":  {
                                                                             "Id":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                             "OrderNr":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                             "ProductNr":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                             "ProductName":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                             "Quantity":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "number"
                                                                                                       ]
                                                                                          },
                                                                             "Unit":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                             "Price":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "number"
                                                                                                    ]
                                                                                       },
                                                                             "PurchasePrice":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "number"
                                                                                                            ]
                                                                                               },
                                                                             "PriceListNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                             "PurchasePriceListNr":  {
                                                                                                         "type":  [
                                                                                                                      "null",
                                                                                                                      "string"
                                                                                                                  ]
                                                                                                     },
                                                                             "SupplierNr":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                             "DiscountPct":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "number"
                                                                                                          ]
                                                                                             },
                                                                             "DiscountPrice":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "number"
                                                                                                            ]
                                                                                               },
                                                                             "TotalPrice":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "number"
                                                                                                         ]
                                                                                            },
                                                                             "DeliveryDate":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "ISO 8601.",
                                                                                                  "format":  "date-time"
                                                                                              },
                                                                             "Note":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                             "InternalNote":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                             "Custom1":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                             "Custom2":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                             "Custom3":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                             "Modified":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ],
                                                                                              "description":  "ISO 8601.",
                                                                                              "format":  "date-time"
                                                                                          }
                                                                         },
                                                          "description":  "En orderrad som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                          "example":  {
                                                                          "Id":  "44821",
                                                                          "OrderNr":  "B00059",
                                                                          "ProductNr":  "A10001",
                                                                          "ProductName":  "Vattenpass kort",
                                                                          "Quantity":  3,
                                                                          "Unit":  "st",
                                                                          "Price":  750,
                                                                          "PurchasePrice":  750,
                                                                          "PriceListNr":  "1",
                                                                          "PurchasePriceListNr":  "1",
                                                                          "SupplierNr":  "L1001",
                                                                          "DiscountPct":  0,
                                                                          "DiscountPrice":  750,
                                                                          "TotalPrice":  2250,
                                                                          "DeliveryDate":  "2026-09-14",
                                                                          "Note":  "",
                                                                          "InternalNote":  "",
                                                                          "Custom1":  "",
                                                                          "Custom2":  "",
                                                                          "Custom3":  "",
                                                                          "Modified":  "2026-08-20T09:15:00"
                                                                      }
                                                      },
                                       "OrderlinesPage":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "items":  {
                                                                                               "type":  "array",
                                                                                               "items":  {
                                                                                                             "$ref":  "#/components/schemas/Orderlines"
                                                                                                         }
                                                                                           },
                                                                                 "nextCursor":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ],
                                                                                                    "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                                },
                                                                                 "page":  {
                                                                                              "type":  "integer"
                                                                                          },
                                                                                 "total":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "integer"
                                                                                                        ],
                                                                                               "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                           }
                                                                             },
                                                              "example":  {
                                                                              "items":  [
                                                                                            {
                                                                                                "Id":  "44821",
                                                                                                "OrderNr":  "B00059",
                                                                                                "ProductNr":  "A10001",
                                                                                                "ProductName":  "Vattenpass kort",
                                                                                                "Quantity":  3,
                                                                                                "Unit":  "st",
                                                                                                "Price":  750,
                                                                                                "PurchasePrice":  750,
                                                                                                "PriceListNr":  "1",
                                                                                                "PurchasePriceListNr":  "1",
                                                                                                "SupplierNr":  "L1001",
                                                                                                "DiscountPct":  0,
                                                                                                "DiscountPrice":  750,
                                                                                                "TotalPrice":  2250,
                                                                                                "DeliveryDate":  "2026-09-14",
                                                                                                "Note":  "",
                                                                                                "InternalNote":  "",
                                                                                                "Custom1":  "",
                                                                                                "Custom2":  "",
                                                                                                "Custom3":  "",
                                                                                                "Modified":  "2026-08-20T09:15:00"
                                                                                            }
                                                                                        ],
                                                                              "nextCursor":  "105935",
                                                                              "page":  1,
                                                                              "total":  65233
                                                                          }
                                                          },
                                       "OrderlinesWrite":  {
                                                               "type":  "object",
                                                               "properties":  {
                                                                                  "OrderNr":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                  "ProductNr":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                  "Quantity":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "number"
                                                                                                            ]
                                                                                               },
                                                                                  "Unit":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                  "Price":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "number"
                                                                                                         ]
                                                                                            },
                                                                                  "PurchasePrice":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "number"
                                                                                                                 ]
                                                                                                    },
                                                                                  "PriceListNr":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                  "PurchasePriceListNr":  {
                                                                                                              "type":  [
                                                                                                                           "null",
                                                                                                                           "string"
                                                                                                                       ]
                                                                                                          },
                                                                                  "SupplierNr":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                  "DiscountPct":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "number"
                                                                                                               ]
                                                                                                  },
                                                                                  "DiscountPrice":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "number"
                                                                                                                 ]
                                                                                                    },
                                                                                  "DeliveryDate":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "string"
                                                                                                                ],
                                                                                                       "description":  "ISO 8601.",
                                                                                                       "format":  "date-time"
                                                                                                   },
                                                                                  "Note":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                  "InternalNote":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "string"
                                                                                                                ]
                                                                                                   },
                                                                                  "Custom1":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                  "Custom2":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                  "Custom3":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              }
                                                                              },
                                                               "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                               "example":  {
                                                                               "OrderNr":  "B00059",
                                                                               "ProductNr":  "A10001",
                                                                               "Quantity":  3,
                                                                               "Unit":  "st",
                                                                               "Price":  750,
                                                                               "PurchasePrice":  750,
                                                                               "PriceListNr":  "1",
                                                                               "PurchasePriceListNr":  "1",
                                                                               "SupplierNr":  "L1001",
                                                                               "DiscountPct":  0,
                                                                               "DiscountPrice":  750,
                                                                               "DeliveryDate":  "2026-09-14",
                                                                               "Note":  "",
                                                                               "InternalNote":  "",
                                                                               "Custom1":  "",
                                                                               "Custom2":  "",
                                                                               "Custom3":  ""
                                                                           }
                                                           },
                                       "Orders":  {
                                                      "type":  "object",
                                                      "properties":  {
                                                                         "Nr":  {
                                                                                    "type":  [
                                                                                                 "null",
                                                                                                 "string"
                                                                                             ]
                                                                                },
                                                                         "Status":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                         "CustomerNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                         "CustomerName":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                         "CustomerOrderer":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                         "SupplierNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                         "UserSign":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                         "OrderDate":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ],
                                                                                           "description":  "ISO 8601.",
                                                                                           "format":  "date-time"
                                                                                       },
                                                                         "DeliveryDate":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ],
                                                                                              "description":  "ISO 8601.",
                                                                                              "format":  "date-time"
                                                                                          },
                                                                         "DeliveryName":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                         "InternalNote":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                         "Note":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                         "DeliveryAddressLine1":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                         "DeliveryAddressLine2":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                         "DeliveryPostalCode":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                         "DeliveryCity":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                         "DeliveryState":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                         "DeliveryCountry":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                         "DeliveryAddressId":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                         "CreatedBy":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                         "CreatedDate":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         },
                                                                         "Custom1":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                         "Custom2":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                         "Custom3":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                         "Custom4":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                         "Modified":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "description":  "ISO 8601.",
                                                                                          "format":  "date-time"
                                                                                      },
                                                                         "ExtraFields":  {
                                                                                             "type":  "object",
                                                                                             "additionalProperties":  {
                                                                                                                          "type":  "string"
                                                                                                                      },
                                                                                             "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                         }
                                                                     },
                                                      "description":  "En order som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                      "example":  {
                                                                      "Nr":  "10003",
                                                                      "Status":  "Active",
                                                                      "CustomerNr":  "10003",
                                                                      "CustomerName":  "Storfors Service AB",
                                                                      "CustomerOrderer":  "",
                                                                      "SupplierNr":  "L1001",
                                                                      "UserSign":  "AN",
                                                                      "OrderDate":  "2026-09-14",
                                                                      "DeliveryDate":  "2026-09-14",
                                                                      "DeliveryName":  "",
                                                                      "InternalNote":  "",
                                                                      "Note":  "",
                                                                      "DeliveryAddressLine1":  "",
                                                                      "DeliveryAddressLine2":  "",
                                                                      "DeliveryPostalCode":  "",
                                                                      "DeliveryCity":  "",
                                                                      "DeliveryState":  "",
                                                                      "DeliveryCountry":  "",
                                                                      "DeliveryAddressId":  "",
                                                                      "CreatedBy":  "AN",
                                                                      "CreatedDate":  "2026-08-14T07:30:00",
                                                                      "Custom1":  "",
                                                                      "Custom2":  "",
                                                                      "Custom3":  "",
                                                                      "Custom4":  "",
                                                                      "Modified":  "2026-08-20T09:15:00",
                                                                      "ExtraFields":  {
                                                                                          "Avtals_typ":  "Helservice",
                                                                                          "Startdatum_avtal":  "2024-01-01"
                                                                                      }
                                                                  }
                                                  },
                                       "OrdersPage":  {
                                                          "type":  "object",
                                                          "properties":  {
                                                                             "items":  {
                                                                                           "type":  "array",
                                                                                           "items":  {
                                                                                                         "$ref":  "#/components/schemas/Orders"
                                                                                                     }
                                                                                       },
                                                                             "nextCursor":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                            },
                                                                             "page":  {
                                                                                          "type":  "integer"
                                                                                      },
                                                                             "total":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "integer"
                                                                                                    ],
                                                                                           "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                       }
                                                                         },
                                                          "example":  {
                                                                          "items":  [
                                                                                        {
                                                                                            "Nr":  "10003",
                                                                                            "Status":  "Active",
                                                                                            "CustomerNr":  "10003",
                                                                                            "CustomerName":  "Storfors Service AB",
                                                                                            "CustomerOrderer":  "",
                                                                                            "SupplierNr":  "L1001",
                                                                                            "UserSign":  "AN",
                                                                                            "OrderDate":  "2026-09-14",
                                                                                            "DeliveryDate":  "2026-09-14",
                                                                                            "DeliveryName":  "",
                                                                                            "InternalNote":  "",
                                                                                            "Note":  "",
                                                                                            "DeliveryAddressLine1":  "",
                                                                                            "DeliveryAddressLine2":  "",
                                                                                            "DeliveryPostalCode":  "",
                                                                                            "DeliveryCity":  "",
                                                                                            "DeliveryState":  "",
                                                                                            "DeliveryCountry":  "",
                                                                                            "DeliveryAddressId":  "",
                                                                                            "CreatedBy":  "AN",
                                                                                            "CreatedDate":  "2026-08-14T07:30:00",
                                                                                            "Custom1":  "",
                                                                                            "Custom2":  "",
                                                                                            "Custom3":  "",
                                                                                            "Custom4":  "",
                                                                                            "Modified":  "2026-08-20T09:15:00",
                                                                                            "ExtraFields":  {
                                                                                                                "Avtals_typ":  "Helservice",
                                                                                                                "Startdatum_avtal":  "2024-01-01"
                                                                                                            }
                                                                                        }
                                                                                    ],
                                                                          "nextCursor":  "105935",
                                                                          "page":  1,
                                                                          "total":  65233
                                                                      }
                                                      },
                                       "OrdersWrite":  {
                                                           "type":  "object",
                                                           "properties":  {
                                                                              "Nr":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                              "CustomerNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                              "CustomerOrderer":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                              "SupplierNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                              "UserSign":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                              "OrderDate":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "description":  "ISO 8601.",
                                                                                                "format":  "date-time"
                                                                                            },
                                                                              "DeliveryDate":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "ISO 8601.",
                                                                                                   "format":  "date-time"
                                                                                               },
                                                                              "DeliveryName":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                              "InternalNote":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                              "Note":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                              "DeliveryAddressLine1":  {
                                                                                                           "type":  [
                                                                                                                        "null",
                                                                                                                        "string"
                                                                                                                    ]
                                                                                                       },
                                                                              "DeliveryAddressLine2":  {
                                                                                                           "type":  [
                                                                                                                        "null",
                                                                                                                        "string"
                                                                                                                    ]
                                                                                                       },
                                                                              "DeliveryPostalCode":  {
                                                                                                         "type":  [
                                                                                                                      "null",
                                                                                                                      "string"
                                                                                                                  ]
                                                                                                     },
                                                                              "DeliveryCity":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                              "DeliveryState":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                              "DeliveryCountry":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                              "DeliveryAddressId":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                              "Custom1":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                              "Custom2":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                              "Custom3":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                              "Custom4":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                              "ExtraFields":  {
                                                                                                  "type":  "object",
                                                                                                  "additionalProperties":  {
                                                                                                                               "type":  "string"
                                                                                                                           },
                                                                                                  "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                              },
                                                                              "lines":  {
                                                                                            "type":  "array",
                                                                                            "items":  {
                                                                                                          "type":  "object",
                                                                                                          "properties":  {
                                                                                                                             "productNr":  {
                                                                                                                                               "type":  [
                                                                                                                                                            "null",
                                                                                                                                                            "string"
                                                                                                                                                        ],
                                                                                                                                               "description":  "Artikelnummer. Måste finnas i Mobigo."
                                                                                                                                           },
                                                                                                                             "quantity":  {
                                                                                                                                              "type":  [
                                                                                                                                                           "null",
                                                                                                                                                           "number"
                                                                                                                                                       ],
                                                                                                                                              "description":  "Antal."
                                                                                                                                          },
                                                                                                                             "unit":  {
                                                                                                                                          "type":  [
                                                                                                                                                       "null",
                                                                                                                                                       "string"
                                                                                                                                                   ],
                                                                                                                                          "description":  "Tom betyder artikelns egen enhet."
                                                                                                                                      },
                                                                                                                             "price":  {
                                                                                                                                           "type":  [
                                                                                                                                                        "null",
                                                                                                                                                        "number"
                                                                                                                                                    ],
                                                                                                                                           "description":  "Försäljningspris per enhet. Orderrader prissätts INTE automatiskt — utelämnad står raden med noll."
                                                                                                                                       },
                                                                                                                             "purchasePrice":  {
                                                                                                                                                   "type":  [
                                                                                                                                                                "null",
                                                                                                                                                                "number"
                                                                                                                                                            ],
                                                                                                                                                   "description":  "Inköpspris per enhet."
                                                                                                                                               },
                                                                                                                             "priceListNr":  {
                                                                                                                                                 "type":  [
                                                                                                                                                              "null",
                                                                                                                                                              "string"
                                                                                                                                                          ],
                                                                                                                                                 "description":  "Radens prislista. Tom ärver orderns."
                                                                                                                                             },
                                                                                                                             "purchasePriceListNr":  {
                                                                                                                                                         "type":  [
                                                                                                                                                                      "null",
                                                                                                                                                                      "string"
                                                                                                                                                                  ],
                                                                                                                                                         "description":  "Radens inköpsprislista."
                                                                                                                                                     },
                                                                                                                             "supplierNr":  {
                                                                                                                                                "type":  [
                                                                                                                                                             "null",
                                                                                                                                                             "string"
                                                                                                                                                         ],
                                                                                                                                                "description":  "Radens egen leverantör. Tom ärver orderns."
                                                                                                                                            },
                                                                                                                             "deliveryDate":  {
                                                                                                                                                  "type":  [
                                                                                                                                                               "null",
                                                                                                                                                               "string"
                                                                                                                                                           ],
                                                                                                                                                  "description":  "ISO 8601. Tom ärver orderns leveransdatum."
                                                                                                                                              },
                                                                                                                             "discountPct":  {
                                                                                                                                                 "type":  [
                                                                                                                                                              "null",
                                                                                                                                                              "number"
                                                                                                                                                          ],
                                                                                                                                                 "description":  "Rabatt i procent, 0–100."
                                                                                                                                             },
                                                                                                                             "discountPrice":  {
                                                                                                                                                   "type":  [
                                                                                                                                                                "null",
                                                                                                                                                                "number"
                                                                                                                                                            ],
                                                                                                                                                   "description":  "Rabatt som belopp, när den inte uttrycks i procent."
                                                                                                                                               },
                                                                                                                             "note":  {
                                                                                                                                          "type":  [
                                                                                                                                                       "null",
                                                                                                                                                       "string"
                                                                                                                                                   ]
                                                                                                                                      },
                                                                                                                             "internalNote":  {
                                                                                                                                                  "type":  [
                                                                                                                                                               "null",
                                                                                                                                                               "string"
                                                                                                                                                           ],
                                                                                                                                                  "description":  "Följer inte med på utskriften till leverantören."
                                                                                                                                              },
                                                                                                                             "custom1":  {
                                                                                                                                             "type":  [
                                                                                                                                                          "null",
                                                                                                                                                          "string"
                                                                                                                                                      ]
                                                                                                                                         },
                                                                                                                             "custom2":  {
                                                                                                                                             "type":  [
                                                                                                                                                          "null",
                                                                                                                                                          "string"
                                                                                                                                                      ]
                                                                                                                                         },
                                                                                                                             "custom3":  {
                                                                                                                                             "type":  [
                                                                                                                                                          "null",
                                                                                                                                                          "string"
                                                                                                                                                      ]
                                                                                                                                         }
                                                                                                                         },
                                                                                                          "description":  "En orderrad. Bara productNr krävs.",
                                                                                                          "example":  {
                                                                                                                          "productNr":  "10053",
                                                                                                                          "quantity":  5,
                                                                                                                          "unit":  "st",
                                                                                                                          "price":  1250,
                                                                                                                          "purchasePrice":  780,
                                                                                                                          "priceListNr":  "1",
                                                                                                                          "purchasePriceListNr":  "1",
                                                                                                                          "supplierNr":  "L00001",
                                                                                                                          "deliveryDate":  "2026-09-14",
                                                                                                                          "discountPct":  5,
                                                                                                                          "discountPrice":  0,
                                                                                                                          "note":  "Byte vid halvårsservice",
                                                                                                                          "internalNote":  "Restnoterad hos leverantören",
                                                                                                                          "custom1":  "",
                                                                                                                          "custom2":  "",
                                                                                                                          "custom3":  ""
                                                                                                                      }
                                                                                                      },
                                                                                            "description":  "Skapas i SAMMA anrop, i samma transaktion. Avvisas någon rad rullas hela posten tillbaka."
                                                                                        }
                                                                          },
                                                           "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                           "example":  {
                                                                           "Nr":  "10003",
                                                                           "CustomerNr":  "10003",
                                                                           "CustomerOrderer":  "",
                                                                           "SupplierNr":  "L1001",
                                                                           "UserSign":  "AN",
                                                                           "OrderDate":  "2026-09-14",
                                                                           "DeliveryDate":  "2026-09-14",
                                                                           "DeliveryName":  "",
                                                                           "InternalNote":  "",
                                                                           "Note":  "",
                                                                           "DeliveryAddressLine1":  "",
                                                                           "DeliveryAddressLine2":  "",
                                                                           "DeliveryPostalCode":  "",
                                                                           "DeliveryCity":  "",
                                                                           "DeliveryState":  "",
                                                                           "DeliveryCountry":  "",
                                                                           "DeliveryAddressId":  "",
                                                                           "Custom1":  "",
                                                                           "Custom2":  "",
                                                                           "Custom3":  "",
                                                                           "Custom4":  "",
                                                                           "ExtraFields":  {
                                                                                               "Avtals_typ":  "Helservice",
                                                                                               "Startdatum_avtal":  "2024-01-01"
                                                                                           },
                                                                           "lines":  [
                                                                                         {
                                                                                             "productNr":  "10053",
                                                                                             "quantity":  5,
                                                                                             "unit":  "st",
                                                                                             "price":  1250,
                                                                                             "purchasePrice":  780,
                                                                                             "priceListNr":  "1",
                                                                                             "purchasePriceListNr":  "1",
                                                                                             "supplierNr":  "L00001",
                                                                                             "deliveryDate":  "2026-09-14",
                                                                                             "discountPct":  5,
                                                                                             "discountPrice":  0,
                                                                                             "note":  "Byte vid halvårsservice",
                                                                                             "internalNote":  "Restnoterad hos leverantören",
                                                                                             "custom1":  "",
                                                                                             "custom2":  "",
                                                                                             "custom3":  ""
                                                                                         }
                                                                                     ]
                                                                       }
                                                       },
                                       "Pricelists":  {
                                                          "type":  "object",
                                                          "properties":  {
                                                                             "Nr":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                             "Name":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                             "Status":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                             "HasMarkupPct":  {
                                                                                                  "type":  "boolean"
                                                                                              },
                                                                             "MarkupPct":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "number"
                                                                                                        ]
                                                                                           },
                                                                             "Note":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                             "Modified":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ],
                                                                                              "description":  "ISO 8601.",
                                                                                              "format":  "date-time"
                                                                                          }
                                                                         },
                                                          "description":  "En prislista som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                          "example":  {
                                                                          "Nr":  "10003",
                                                                          "Name":  "Standard",
                                                                          "Status":  "Active",
                                                                          "HasMarkupPct":  false,
                                                                          "MarkupPct":  0,
                                                                          "Note":  "",
                                                                          "Modified":  "2026-08-20T09:15:00"
                                                                      }
                                                      },
                                       "PricelistsPage":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "items":  {
                                                                                               "type":  "array",
                                                                                               "items":  {
                                                                                                             "$ref":  "#/components/schemas/Pricelists"
                                                                                                         }
                                                                                           },
                                                                                 "nextCursor":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ],
                                                                                                    "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                                },
                                                                                 "page":  {
                                                                                              "type":  "integer"
                                                                                          },
                                                                                 "total":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "integer"
                                                                                                        ],
                                                                                               "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                           }
                                                                             },
                                                              "example":  {
                                                                              "items":  [
                                                                                            {
                                                                                                "Nr":  "10003",
                                                                                                "Name":  "Standard",
                                                                                                "Status":  "Active",
                                                                                                "HasMarkupPct":  false,
                                                                                                "MarkupPct":  0,
                                                                                                "Note":  "",
                                                                                                "Modified":  "2026-08-20T09:15:00"
                                                                                            }
                                                                                        ],
                                                                              "nextCursor":  "105935",
                                                                              "page":  1,
                                                                              "total":  65233
                                                                          }
                                                          },
                                       "ProblemDetails":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "type":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "title":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "status":  {
                                                                                                "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "integer",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "format":  "int32"
                                                                                            },
                                                                                 "detail":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                 "instance":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              }
                                                                             }
                                                          },
                                       "Products":  {
                                                        "type":  "object",
                                                        "properties":  {
                                                                           "Nr":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                           "Status":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                           "Name":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Category":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                           "Unit":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "BasePrice":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "number"
                                                                                                      ]
                                                                                         },
                                                                           "PurchasePrice":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "number"
                                                                                                          ]
                                                                                             },
                                                                           "CostPrice":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "number"
                                                                                                      ]
                                                                                         },
                                                                           "Barcode":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom4":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Note":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Modified":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "description":  "ISO 8601.",
                                                                                            "format":  "date-time"
                                                                                        },
                                                                           "ExtraFields":  {
                                                                                               "type":  "object",
                                                                                               "additionalProperties":  {
                                                                                                                            "type":  "string"
                                                                                                                        },
                                                                                               "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                           }
                                                                       },
                                                        "description":  "En artikel som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                        "example":  {
                                                                        "Nr":  "10003",
                                                                        "Status":  "Active",
                                                                        "Name":  "Vattenpass kort",
                                                                        "Category":  "Serviceavtal",
                                                                        "Unit":  "st",
                                                                        "BasePrice":  750,
                                                                        "PurchasePrice":  750,
                                                                        "CostPrice":  750,
                                                                        "Barcode":  "7350012345678",
                                                                        "Custom1":  "",
                                                                        "Custom2":  "",
                                                                        "Custom3":  "",
                                                                        "Custom4":  "",
                                                                        "Note":  "",
                                                                        "Modified":  "2026-08-20T09:15:00",
                                                                        "ExtraFields":  {
                                                                                            "Avtals_typ":  "Helservice",
                                                                                            "Startdatum_avtal":  "2024-01-01"
                                                                                        }
                                                                    }
                                                    },
                                       "ProductsPage":  {
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "items":  {
                                                                                             "type":  "array",
                                                                                             "items":  {
                                                                                                           "$ref":  "#/components/schemas/Products"
                                                                                                       }
                                                                                         },
                                                                               "nextCursor":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                              },
                                                                               "page":  {
                                                                                            "type":  "integer"
                                                                                        },
                                                                               "total":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "integer"
                                                                                                      ],
                                                                                             "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                         }
                                                                           },
                                                            "example":  {
                                                                            "items":  [
                                                                                          {
                                                                                              "Nr":  "10003",
                                                                                              "Status":  "Active",
                                                                                              "Name":  "Vattenpass kort",
                                                                                              "Category":  "Serviceavtal",
                                                                                              "Unit":  "st",
                                                                                              "BasePrice":  750,
                                                                                              "PurchasePrice":  750,
                                                                                              "CostPrice":  750,
                                                                                              "Barcode":  "7350012345678",
                                                                                              "Custom1":  "",
                                                                                              "Custom2":  "",
                                                                                              "Custom3":  "",
                                                                                              "Custom4":  "",
                                                                                              "Note":  "",
                                                                                              "Modified":  "2026-08-20T09:15:00",
                                                                                              "ExtraFields":  {
                                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                                              }
                                                                                          }
                                                                                      ],
                                                                            "nextCursor":  "105935",
                                                                            "page":  1,
                                                                            "total":  65233
                                                                        }
                                                        },
                                       "ProductsWrite":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                                "Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "Category":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                "Unit":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "BasePrice":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "number"
                                                                                                           ]
                                                                                              },
                                                                                "PurchasePrice":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "number"
                                                                                                               ]
                                                                                                  },
                                                                                "CostPrice":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "number"
                                                                                                           ]
                                                                                              },
                                                                                "Barcode":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom1":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom2":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom3":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom4":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Note":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "ExtraFields":  {
                                                                                                    "type":  "object",
                                                                                                    "additionalProperties":  {
                                                                                                                                 "type":  "string"
                                                                                                                             },
                                                                                                    "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                }
                                                                            },
                                                             "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                             "example":  {
                                                                             "Nr":  "10003",
                                                                             "Name":  "Vattenpass kort",
                                                                             "Category":  "Serviceavtal",
                                                                             "Unit":  "st",
                                                                             "BasePrice":  750,
                                                                             "PurchasePrice":  750,
                                                                             "CostPrice":  750,
                                                                             "Barcode":  "7350012345678",
                                                                             "Custom1":  "",
                                                                             "Custom2":  "",
                                                                             "Custom3":  "",
                                                                             "Custom4":  "",
                                                                             "Note":  "",
                                                                             "ExtraFields":  {
                                                                                                 "Avtals_typ":  "Helservice",
                                                                                                 "Startdatum_avtal":  "2024-01-01"
                                                                                             }
                                                                         }
                                                         },
                                       "Projects":  {
                                                        "type":  "object",
                                                        "properties":  {
                                                                           "Nr":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                           "Status":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                           "Name":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "CustomerNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                           "CustomerName":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                           "CustomerRef":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                           "CustomerOrderer":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                           "Owner":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                           "PlanStartDate":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ],
                                                                                                 "description":  "ISO 8601.",
                                                                                                 "format":  "date-time"
                                                                                             },
                                                                           "PlanStopDate":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "description":  "ISO 8601.",
                                                                                                "format":  "date-time"
                                                                                            },
                                                                           "Object1Nr":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                           "Object1Name":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                           "Object2Nr":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                           "Object2Name":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                           "Object3Nr":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                           "Object3Name":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                           "Object4Nr":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                           "Object4Name":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                           "CreatedBy":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                           "CreatedDate":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ],
                                                                                               "description":  "ISO 8601.",
                                                                                               "format":  "date-time"
                                                                                           },
                                                                           "Custom1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Custom4":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                           "Note":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                           "Modified":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "description":  "ISO 8601.",
                                                                                            "format":  "date-time"
                                                                                        },
                                                                           "ExtraFields":  {
                                                                                               "type":  "object",
                                                                                               "additionalProperties":  {
                                                                                                                            "type":  "string"
                                                                                                                        },
                                                                                               "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                           }
                                                                       },
                                                        "description":  "En projekt som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                        "example":  {
                                                                        "Nr":  "10003",
                                                                        "Status":  "Active",
                                                                        "Name":  "Hisservice 2026",
                                                                        "CustomerNr":  "10003",
                                                                        "CustomerName":  "Storfors Service AB",
                                                                        "CustomerRef":  "",
                                                                        "CustomerOrderer":  "",
                                                                        "Owner":  "AN",
                                                                        "PlanStartDate":  "2026-09-14",
                                                                        "PlanStopDate":  "2026-09-16",
                                                                        "Object1Nr":  "O1-11840",
                                                                        "Object1Name":  "Eklundavägen 11",
                                                                        "Object2Nr":  "O1-11840",
                                                                        "Object2Name":  "Eklundavägen 11",
                                                                        "Object3Nr":  "O1-11840",
                                                                        "Object3Name":  "Eklundavägen 11",
                                                                        "Object4Nr":  "O1-11840",
                                                                        "Object4Name":  "Eklundavägen 11",
                                                                        "CreatedBy":  "AN",
                                                                        "CreatedDate":  "2026-08-14T07:30:00",
                                                                        "Custom1":  "",
                                                                        "Custom2":  "",
                                                                        "Custom3":  "",
                                                                        "Custom4":  "",
                                                                        "Note":  "",
                                                                        "Modified":  "2026-08-20T09:15:00",
                                                                        "ExtraFields":  {
                                                                                            "Avtals_typ":  "Helservice",
                                                                                            "Startdatum_avtal":  "2024-01-01"
                                                                                        }
                                                                    }
                                                    },
                                       "ProjectsPage":  {
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "items":  {
                                                                                             "type":  "array",
                                                                                             "items":  {
                                                                                                           "$ref":  "#/components/schemas/Projects"
                                                                                                       }
                                                                                         },
                                                                               "nextCursor":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                              },
                                                                               "page":  {
                                                                                            "type":  "integer"
                                                                                        },
                                                                               "total":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "integer"
                                                                                                      ],
                                                                                             "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                         }
                                                                           },
                                                            "example":  {
                                                                            "items":  [
                                                                                          {
                                                                                              "Nr":  "10003",
                                                                                              "Status":  "Active",
                                                                                              "Name":  "Hisservice 2026",
                                                                                              "CustomerNr":  "10003",
                                                                                              "CustomerName":  "Storfors Service AB",
                                                                                              "CustomerRef":  "",
                                                                                              "CustomerOrderer":  "",
                                                                                              "Owner":  "AN",
                                                                                              "PlanStartDate":  "2026-09-14",
                                                                                              "PlanStopDate":  "2026-09-16",
                                                                                              "Object1Nr":  "O1-11840",
                                                                                              "Object1Name":  "Eklundavägen 11",
                                                                                              "Object2Nr":  "O1-11840",
                                                                                              "Object2Name":  "Eklundavägen 11",
                                                                                              "Object3Nr":  "O1-11840",
                                                                                              "Object3Name":  "Eklundavägen 11",
                                                                                              "Object4Nr":  "O1-11840",
                                                                                              "Object4Name":  "Eklundavägen 11",
                                                                                              "CreatedBy":  "AN",
                                                                                              "CreatedDate":  "2026-08-14T07:30:00",
                                                                                              "Custom1":  "",
                                                                                              "Custom2":  "",
                                                                                              "Custom3":  "",
                                                                                              "Custom4":  "",
                                                                                              "Note":  "",
                                                                                              "Modified":  "2026-08-20T09:15:00",
                                                                                              "ExtraFields":  {
                                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                                              }
                                                                                          }
                                                                                      ],
                                                                            "nextCursor":  "105935",
                                                                            "page":  1,
                                                                            "total":  65233
                                                                        }
                                                        },
                                       "ProjectsWrite":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                                "Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "CustomerNr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                "CustomerRef":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                "CustomerOrderer":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                                "Owner":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                "PlanStartDate":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ],
                                                                                                      "description":  "ISO 8601.",
                                                                                                      "format":  "date-time"
                                                                                                  },
                                                                                "PlanStopDate":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ],
                                                                                                     "description":  "ISO 8601.",
                                                                                                     "format":  "date-time"
                                                                                                 },
                                                                                "Object1Nr":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                "Object2Nr":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                "Object3Nr":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                "Object4Nr":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                "Custom1":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom2":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom3":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Custom4":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                "Note":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                "ExtraFields":  {
                                                                                                    "type":  "object",
                                                                                                    "additionalProperties":  {
                                                                                                                                 "type":  "string"
                                                                                                                             },
                                                                                                    "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                }
                                                                            },
                                                             "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                             "example":  {
                                                                             "Nr":  "10003",
                                                                             "Name":  "Hisservice 2026",
                                                                             "CustomerNr":  "10003",
                                                                             "CustomerRef":  "",
                                                                             "CustomerOrderer":  "",
                                                                             "Owner":  "AN",
                                                                             "PlanStartDate":  "2026-09-14",
                                                                             "PlanStopDate":  "2026-09-16",
                                                                             "Object1Nr":  "O1-11840",
                                                                             "Object2Nr":  "O1-11840",
                                                                             "Object3Nr":  "O1-11840",
                                                                             "Object4Nr":  "O1-11840",
                                                                             "Custom1":  "",
                                                                             "Custom2":  "",
                                                                             "Custom3":  "",
                                                                             "Custom4":  "",
                                                                             "Note":  "",
                                                                             "ExtraFields":  {
                                                                                                 "Avtals_typ":  "Helservice",
                                                                                                 "Startdatum_avtal":  "2024-01-01"
                                                                                             }
                                                                         }
                                                         },
                                       "Quotes":  {
                                                      "type":  "object",
                                                      "properties":  {
                                                                         "Nr":  {
                                                                                    "type":  [
                                                                                                 "null",
                                                                                                 "string"
                                                                                             ]
                                                                                },
                                                                         "Status":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                         "CustomerNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                         "CustomerName":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                         "CustomerOrderer":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                         "CustomerRef":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                         "Description":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                         "Note":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                         "OwnerSign":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                         "QuoteDate":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ],
                                                                                           "description":  "ISO 8601.",
                                                                                           "format":  "date-time"
                                                                                       },
                                                                         "ValidUntilDate":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "description":  "ISO 8601.",
                                                                                                "format":  "date-time"
                                                                                            },
                                                                         "AcceptedDate":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ],
                                                                                              "description":  "ISO 8601.",
                                                                                              "format":  "date-time"
                                                                                          },
                                                                         "PlanStartDate":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ],
                                                                                               "description":  "ISO 8601.",
                                                                                               "format":  "date-time"
                                                                                           },
                                                                         "PlanStopDate":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ],
                                                                                              "description":  "ISO 8601.",
                                                                                              "format":  "date-time"
                                                                                          },
                                                                         "PlanDateType":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                         "Object1Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                         "Object1Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                         "Object2Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                         "Object2Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                         "Object3Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                         "Object3Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                         "Object4Nr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                         "Object4Name":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                         "CreatedBy":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                         "CreatedDate":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         },
                                                                         "Custom1":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                         "Custom2":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                         "Custom3":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                         "Custom4":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                         "Modified":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "description":  "ISO 8601.",
                                                                                          "format":  "date-time"
                                                                                      },
                                                                         "ExtraFields":  {
                                                                                             "type":  "object",
                                                                                             "additionalProperties":  {
                                                                                                                          "type":  "string"
                                                                                                                      },
                                                                                             "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                         }
                                                                     },
                                                      "description":  "En offert som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                      "example":  {
                                                                      "Nr":  "10003",
                                                                      "Status":  "Active",
                                                                      "CustomerNr":  "10003",
                                                                      "CustomerName":  "Storfors Service AB",
                                                                      "CustomerOrderer":  "",
                                                                      "CustomerRef":  "",
                                                                      "Description":  "",
                                                                      "Note":  "",
                                                                      "OwnerSign":  "AN",
                                                                      "QuoteDate":  "2026-09-14",
                                                                      "ValidUntilDate":  "2026-09-14",
                                                                      "AcceptedDate":  "2026-09-14",
                                                                      "PlanStartDate":  "2026-09-14",
                                                                      "PlanStopDate":  "2026-09-16",
                                                                      "PlanDateType":  "Day",
                                                                      "Object1Nr":  "O1-11840",
                                                                      "Object1Name":  "Eklundavägen 11",
                                                                      "Object2Nr":  "O1-11840",
                                                                      "Object2Name":  "Eklundavägen 11",
                                                                      "Object3Nr":  "O1-11840",
                                                                      "Object3Name":  "Eklundavägen 11",
                                                                      "Object4Nr":  "O1-11840",
                                                                      "Object4Name":  "Eklundavägen 11",
                                                                      "CreatedBy":  "AN",
                                                                      "CreatedDate":  "2026-08-14T07:30:00",
                                                                      "Custom1":  "",
                                                                      "Custom2":  "",
                                                                      "Custom3":  "",
                                                                      "Custom4":  "",
                                                                      "Modified":  "2026-08-20T09:15:00",
                                                                      "ExtraFields":  {
                                                                                          "Avtals_typ":  "Helservice",
                                                                                          "Startdatum_avtal":  "2024-01-01"
                                                                                      }
                                                                  }
                                                  },
                                       "QuotesPage":  {
                                                          "type":  "object",
                                                          "properties":  {
                                                                             "items":  {
                                                                                           "type":  "array",
                                                                                           "items":  {
                                                                                                         "$ref":  "#/components/schemas/Quotes"
                                                                                                     }
                                                                                       },
                                                                             "nextCursor":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                            },
                                                                             "page":  {
                                                                                          "type":  "integer"
                                                                                      },
                                                                             "total":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "integer"
                                                                                                    ],
                                                                                           "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                       }
                                                                         },
                                                          "example":  {
                                                                          "items":  [
                                                                                        {
                                                                                            "Nr":  "10003",
                                                                                            "Status":  "Active",
                                                                                            "CustomerNr":  "10003",
                                                                                            "CustomerName":  "Storfors Service AB",
                                                                                            "CustomerOrderer":  "",
                                                                                            "CustomerRef":  "",
                                                                                            "Description":  "",
                                                                                            "Note":  "",
                                                                                            "OwnerSign":  "AN",
                                                                                            "QuoteDate":  "2026-09-14",
                                                                                            "ValidUntilDate":  "2026-09-14",
                                                                                            "AcceptedDate":  "2026-09-14",
                                                                                            "PlanStartDate":  "2026-09-14",
                                                                                            "PlanStopDate":  "2026-09-16",
                                                                                            "PlanDateType":  "Day",
                                                                                            "Object1Nr":  "O1-11840",
                                                                                            "Object1Name":  "Eklundavägen 11",
                                                                                            "Object2Nr":  "O1-11840",
                                                                                            "Object2Name":  "Eklundavägen 11",
                                                                                            "Object3Nr":  "O1-11840",
                                                                                            "Object3Name":  "Eklundavägen 11",
                                                                                            "Object4Nr":  "O1-11840",
                                                                                            "Object4Name":  "Eklundavägen 11",
                                                                                            "CreatedBy":  "AN",
                                                                                            "CreatedDate":  "2026-08-14T07:30:00",
                                                                                            "Custom1":  "",
                                                                                            "Custom2":  "",
                                                                                            "Custom3":  "",
                                                                                            "Custom4":  "",
                                                                                            "Modified":  "2026-08-20T09:15:00",
                                                                                            "ExtraFields":  {
                                                                                                                "Avtals_typ":  "Helservice",
                                                                                                                "Startdatum_avtal":  "2024-01-01"
                                                                                                            }
                                                                                        }
                                                                                    ],
                                                                          "nextCursor":  "105935",
                                                                          "page":  1,
                                                                          "total":  65233
                                                                      }
                                                      },
                                       "QuotesWrite":  {
                                                           "type":  "object",
                                                           "properties":  {
                                                                              "Nr":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                              "CustomerNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                              "CustomerOrderer":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                              "CustomerRef":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                              "Description":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                              "Note":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                              "OwnerSign":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                              "QuoteDate":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "description":  "ISO 8601.",
                                                                                                "format":  "date-time"
                                                                                            },
                                                                              "ValidUntilDate":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ],
                                                                                                     "description":  "ISO 8601.",
                                                                                                     "format":  "date-time"
                                                                                                 },
                                                                              "AcceptedDate":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "ISO 8601.",
                                                                                                   "format":  "date-time"
                                                                                               },
                                                                              "PlanStartDate":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ],
                                                                                                    "description":  "ISO 8601.",
                                                                                                    "format":  "date-time"
                                                                                                },
                                                                              "PlanStopDate":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "ISO 8601.",
                                                                                                   "format":  "date-time"
                                                                                               },
                                                                              "PlanDateType":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                              "Object1Nr":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                              "Object2Nr":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                              "Object3Nr":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                              "Object4Nr":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                              "Custom1":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                              "Custom2":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                              "Custom3":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                              "Custom4":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                              "ExtraFields":  {
                                                                                                  "type":  "object",
                                                                                                  "additionalProperties":  {
                                                                                                                               "type":  "string"
                                                                                                                           },
                                                                                                  "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                              },
                                                                              "materials":  {
                                                                                                "type":  "array",
                                                                                                "items":  {
                                                                                                              "type":  "object",
                                                                                                              "properties":  {
                                                                                                                                 "productNr":  {
                                                                                                                                                   "type":  [
                                                                                                                                                                "null",
                                                                                                                                                                "string"
                                                                                                                                                            ],
                                                                                                                                                   "description":  "Artikelnummer. Måste finnas i Mobigo."
                                                                                                                                               },
                                                                                                                                 "quantity":  {
                                                                                                                                                  "type":  [
                                                                                                                                                               "null",
                                                                                                                                                               "number"
                                                                                                                                                           ],
                                                                                                                                                  "description":  "Antal."
                                                                                                                                              },
                                                                                                                                 "unit":  {
                                                                                                                                              "type":  [
                                                                                                                                                           "null",
                                                                                                                                                           "string"
                                                                                                                                                       ],
                                                                                                                                              "description":  "Tom betyder artikelns egen enhet."
                                                                                                                                          },
                                                                                                                                 "price":  {
                                                                                                                                               "type":  [
                                                                                                                                                            "null",
                                                                                                                                                            "number"
                                                                                                                                                        ],
                                                                                                                                               "description":  "Fast pris per enhet. Tom betyder kundens prislista."
                                                                                                                                           },
                                                                                                                                 "purchasePrice":  {
                                                                                                                                                       "type":  [
                                                                                                                                                                    "null",
                                                                                                                                                                    "number"
                                                                                                                                                                ],
                                                                                                                                                       "description":  "Inköpspris per enhet."
                                                                                                                                                   },
                                                                                                                                 "invoiceQuantity":  {
                                                                                                                                                         "type":  [
                                                                                                                                                                      "null",
                                                                                                                                                                      "number"
                                                                                                                                                                  ],
                                                                                                                                                         "description":  "Antal att fakturera, när det skiljer sig."
                                                                                                                                                     },
                                                                                                                                 "invoice":  {
                                                                                                                                                 "type":  "boolean",
                                                                                                                                                 "description":  "false för en rad som inte ska faktureras. Förvalt true."
                                                                                                                                             },
                                                                                                                                 "discountPct":  {
                                                                                                                                                     "type":  [
                                                                                                                                                                  "null",
                                                                                                                                                                  "number"
                                                                                                                                                              ],
                                                                                                                                                     "description":  "Rabatt i procent, 0–100."
                                                                                                                                                 },
                                                                                                                                 "supplierNr":  {
                                                                                                                                                    "type":  [
                                                                                                                                                                 "null",
                                                                                                                                                                 "string"
                                                                                                                                                             ],
                                                                                                                                                    "description":  "Leverantörens nummer."
                                                                                                                                                },
                                                                                                                                 "deliveryDate":  {
                                                                                                                                                      "type":  [
                                                                                                                                                                   "null",
                                                                                                                                                                   "string"
                                                                                                                                                               ],
                                                                                                                                                      "description":  "ISO 8601."
                                                                                                                                                  },
                                                                                                                                 "userSign":  {
                                                                                                                                                  "type":  [
                                                                                                                                                               "null",
                                                                                                                                                               "string"
                                                                                                                                                           ],
                                                                                                                                                  "description":  "Tom betyder integrationens egen signatur."
                                                                                                                                              },
                                                                                                                                 "note":  {
                                                                                                                                              "type":  [
                                                                                                                                                           "null",
                                                                                                                                                           "string"
                                                                                                                                                       ]
                                                                                                                                          },
                                                                                                                                 "custom1":  {
                                                                                                                                                 "type":  [
                                                                                                                                                              "null",
                                                                                                                                                              "string"
                                                                                                                                                          ]
                                                                                                                                             },
                                                                                                                                 "custom2":  {
                                                                                                                                                 "type":  [
                                                                                                                                                              "null",
                                                                                                                                                              "string"
                                                                                                                                                          ]
                                                                                                                                             },
                                                                                                                                 "custom3":  {
                                                                                                                                                 "type":  [
                                                                                                                                                              "null",
                                                                                                                                                              "string"
                                                                                                                                                          ]
                                                                                                                                             }
                                                                                                                             },
                                                                                                              "description":  "En materialrad. Bara productNr och quantity krävs.",
                                                                                                              "example":  {
                                                                                                                              "productNr":  "A10001",
                                                                                                                              "quantity":  3,
                                                                                                                              "unit":  "st",
                                                                                                                              "price":  1250,
                                                                                                                              "purchasePrice":  780,
                                                                                                                              "invoiceQuantity":  3,
                                                                                                                              "invoice":  true,
                                                                                                                              "discountPct":  5,
                                                                                                                              "supplierNr":  "L00001",
                                                                                                                              "deliveryDate":  "2026-09-14",
                                                                                                                              "userSign":  "AN",
                                                                                                                              "note":  "Byte vid halvårsservice",
                                                                                                                              "custom1":  "",
                                                                                                                              "custom2":  "",
                                                                                                                              "custom3":  ""
                                                                                                                          }
                                                                                                          },
                                                                                                "description":  "Skapas i SAMMA anrop, i samma transaktion. Avvisas någon rad rullas hela posten tillbaka."
                                                                                            },
                                                                              "times":  {
                                                                                            "type":  "array",
                                                                                            "items":  {
                                                                                                          "type":  "object",
                                                                                                          "properties":  {
                                                                                                                             "timeType":  {
                                                                                                                                              "type":  [
                                                                                                                                                           "null",
                                                                                                                                                           "string"
                                                                                                                                                       ],
                                                                                                                                              "description":  "Tidtypens NAMN som det står i Mobigo."
                                                                                                                                          },
                                                                                                                             "hours":  {
                                                                                                                                           "type":  [
                                                                                                                                                        "null",
                                                                                                                                                        "number"
                                                                                                                                                    ],
                                                                                                                                           "description":  "Arbetade timmar."
                                                                                                                                       },
                                                                                                                             "date":  {
                                                                                                                                          "type":  [
                                                                                                                                                       "null",
                                                                                                                                                       "string"
                                                                                                                                                   ],
                                                                                                                                          "description":  "ISO 8601. Tom betyder idag."
                                                                                                                                      },
                                                                                                                             "userSign":  {
                                                                                                                                              "type":  [
                                                                                                                                                           "null",
                                                                                                                                                           "string"
                                                                                                                                                       ],
                                                                                                                                              "description":  "Tom betyder integrationens egen signatur."
                                                                                                                                          },
                                                                                                                             "spec":  {
                                                                                                                                          "type":  [
                                                                                                                                                       "null",
                                                                                                                                                       "string"
                                                                                                                                                   ],
                                                                                                                                          "description":  "Specifikationstext. Tidtypen kan ha färdiga val — se SpecOptions i GET /v1/timetypes."
                                                                                                                                      },
                                                                                                                             "invoiceHours":  {
                                                                                                                                                  "type":  [
                                                                                                                                                               "null",
                                                                                                                                                               "number"
                                                                                                                                                           ],
                                                                                                                                                  "description":  "Timmar att fakturera, när de skiljer sig."
                                                                                                                                              },
                                                                                                                             "invoice":  {
                                                                                                                                             "type":  "boolean",
                                                                                                                                             "description":  "false för en rad som inte ska faktureras. Förvalt true."
                                                                                                                                         },
                                                                                                                             "price":  {
                                                                                                                                           "type":  [
                                                                                                                                                        "null",
                                                                                                                                                        "number"
                                                                                                                                                    ],
                                                                                                                                           "description":  "Fast pris per timme. Tom betyder kundens prislista."
                                                                                                                                       },
                                                                                                                             "discountPct":  {
                                                                                                                                                 "type":  [
                                                                                                                                                              "null",
                                                                                                                                                              "number"
                                                                                                                                                          ],
                                                                                                                                                 "description":  "Rabatt i procent, 0–100."
                                                                                                                                             }
                                                                                                                         },
                                                                                                          "description":  "En tidrad. Bara timeType och hours krävs. Hämta tidtypernas namn med GET /v1/timetypes.",
                                                                                                          "example":  {
                                                                                                                          "timeType":  "Normaltid",
                                                                                                                          "hours":  4,
                                                                                                                          "date":  "2026-09-14",
                                                                                                                          "userSign":  "AN",
                                                                                                                          "spec":  "Felsökning",
                                                                                                                          "invoiceHours":  4,
                                                                                                                          "invoice":  true,
                                                                                                                          "price":  750,
                                                                                                                          "discountPct":  5
                                                                                                                      }
                                                                                                      },
                                                                                            "description":  "Skapas i SAMMA anrop, i samma transaktion. Avvisas någon rad rullas hela posten tillbaka."
                                                                                        }
                                                                          },
                                                           "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                           "example":  {
                                                                           "Nr":  "10003",
                                                                           "CustomerNr":  "10003",
                                                                           "CustomerOrderer":  "",
                                                                           "CustomerRef":  "",
                                                                           "Description":  "",
                                                                           "Note":  "",
                                                                           "OwnerSign":  "AN",
                                                                           "QuoteDate":  "2026-09-14",
                                                                           "ValidUntilDate":  "2026-09-14",
                                                                           "AcceptedDate":  "2026-09-14",
                                                                           "PlanStartDate":  "2026-09-14",
                                                                           "PlanStopDate":  "2026-09-16",
                                                                           "PlanDateType":  "Day",
                                                                           "Object1Nr":  "O1-11840",
                                                                           "Object2Nr":  "O1-11840",
                                                                           "Object3Nr":  "O1-11840",
                                                                           "Object4Nr":  "O1-11840",
                                                                           "Custom1":  "",
                                                                           "Custom2":  "",
                                                                           "Custom3":  "",
                                                                           "Custom4":  "",
                                                                           "ExtraFields":  {
                                                                                               "Avtals_typ":  "Helservice",
                                                                                               "Startdatum_avtal":  "2024-01-01"
                                                                                           },
                                                                           "materials":  [
                                                                                             {
                                                                                                 "productNr":  "A10001",
                                                                                                 "quantity":  3,
                                                                                                 "unit":  "st",
                                                                                                 "price":  1250,
                                                                                                 "purchasePrice":  780,
                                                                                                 "invoiceQuantity":  3,
                                                                                                 "invoice":  true,
                                                                                                 "discountPct":  5,
                                                                                                 "supplierNr":  "L00001",
                                                                                                 "deliveryDate":  "2026-09-14",
                                                                                                 "userSign":  "AN",
                                                                                                 "note":  "Byte vid halvårsservice",
                                                                                                 "custom1":  "",
                                                                                                 "custom2":  "",
                                                                                                 "custom3":  ""
                                                                                             }
                                                                                         ],
                                                                           "times":  [
                                                                                         {
                                                                                             "timeType":  "Normaltid",
                                                                                             "hours":  4,
                                                                                             "date":  "2026-09-14",
                                                                                             "userSign":  "AN",
                                                                                             "spec":  "Felsökning",
                                                                                             "invoiceHours":  4,
                                                                                             "invoice":  true,
                                                                                             "price":  750,
                                                                                             "discountPct":  5
                                                                                         }
                                                                                     ]
                                                                       }
                                                       },
                                       "Resources":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "Nr":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                            "Status":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                            "Name":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Category":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                            "ProductNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                            "LogUnit":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "BasePrice":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "number"
                                                                                                       ]
                                                                                          },
                                                                            "CostPrice":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "number"
                                                                                                       ]
                                                                                          },
                                                                            "Custom1":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom2":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom3":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Note":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Modified":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         },
                                                                            "ExtraFields":  {
                                                                                                "type":  "object",
                                                                                                "additionalProperties":  {
                                                                                                                             "type":  "string"
                                                                                                                         },
                                                                                                "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                            }
                                                                        },
                                                         "description":  "En resurs som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                         "example":  {
                                                                         "Nr":  "10003",
                                                                         "Status":  "Active",
                                                                         "Name":  "Servicebil 3",
                                                                         "Category":  "Serviceavtal",
                                                                         "ProductNr":  "A10001",
                                                                         "LogUnit":  "tim",
                                                                         "BasePrice":  750,
                                                                         "CostPrice":  750,
                                                                         "Custom1":  "",
                                                                         "Custom2":  "",
                                                                         "Custom3":  "",
                                                                         "Note":  "",
                                                                         "Modified":  "2026-08-20T09:15:00",
                                                                         "ExtraFields":  {
                                                                                             "Avtals_typ":  "Helservice",
                                                                                             "Startdatum_avtal":  "2024-01-01"
                                                                                         }
                                                                     }
                                                     },
                                       "ResourcesPage":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "items":  {
                                                                                              "type":  "array",
                                                                                              "items":  {
                                                                                                            "$ref":  "#/components/schemas/Resources"
                                                                                                        }
                                                                                          },
                                                                                "nextCursor":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                               },
                                                                                "page":  {
                                                                                             "type":  "integer"
                                                                                         },
                                                                                "total":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "integer"
                                                                                                       ],
                                                                                              "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                          }
                                                                            },
                                                             "example":  {
                                                                             "items":  [
                                                                                           {
                                                                                               "Nr":  "10003",
                                                                                               "Status":  "Active",
                                                                                               "Name":  "Servicebil 3",
                                                                                               "Category":  "Serviceavtal",
                                                                                               "ProductNr":  "A10001",
                                                                                               "LogUnit":  "tim",
                                                                                               "BasePrice":  750,
                                                                                               "CostPrice":  750,
                                                                                               "Custom1":  "",
                                                                                               "Custom2":  "",
                                                                                               "Custom3":  "",
                                                                                               "Note":  "",
                                                                                               "Modified":  "2026-08-20T09:15:00",
                                                                                               "ExtraFields":  {
                                                                                                                   "Avtals_typ":  "Helservice",
                                                                                                                   "Startdatum_avtal":  "2024-01-01"
                                                                                                               }
                                                                                           }
                                                                                       ],
                                                                             "nextCursor":  "105935",
                                                                             "page":  1,
                                                                             "total":  65233
                                                                         }
                                                         },
                                       "ResourcesWrite":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "Nr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                                 "Name":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "Category":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                 "ProductNr":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                 "LogUnit":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "BasePrice":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "number"
                                                                                                            ]
                                                                                               },
                                                                                 "CostPrice":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "number"
                                                                                                            ]
                                                                                               },
                                                                                 "Custom1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom3":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Note":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "ExtraFields":  {
                                                                                                     "type":  "object",
                                                                                                     "additionalProperties":  {
                                                                                                                                  "type":  "string"
                                                                                                                              },
                                                                                                     "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                 }
                                                                             },
                                                              "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                              "example":  {
                                                                              "Nr":  "10003",
                                                                              "Name":  "Servicebil 3",
                                                                              "Category":  "Serviceavtal",
                                                                              "ProductNr":  "A10001",
                                                                              "LogUnit":  "tim",
                                                                              "BasePrice":  750,
                                                                              "CostPrice":  750,
                                                                              "Custom1":  "",
                                                                              "Custom2":  "",
                                                                              "Custom3":  "",
                                                                              "Note":  "",
                                                                              "ExtraFields":  {
                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                              }
                                                                          }
                                                          },
                                       "SignOffDto":  {
                                                          "required":  [
                                                                           "by"
                                                                       ],
                                                          "type":  "object",
                                                          "properties":  {
                                                                             "by":  {
                                                                                        "type":  "string"
                                                                                    },
                                                                             "date":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      }
                                                                         }
                                                      },
                                       "StatusChangeDto":  {
                                                               "required":  [
                                                                                "status"
                                                                            ],
                                                               "type":  "object",
                                                               "properties":  {
                                                                                  "status":  {
                                                                                                 "type":  "string"
                                                                                             }
                                                                              }
                                                           },
                                       "Suppliercontacts":  {
                                                                "type":  "object",
                                                                "properties":  {
                                                                                   "Id":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                   "SupplierNr":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                   "Status":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                   "Name":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                   "Position":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                   "Phone":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                   "Mobile":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                   "Fax":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                   "Email":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                   "MostImportant":  {
                                                                                                         "type":  "boolean"
                                                                                                     },
                                                                                   "Custom1":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                   "Custom2":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                   "Custom3":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                   "Custom4":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ]
                                                                                               },
                                                                                   "Note":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                                   "Modified":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ],
                                                                                                    "description":  "ISO 8601.",
                                                                                                    "format":  "date-time"
                                                                                                }
                                                                               },
                                                                "description":  "En leverantörskontakt som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                                "example":  {
                                                                                "Id":  "44821",
                                                                                "SupplierNr":  "L1001",
                                                                                "Status":  "Active",
                                                                                "Name":  "Linus Sedin",
                                                                                "Position":  "Fastighetschef",
                                                                                "Phone":  "031-12 34 56",
                                                                                "Mobile":  "070-123 45 67",
                                                                                "Fax":  "",
                                                                                "Email":  "info@storfors.se",
                                                                                "MostImportant":  true,
                                                                                "Custom1":  "",
                                                                                "Custom2":  "",
                                                                                "Custom3":  "",
                                                                                "Custom4":  "",
                                                                                "Note":  "",
                                                                                "Modified":  "2026-08-20T09:15:00"
                                                                            }
                                                            },
                                       "SuppliercontactsPage":  {
                                                                    "type":  "object",
                                                                    "properties":  {
                                                                                       "items":  {
                                                                                                     "type":  "array",
                                                                                                     "items":  {
                                                                                                                   "$ref":  "#/components/schemas/Suppliercontacts"
                                                                                                               }
                                                                                                 },
                                                                                       "nextCursor":  {
                                                                                                          "type":  [
                                                                                                                       "null",
                                                                                                                       "string"
                                                                                                                   ],
                                                                                                          "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                                      },
                                                                                       "page":  {
                                                                                                    "type":  "integer"
                                                                                                },
                                                                                       "total":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "integer"
                                                                                                              ],
                                                                                                     "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                                 }
                                                                                   },
                                                                    "example":  {
                                                                                    "items":  [
                                                                                                  {
                                                                                                      "Id":  "44821",
                                                                                                      "SupplierNr":  "L1001",
                                                                                                      "Status":  "Active",
                                                                                                      "Name":  "Linus Sedin",
                                                                                                      "Position":  "Fastighetschef",
                                                                                                      "Phone":  "031-12 34 56",
                                                                                                      "Mobile":  "070-123 45 67",
                                                                                                      "Fax":  "",
                                                                                                      "Email":  "info@storfors.se",
                                                                                                      "MostImportant":  true,
                                                                                                      "Custom1":  "",
                                                                                                      "Custom2":  "",
                                                                                                      "Custom3":  "",
                                                                                                      "Custom4":  "",
                                                                                                      "Note":  "",
                                                                                                      "Modified":  "2026-08-20T09:15:00"
                                                                                                  }
                                                                                              ],
                                                                                    "nextCursor":  "105935",
                                                                                    "page":  1,
                                                                                    "total":  65233
                                                                                }
                                                                },
                                       "SuppliercontactsWrite":  {
                                                                     "type":  "object",
                                                                     "properties":  {
                                                                                        "SupplierNr":  {
                                                                                                           "type":  [
                                                                                                                        "null",
                                                                                                                        "string"
                                                                                                                    ]
                                                                                                       },
                                                                                        "Name":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 },
                                                                                        "Position":  {
                                                                                                         "type":  [
                                                                                                                      "null",
                                                                                                                      "string"
                                                                                                                  ]
                                                                                                     },
                                                                                        "Phone":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                        "Mobile":  {
                                                                                                       "type":  [
                                                                                                                    "null",
                                                                                                                    "string"
                                                                                                                ]
                                                                                                   },
                                                                                        "Fax":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                        "Email":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                        "MostImportant":  {
                                                                                                              "type":  "boolean"
                                                                                                          },
                                                                                        "Custom1":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                                        "Custom2":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                                        "Custom3":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                                        "Custom4":  {
                                                                                                        "type":  [
                                                                                                                     "null",
                                                                                                                     "string"
                                                                                                                 ]
                                                                                                    },
                                                                                        "Note":  {
                                                                                                     "type":  [
                                                                                                                  "null",
                                                                                                                  "string"
                                                                                                              ]
                                                                                                 }
                                                                                    },
                                                                     "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                                     "example":  {
                                                                                     "SupplierNr":  "L1001",
                                                                                     "Name":  "Linus Sedin",
                                                                                     "Position":  "Fastighetschef",
                                                                                     "Phone":  "031-12 34 56",
                                                                                     "Mobile":  "070-123 45 67",
                                                                                     "Fax":  "",
                                                                                     "Email":  "info@storfors.se",
                                                                                     "MostImportant":  true,
                                                                                     "Custom1":  "",
                                                                                     "Custom2":  "",
                                                                                     "Custom3":  "",
                                                                                     "Custom4":  "",
                                                                                     "Note":  ""
                                                                                 }
                                                                 },
                                       "Suppliers":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "Nr":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                            "Status":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                            "Name":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Category":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                            "AddressLine1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                            "AddressLine2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                            "PostalCode":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                            "City":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "State":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Country":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Phone":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Fax":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                            "Email":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "Custom1":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom2":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom3":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom4":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Note":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Modified":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         },
                                                                            "ExtraFields":  {
                                                                                                "type":  "object",
                                                                                                "additionalProperties":  {
                                                                                                                             "type":  "string"
                                                                                                                         },
                                                                                                "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                            }
                                                                        },
                                                         "description":  "En leverantör som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                         "example":  {
                                                                         "Nr":  "10003",
                                                                         "Status":  "Active",
                                                                         "Name":  "Storfors Service AB",
                                                                         "Category":  "Serviceavtal",
                                                                         "AddressLine1":  "Storgatan 1",
                                                                         "AddressLine2":  "",
                                                                         "PostalCode":  "412 50",
                                                                         "City":  "Göteborg",
                                                                         "State":  "",
                                                                         "Country":  "SE",
                                                                         "Phone":  "031-12 34 56",
                                                                         "Fax":  "",
                                                                         "Email":  "info@storfors.se",
                                                                         "Custom1":  "",
                                                                         "Custom2":  "",
                                                                         "Custom3":  "",
                                                                         "Custom4":  "",
                                                                         "Note":  "",
                                                                         "Modified":  "2026-08-20T09:15:00",
                                                                         "ExtraFields":  {
                                                                                             "Avtals_typ":  "Helservice",
                                                                                             "Startdatum_avtal":  "2024-01-01"
                                                                                         }
                                                                     }
                                                     },
                                       "SuppliersPage":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "items":  {
                                                                                              "type":  "array",
                                                                                              "items":  {
                                                                                                            "$ref":  "#/components/schemas/Suppliers"
                                                                                                        }
                                                                                          },
                                                                                "nextCursor":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                               },
                                                                                "page":  {
                                                                                             "type":  "integer"
                                                                                         },
                                                                                "total":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "integer"
                                                                                                       ],
                                                                                              "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                          }
                                                                            },
                                                             "example":  {
                                                                             "items":  [
                                                                                           {
                                                                                               "Nr":  "10003",
                                                                                               "Status":  "Active",
                                                                                               "Name":  "Storfors Service AB",
                                                                                               "Category":  "Serviceavtal",
                                                                                               "AddressLine1":  "Storgatan 1",
                                                                                               "AddressLine2":  "",
                                                                                               "PostalCode":  "412 50",
                                                                                               "City":  "Göteborg",
                                                                                               "State":  "",
                                                                                               "Country":  "SE",
                                                                                               "Phone":  "031-12 34 56",
                                                                                               "Fax":  "",
                                                                                               "Email":  "info@storfors.se",
                                                                                               "Custom1":  "",
                                                                                               "Custom2":  "",
                                                                                               "Custom3":  "",
                                                                                               "Custom4":  "",
                                                                                               "Note":  "",
                                                                                               "Modified":  "2026-08-20T09:15:00",
                                                                                               "ExtraFields":  {
                                                                                                                   "Avtals_typ":  "Helservice",
                                                                                                                   "Startdatum_avtal":  "2024-01-01"
                                                                                                               }
                                                                                           }
                                                                                       ],
                                                                             "nextCursor":  "105935",
                                                                             "page":  1,
                                                                             "total":  65233
                                                                         }
                                                         },
                                       "SuppliersWrite":  {
                                                              "type":  "object",
                                                              "properties":  {
                                                                                 "Nr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                                 "Name":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "Category":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                                 "AddressLine1":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                 "AddressLine2":  {
                                                                                                      "type":  [
                                                                                                                   "null",
                                                                                                                   "string"
                                                                                                               ]
                                                                                                  },
                                                                                 "PostalCode":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                },
                                                                                 "City":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "State":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Country":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Phone":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Fax":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                                 "Email":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                                 "Custom1":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom2":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom3":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Custom4":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                                 "Note":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                                 "ExtraFields":  {
                                                                                                     "type":  "object",
                                                                                                     "additionalProperties":  {
                                                                                                                                  "type":  "string"
                                                                                                                              },
                                                                                                     "description":  "Kundens egna fält, med kundens egna namn som nycklar. ALLTID strängar. Hämta namn, typer och tillåtna värden med GET på /extra-fields."
                                                                                                 }
                                                                             },
                                                              "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                              "example":  {
                                                                              "Nr":  "10003",
                                                                              "Name":  "Storfors Service AB",
                                                                              "Category":  "Serviceavtal",
                                                                              "AddressLine1":  "Storgatan 1",
                                                                              "AddressLine2":  "",
                                                                              "PostalCode":  "412 50",
                                                                              "City":  "Göteborg",
                                                                              "State":  "",
                                                                              "Country":  "SE",
                                                                              "Phone":  "031-12 34 56",
                                                                              "Fax":  "",
                                                                              "Email":  "info@storfors.se",
                                                                              "Custom1":  "",
                                                                              "Custom2":  "",
                                                                              "Custom3":  "",
                                                                              "Custom4":  "",
                                                                              "Note":  "",
                                                                              "ExtraFields":  {
                                                                                                  "Avtals_typ":  "Helservice",
                                                                                                  "Startdatum_avtal":  "2024-01-01"
                                                                                              }
                                                                          }
                                                          },
                                       "TaskDto":  {
                                                       "required":  [
                                                                        "nr"
                                                                    ],
                                                       "type":  "object",
                                                       "properties":  {
                                                                          "nr":  {
                                                                                     "type":  "string"
                                                                                 },
                                                                          "status":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                          "customerNr":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                          "customerName":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                          "customerOrderer":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "string"
                                                                                                           ]
                                                                                              },
                                                                          "customerRef":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                          "taskText":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "taskNote":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "actionText":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                          "actionNote":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                          "ownerSign":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "createdBy":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "createdDate":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                          "modified":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "estimatedTime":  {
                                                                                                "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                "type":  [
                                                                                                             "number",
                                                                                                             "string"
                                                                                                         ],
                                                                                                "format":  "double"
                                                                                            },
                                                                          "planStartDate":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                          "planStopDate":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                          "planDateType":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                          "projectNr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "customT1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "customT2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "customT3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "customA1":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "customA2":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "customA3":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                          "object1Nr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "object1Name":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                          "object2Nr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "object2Name":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                          "object3Nr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "object3Name":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                          "object4Nr":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "object4Name":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                          "sign1By":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                          "sign1Date":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "sign2By":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                          "sign2Date":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                          "hasMultiUsers":  {
                                                                                                "type":  "boolean"
                                                                                            },
                                                                          "userSigns":  {
                                                                                            "type":  "array",
                                                                                            "items":  {
                                                                                                          "type":  "string"
                                                                                                      }
                                                                                        },
                                                                          "extraFields":  {
                                                                                              "type":  "object",
                                                                                              "additionalProperties":  {
                                                                                                                           "type":  "string"
                                                                                                                       }
                                                                                          }
                                                                      }
                                                   },
                                       "TaskListDto":  {
                                                           "required":  [
                                                                            "items"
                                                                        ],
                                                           "type":  "object",
                                                           "properties":  {
                                                                              "items":  {
                                                                                            "type":  "array",
                                                                                            "items":  {
                                                                                                          "$ref":  "#/components/schemas/TaskDto"
                                                                                                      }
                                                                                        },
                                                                              "page":  {
                                                                                           "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                           "type":  [
                                                                                                        "integer",
                                                                                                        "string"
                                                                                                    ],
                                                                                           "format":  "int32"
                                                                                       },
                                                                              "total":  {
                                                                                            "pattern":  "^-?(?:0|[1-9]\\d*)$",
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "integer",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "format":  "int32"
                                                                                        },
                                                                              "nextCursor":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             }
                                                                          }
                                                       },
                                       "TimeLineDto":  {
                                                           "required":  [
                                                                            "timeType",
                                                                            "hours"
                                                                        ],
                                                           "type":  "object",
                                                           "properties":  {
                                                                              "timeType":  {
                                                                                               "type":  "string"
                                                                                           },
                                                                              "hours":  {
                                                                                            "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                            "type":  [
                                                                                                         "number",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "format":  "double"
                                                                                        },
                                                                              "date":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                              "spec":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                              "userSign":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ]
                                                                                           },
                                                                              "invoiceHours":  {
                                                                                                   "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "number",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "format":  "double"
                                                                                               },
                                                                              "invoice":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "boolean"
                                                                                                       ]
                                                                                          },
                                                                              "discountPct":  {
                                                                                                  "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "number",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "format":  "double"
                                                                                              },
                                                                              "price":  {
                                                                                            "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "number",
                                                                                                         "string"
                                                                                                     ],
                                                                                            "format":  "double"
                                                                                        },
                                                                              "costPerUnit":  {
                                                                                                  "pattern":  "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "number",
                                                                                                               "string"
                                                                                                           ],
                                                                                                  "format":  "double"
                                                                                              },
                                                                              "resourceNr":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "string"
                                                                                                          ]
                                                                                             },
                                                                              "sign1":  {
                                                                                            "oneOf":  [
                                                                                                          {
                                                                                                              "type":  "null"
                                                                                                          },
                                                                                                          {
                                                                                                              "$ref":  "#/components/schemas/SignOffDto"
                                                                                                          }
                                                                                                      ]
                                                                                        },
                                                                              "sign2":  {
                                                                                            "oneOf":  [
                                                                                                          {
                                                                                                              "type":  "null"
                                                                                                          },
                                                                                                          {
                                                                                                              "$ref":  "#/components/schemas/SignOffDto"
                                                                                                          }
                                                                                                      ]
                                                                                        }
                                                                          }
                                                       },
                                       "Times":  {
                                                     "type":  "object",
                                                     "properties":  {
                                                                        "Id":  {
                                                                                   "type":  [
                                                                                                "null",
                                                                                                "string"
                                                                                            ]
                                                                               },
                                                                        "OwnerNr":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                        "TimeType":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                        "UserSign":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                        "Spec":  {
                                                                                     "type":  [
                                                                                                  "null",
                                                                                                  "string"
                                                                                              ]
                                                                                 },
                                                                        "Hours":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "number"
                                                                                               ]
                                                                                  },
                                                                        "InvoiceHours":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "number"
                                                                                                      ]
                                                                                         },
                                                                        "Price":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "number"
                                                                                               ]
                                                                                  },
                                                                        "DiscountPct":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "number"
                                                                                                     ]
                                                                                        },
                                                                        "Invoice":  {
                                                                                        "type":  "boolean"
                                                                                    },
                                                                        "ResourceNr":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                        "CostPerUnit":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "number"
                                                                                                     ]
                                                                                        },
                                                                        "TotalCost":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "number"
                                                                                                   ]
                                                                                      },
                                                                        "Date":  {
                                                                                     "type":  [
                                                                                                  "null",
                                                                                                  "string"
                                                                                              ],
                                                                                     "description":  "ISO 8601.",
                                                                                     "format":  "date-time"
                                                                                 },
                                                                        "Sign1By":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                        "Sign1Date":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "description":  "ISO 8601.",
                                                                                          "format":  "date-time"
                                                                                      },
                                                                        "Sign2By":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                        "Sign2Date":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "description":  "ISO 8601.",
                                                                                          "format":  "date-time"
                                                                                      },
                                                                        "Modified":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "description":  "ISO 8601.",
                                                                                         "format":  "date-time"
                                                                                     }
                                                                    },
                                                     "description":  "En tidrad som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                     "example":  {
                                                                     "Id":  "44821",
                                                                     "OwnerNr":  "U039071",
                                                                     "TimeType":  "Normaltid",
                                                                     "UserSign":  "AN",
                                                                     "Spec":  "Felsökning",
                                                                     "Hours":  4,
                                                                     "InvoiceHours":  4,
                                                                     "Price":  750,
                                                                     "DiscountPct":  0,
                                                                     "Invoice":  true,
                                                                     "ResourceNr":  "",
                                                                     "CostPerUnit":  750,
                                                                     "TotalCost":  2250,
                                                                     "Date":  "2026-09-14",
                                                                     "Sign1By":  "",
                                                                     "Sign1Date":  "2026-09-14",
                                                                     "Sign2By":  "",
                                                                     "Sign2Date":  "2026-09-14",
                                                                     "Modified":  "2026-08-20T09:15:00"
                                                                 }
                                                 },
                                       "TimesPage":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "items":  {
                                                                                          "type":  "array",
                                                                                          "items":  {
                                                                                                        "$ref":  "#/components/schemas/Times"
                                                                                                    }
                                                                                      },
                                                                            "nextCursor":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ],
                                                                                               "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                           },
                                                                            "page":  {
                                                                                         "type":  "integer"
                                                                                     },
                                                                            "total":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "integer"
                                                                                                   ],
                                                                                          "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                      }
                                                                        },
                                                         "example":  {
                                                                         "items":  [
                                                                                       {
                                                                                           "Id":  "44821",
                                                                                           "OwnerNr":  "U039071",
                                                                                           "TimeType":  "Normaltid",
                                                                                           "UserSign":  "AN",
                                                                                           "Spec":  "Felsökning",
                                                                                           "Hours":  4,
                                                                                           "InvoiceHours":  4,
                                                                                           "Price":  750,
                                                                                           "DiscountPct":  0,
                                                                                           "Invoice":  true,
                                                                                           "ResourceNr":  "",
                                                                                           "CostPerUnit":  750,
                                                                                           "TotalCost":  2250,
                                                                                           "Date":  "2026-09-14",
                                                                                           "Sign1By":  "",
                                                                                           "Sign1Date":  "2026-09-14",
                                                                                           "Sign2By":  "",
                                                                                           "Sign2Date":  "2026-09-14",
                                                                                           "Modified":  "2026-08-20T09:15:00"
                                                                                       }
                                                                                   ],
                                                                         "nextCursor":  "105935",
                                                                         "page":  1,
                                                                         "total":  65233
                                                                     }
                                                     },
                                       "TimesWrite":  {
                                                          "type":  "object",
                                                          "properties":  {
                                                                             "UserSign":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                             "Spec":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                             "Hours":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "number"
                                                                                                    ]
                                                                                       },
                                                                             "InvoiceHours":  {
                                                                                                  "type":  [
                                                                                                               "null",
                                                                                                               "number"
                                                                                                           ]
                                                                                              },
                                                                             "Price":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "number"
                                                                                                    ]
                                                                                       },
                                                                             "DiscountPct":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "number"
                                                                                                          ]
                                                                                             },
                                                                             "Invoice":  {
                                                                                             "type":  "boolean"
                                                                                         },
                                                                             "ResourceNr":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                             "CostPerUnit":  {
                                                                                                 "type":  [
                                                                                                              "null",
                                                                                                              "number"
                                                                                                          ]
                                                                                             },
                                                                             "TotalCost":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "number"
                                                                                                        ]
                                                                                           },
                                                                             "Date":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ],
                                                                                          "description":  "ISO 8601.",
                                                                                          "format":  "date-time"
                                                                                      },
                                                                             "Sign1By":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                             "Sign1Date":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ],
                                                                                               "description":  "ISO 8601.",
                                                                                               "format":  "date-time"
                                                                                           },
                                                                             "Sign2By":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                             "Sign2Date":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ],
                                                                                               "description":  "ISO 8601.",
                                                                                               "format":  "date-time"
                                                                                           }
                                                                         },
                                                          "description":  "Ett utelämnat fält lämnas orört — det nollställer aldrig något Mobigo redan satt. Fältnamn är okänsliga för skiftläge.",
                                                          "example":  {
                                                                          "UserSign":  "AN",
                                                                          "Spec":  "Felsökning",
                                                                          "Hours":  4,
                                                                          "InvoiceHours":  4,
                                                                          "Price":  750,
                                                                          "DiscountPct":  0,
                                                                          "Invoice":  true,
                                                                          "ResourceNr":  "",
                                                                          "CostPerUnit":  750,
                                                                          "TotalCost":  2250,
                                                                          "Date":  "2026-09-14",
                                                                          "Sign1By":  "",
                                                                          "Sign1Date":  "2026-09-14",
                                                                          "Sign2By":  "",
                                                                          "Sign2Date":  "2026-09-14"
                                                                      }
                                                      },
                                       "Timetypes":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "Name":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "Status":  {
                                                                                           "type":  [
                                                                                                        "null",
                                                                                                        "string"
                                                                                                    ]
                                                                                       },
                                                                            "Unit":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ]
                                                                                     },
                                                                            "BasePrice":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "number"
                                                                                                       ]
                                                                                          },
                                                                            "CostPrice":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "number"
                                                                                                       ]
                                                                                          },
                                                                            "ProductNr":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "string"
                                                                                                       ]
                                                                                          },
                                                                            "InternalType":  {
                                                                                                 "type":  "boolean"
                                                                                             },
                                                                            "ResourceType":  {
                                                                                                 "type":  "boolean"
                                                                                             },
                                                                            "BookingType":  {
                                                                                                "type":  "boolean"
                                                                                            },
                                                                            "Summable":  {
                                                                                             "type":  "boolean"
                                                                                         },
                                                                            "ShowInCalendar":  {
                                                                                                   "type":  "boolean"
                                                                                               },
                                                                            "Color":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "string"
                                                                                                   ]
                                                                                      },
                                                                            "SpecOptions":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                            "DateType":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ]
                                                                                         },
                                                                            "Custom1":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom2":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Custom3":  {
                                                                                            "type":  [
                                                                                                         "null",
                                                                                                         "string"
                                                                                                     ]
                                                                                        },
                                                                            "Modified":  {
                                                                                             "type":  [
                                                                                                          "null",
                                                                                                          "string"
                                                                                                      ],
                                                                                             "description":  "ISO 8601.",
                                                                                             "format":  "date-time"
                                                                                         }
                                                                        },
                                                         "description":  "En tidtyp som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                         "example":  {
                                                                         "Name":  "Normaltid",
                                                                         "Status":  "Active",
                                                                         "Unit":  "st",
                                                                         "BasePrice":  750,
                                                                         "CostPrice":  750,
                                                                         "ProductNr":  "A10001",
                                                                         "InternalType":  false,
                                                                         "ResourceType":  false,
                                                                         "BookingType":  false,
                                                                         "Summable":  false,
                                                                         "ShowInCalendar":  false,
                                                                         "Color":  "#c62828",
                                                                         "SpecOptions":  "",
                                                                         "DateType":  "Day",
                                                                         "Custom1":  "",
                                                                         "Custom2":  "",
                                                                         "Custom3":  "",
                                                                         "Modified":  "2026-08-20T09:15:00"
                                                                     }
                                                     },
                                       "TimetypesPage":  {
                                                             "type":  "object",
                                                             "properties":  {
                                                                                "items":  {
                                                                                              "type":  "array",
                                                                                              "items":  {
                                                                                                            "$ref":  "#/components/schemas/Timetypes"
                                                                                                        }
                                                                                          },
                                                                                "nextCursor":  {
                                                                                                   "type":  [
                                                                                                                "null",
                                                                                                                "string"
                                                                                                            ],
                                                                                                   "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                               },
                                                                                "page":  {
                                                                                             "type":  "integer"
                                                                                         },
                                                                                "total":  {
                                                                                              "type":  [
                                                                                                           "null",
                                                                                                           "integer"
                                                                                                       ],
                                                                                              "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                          }
                                                                            },
                                                             "example":  {
                                                                             "items":  [
                                                                                           {
                                                                                               "Name":  "Normaltid",
                                                                                               "Status":  "Active",
                                                                                               "Unit":  "st",
                                                                                               "BasePrice":  750,
                                                                                               "CostPrice":  750,
                                                                                               "ProductNr":  "A10001",
                                                                                               "InternalType":  false,
                                                                                               "ResourceType":  false,
                                                                                               "BookingType":  false,
                                                                                               "Summable":  false,
                                                                                               "ShowInCalendar":  false,
                                                                                               "Color":  "#c62828",
                                                                                               "SpecOptions":  "",
                                                                                               "DateType":  "Day",
                                                                                               "Custom1":  "",
                                                                                               "Custom2":  "",
                                                                                               "Custom3":  "",
                                                                                               "Modified":  "2026-08-20T09:15:00"
                                                                                           }
                                                                                       ],
                                                                             "nextCursor":  "105935",
                                                                             "page":  1,
                                                                             "total":  65233
                                                                         }
                                                         },
                                       "TokenRequest":  {
                                                            "type":  "object",
                                                            "properties":  {
                                                                               "clientId":  {
                                                                                                "type":  [
                                                                                                             "null",
                                                                                                             "string"
                                                                                                         ]
                                                                                            },
                                                                               "clientSecret":  {
                                                                                                    "type":  [
                                                                                                                 "null",
                                                                                                                 "string"
                                                                                                             ]
                                                                                                }
                                                                           }
                                                        },
                                       "Users":  {
                                                     "type":  "object",
                                                     "properties":  {
                                                                        "Sign":  {
                                                                                     "type":  [
                                                                                                  "null",
                                                                                                  "string"
                                                                                              ]
                                                                                 },
                                                                        "Name":  {
                                                                                     "type":  [
                                                                                                  "null",
                                                                                                  "string"
                                                                                              ]
                                                                                 },
                                                                        "Status":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                        "Phone":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                        "Mobile":  {
                                                                                       "type":  [
                                                                                                    "null",
                                                                                                    "string"
                                                                                                ]
                                                                                   },
                                                                        "Email":  {
                                                                                      "type":  [
                                                                                                   "null",
                                                                                                   "string"
                                                                                               ]
                                                                                  },
                                                                        "Custom1":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                        "Custom2":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                        "Custom3":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                        "Custom4":  {
                                                                                        "type":  [
                                                                                                     "null",
                                                                                                     "string"
                                                                                                 ]
                                                                                    },
                                                                        "Note":  {
                                                                                     "type":  [
                                                                                                  "null",
                                                                                                  "string"
                                                                                              ]
                                                                                 },
                                                                        "Modified":  {
                                                                                         "type":  [
                                                                                                      "null",
                                                                                                      "string"
                                                                                                  ],
                                                                                         "description":  "ISO 8601.",
                                                                                         "format":  "date-time"
                                                                                     }
                                                                    },
                                                     "description":  "En användare som API:et levererar den. Fältnamnen är Mobigos egna.",
                                                     "example":  {
                                                                     "Sign":  "AN",
                                                                     "Name":  "Linus Sedin",
                                                                     "Status":  "Active",
                                                                     "Phone":  "031-12 34 56",
                                                                     "Mobile":  "070-123 45 67",
                                                                     "Email":  "info@storfors.se",
                                                                     "Custom1":  "",
                                                                     "Custom2":  "",
                                                                     "Custom3":  "",
                                                                     "Custom4":  "",
                                                                     "Note":  "",
                                                                     "Modified":  "2026-08-20T09:15:00"
                                                                 }
                                                 },
                                       "UsersPage":  {
                                                         "type":  "object",
                                                         "properties":  {
                                                                            "items":  {
                                                                                          "type":  "array",
                                                                                          "items":  {
                                                                                                        "$ref":  "#/components/schemas/Users"
                                                                                                    }
                                                                                      },
                                                                            "nextCursor":  {
                                                                                               "type":  [
                                                                                                            "null",
                                                                                                            "string"
                                                                                                        ],
                                                                                               "description":  "Skicka tillbaka som ?cursor= för nästa sida. null betyder att det inte finns fler."
                                                                                           },
                                                                            "page":  {
                                                                                         "type":  "integer"
                                                                                     },
                                                                            "total":  {
                                                                                          "type":  [
                                                                                                       "null",
                                                                                                       "integer"
                                                                                                   ],
                                                                                          "description":  "null för de resurser Mobigo inte kan räkna."
                                                                                      }
                                                                        },
                                                         "example":  {
                                                                         "items":  [
                                                                                       {
                                                                                           "Sign":  "AN",
                                                                                           "Name":  "Linus Sedin",
                                                                                           "Status":  "Active",
                                                                                           "Phone":  "031-12 34 56",
                                                                                           "Mobile":  "070-123 45 67",
                                                                                           "Email":  "info@storfors.se",
                                                                                           "Custom1":  "",
                                                                                           "Custom2":  "",
                                                                                           "Custom3":  "",
                                                                                           "Custom4":  "",
                                                                                           "Note":  "",
                                                                                           "Modified":  "2026-08-20T09:15:00"
                                                                                       }
                                                                                   ],
                                                                         "nextCursor":  "105935",
                                                                         "page":  1,
                                                                         "total":  65233
                                                                     }
                                                     }
                                   },
                       "securitySchemes":  {
                                               "ApiKey":  {
                                                              "type":  "http",
                                                              "description":  "API-nyckeln som skapas med `SitterIT.Mobigo.Api keys create`.",
                                                              "scheme":  "bearer"
                                                          }
                                           }
                   },
    "security":  [
                     {
                         "ApiKey":  [

                                    ]
                     }
                 ],
    "tags":  [
                 {
                     "name":  "System"
                 },
                 {
                     "name":  "Authentication"
                 },
                 {
                     "name":  "Tasks"
                 },
                 {
                     "name":  "Orders"
                 },
                 {
                     "name":  "Customers"
                 },
                 {
                     "name":  "Products"
                 },
                 {
                     "name":  "Suppliers"
                 },
                 {
                     "name":  "Quotes"
                 },
                 {
                     "name":  "Order lines"
                 },
                 {
                     "name":  "Contracts"
                 },
                 {
                     "name":  "Resources"
                 },
                 {
                     "name":  "Projects"
                 },
                 {
                     "name":  "Contacts"
                 },
                 {
                     "name":  "Supplier contacts"
                 },
                 {
                     "name":  "Addresses"
                 },
                 {
                     "name":  "Users"
                 },
                 {
                     "name":  "Time types"
                 },
                 {
                     "name":  "Price lists"
                 },
                 {
                     "name":  "Objects 1"
                 },
                 {
                     "name":  "Objects 2"
                 },
                 {
                     "name":  "Objects 3"
                 },
                 {
                     "name":  "Objects 4"
                 },
                 {
                     "name":  "Times"
                 },
                 {
                     "name":  "Materials"
                 }
             ]
}