POST api/Connection?personId={personId}&addressId={addressId}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
personId
No documentation available.

Define this parameter in the request URI.

addressId
No documentation available.

Define this parameter in the request URI.

connection
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Id": "f01a0a47-bff2-4f54-9f23-587be486cacb",
  "AddressId": "2460fcfc-5f80-4b94-a56e-a346b1ece3c4",
  "Name": "sample string 3",
  "EanCode": "sample string 4",
  "Type": 0,
  "savingGoal": {
    "Id": "6c2b0ad4-a541-4c1d-9325-4936a4241add",
    "ConnectionId": "fa236011-9bf2-41c4-a023-00a13445703c",
    "SavingType": 3,
    "ToSave": 4.1,
    "Reference": 5.1,
    "ReferenceToSave": 6.1,
    "StartDate": "2024-10-02T12:33:15.2933825+02:00",
    "EndDate": "2024-10-02T12:33:15.2933825+02:00",
    "MeasurmentList": [
      {
        "Id": "cde78b18-8b34-4c0b-8f47-641d8ccd65fd",
        "PersonId": "1c0d9696-1dc9-4109-adf4-01639ea3e6cb",
        "ConnectionId": "392095a9-9e30-4f7c-8a74-98fd828d79b1",
        "Created": "2024-10-02T12:33:15.2983915+02:00",
        "Modified": "2024-10-02T12:33:15.2983915+02:00",
        "Date": "2024-10-02T12:33:15.2983915+02:00",
        "Value": 7.0,
        "Sum": 8.0,
        "Used": 9.0,
        "Moderator": "sample string 10",
        "Remark": "sample string 11",
        "UnixTimeStamp": 12.1,
        "EanCode": "sample string 13",
        "Type": 0
      },
      {
        "Id": "cde78b18-8b34-4c0b-8f47-641d8ccd65fd",
        "PersonId": "1c0d9696-1dc9-4109-adf4-01639ea3e6cb",
        "ConnectionId": "392095a9-9e30-4f7c-8a74-98fd828d79b1",
        "Created": "2024-10-02T12:33:15.2983915+02:00",
        "Modified": "2024-10-02T12:33:15.2983915+02:00",
        "Date": "2024-10-02T12:33:15.2983915+02:00",
        "Value": 7.0,
        "Sum": 8.0,
        "Used": 9.0,
        "Moderator": "sample string 10",
        "Remark": "sample string 11",
        "UnixTimeStamp": 12.1,
        "EanCode": "sample string 13",
        "Type": 0
      },
      {
        "Id": "cde78b18-8b34-4c0b-8f47-641d8ccd65fd",
        "PersonId": "1c0d9696-1dc9-4109-adf4-01639ea3e6cb",
        "ConnectionId": "392095a9-9e30-4f7c-8a74-98fd828d79b1",
        "Created": "2024-10-02T12:33:15.2983915+02:00",
        "Modified": "2024-10-02T12:33:15.2983915+02:00",
        "Date": "2024-10-02T12:33:15.2983915+02:00",
        "Value": 7.0,
        "Sum": 8.0,
        "Used": 9.0,
        "Moderator": "sample string 10",
        "Remark": "sample string 11",
        "UnixTimeStamp": 12.1,
        "EanCode": "sample string 13",
        "Type": 0
      }
    ]
  },
  "MeasurementList": [
    {
      "Id": "cde78b18-8b34-4c0b-8f47-641d8ccd65fd",
      "PersonId": "1c0d9696-1dc9-4109-adf4-01639ea3e6cb",
      "ConnectionId": "392095a9-9e30-4f7c-8a74-98fd828d79b1",
      "Created": "2024-10-02T12:33:15.2983915+02:00",
      "Modified": "2024-10-02T12:33:15.2983915+02:00",
      "Date": "2024-10-02T12:33:15.2983915+02:00",
      "Value": 7.0,
      "Sum": 8.0,
      "Used": 9.0,
      "Moderator": "sample string 10",
      "Remark": "sample string 11",
      "UnixTimeStamp": 12.1,
      "EanCode": "sample string 13",
      "Type": 0
    },
    {
      "Id": "cde78b18-8b34-4c0b-8f47-641d8ccd65fd",
      "PersonId": "1c0d9696-1dc9-4109-adf4-01639ea3e6cb",
      "ConnectionId": "392095a9-9e30-4f7c-8a74-98fd828d79b1",
      "Created": "2024-10-02T12:33:15.2983915+02:00",
      "Modified": "2024-10-02T12:33:15.2983915+02:00",
      "Date": "2024-10-02T12:33:15.2983915+02:00",
      "Value": 7.0,
      "Sum": 8.0,
      "Used": 9.0,
      "Moderator": "sample string 10",
      "Remark": "sample string 11",
      "UnixTimeStamp": 12.1,
      "EanCode": "sample string 13",
      "Type": 0
    },
    {
      "Id": "cde78b18-8b34-4c0b-8f47-641d8ccd65fd",
      "PersonId": "1c0d9696-1dc9-4109-adf4-01639ea3e6cb",
      "ConnectionId": "392095a9-9e30-4f7c-8a74-98fd828d79b1",
      "Created": "2024-10-02T12:33:15.2983915+02:00",
      "Modified": "2024-10-02T12:33:15.2983915+02:00",
      "Date": "2024-10-02T12:33:15.2983915+02:00",
      "Value": 7.0,
      "Sum": 8.0,
      "Used": 9.0,
      "Moderator": "sample string 10",
      "Remark": "sample string 11",
      "UnixTimeStamp": 12.1,
      "EanCode": "sample string 13",
      "Type": 0
    }
  ]
}

application/x-www-form-urlencoded

Sample:

Sample not available.