Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: draw.io diagram "ubw-logiq.drawio" edited
  • lenken til Unit4 ERP dokumentasjon: Unit4 ERP (tidl. UBW/Agresso)

  • lenken til saken:

    Jira Legacy
    serverSystem JIRA
    serverId83e3296b-f81a-3839-8c59-0469a4ed0fc6
    keyIOM-367

  • lenken til drawio:

Drawio
mVer2
simple0
zoom1
inComment0
pageId2790096948
custContentId2790326332
diagramDisplayNameubw-logiq.drawio
lbox1
contentVer10
revision10
baseUrlhttps://unit.atlassian.net/wiki
diagramNameubw-logiq.drawio
pCenter0
width1588.5
links
tbstyle
height1146
  • lenken til whiteboard:

...

eksempler:

API calls & responses:

Expand
titleLeverandører med e-post for et bestemt companyId (sample: "TF")

GET: {{ubw-rest-url}}/v1/objects/logiqeposts?companyId=TF

Response:

View file
nameresponse.json

Response (object) schema:

Code Block
{{
    "type": "object",
    "properties": {
        "aparId": {
            "type": "string",
            "description": "Den unike identifikatoren for objektet."
        },
        "aparName": {
            "type": "string",
            "description": "Navnet på objektet."
        },
        "client": {
            "type": "string",
            "description": "Klienten eller organisasjonen knyttet til objektet."
        },
        "compRegNo": {
            "type": "string",
            "description": "Selskapets registreringsnummer eller identifikator."
        },
        "eMail": {
            "type": "string",
            "format": "email",
            "description": "E-postadressen knyttet til objektet."
        },
        "lastUpdate": {
            "type": "string",
            "format": "date-time",
            "description": "Dato og klokkeslett for siste oppdatering av objektets informasjon."
        }
    },
    "required": ["aparId", "aparName", "client", "compRegNo", "eMail", "lastUpdate"]
}
Expand
titlefakturareferanser med URI-attributes for et bestemt <companyId> (sample: "TF") og filter (<attributeId>) (sample: "%20eq%20'XB01'%20and%20status%20eq%20'N'")

GET: {{ubw-rest-url}}/v1/objects/attribute-values?companyId=TF&filter=attributeId%20eq%20'XB01'%20and%20status%20eq%20'N'

code

Response:

View file
nameresponse.json

Response (object) schema:

Code Block
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "type": "object",
  "properties": {
    "attributeId": {
      "type": "string"
    },
    "attributeName": {
      "type": "string"
    },
    "attributeValue": {
      "type": "string"
    },
    "companyId": {
      "type": "string"
    },
    "customValue": {
      "type": "number"
    },
    "description": {
      "type": "string"
    },
    "owner": {
      "type": "string"
    },
    "ownerAttributeId": {
      "type": "string"
    },
    "ownerAttributeName": {
      "type": "string"
    },
    "periodFrom": {
      "type": "integer"
    },
    "periodTo": {
      "type": "integer"
    },
    "status": {
      "type": "string"
    },
    "lastUpdated": {
      "type": "object",
      "properties": {
        "updatedAt": {
          "type": "string",
          "format": "date-time"
        },
        "updatedBy": {
          "type": "string"
        }
      },
      "required": ["updatedAt", "updatedBy"]
    }
  },
  "required": [
    "attributeId",
    "attributeName",
    "attributeValue",
    "companyId",
    "customValue",
    "description",
    "owner",
    "ownerAttributeId",
    "ownerAttributeName",
    "periodFrom",
    "periodTo",
    "status",
    "lastUpdated"
  ]
}