POST Salesboard/InsertGoalValues?ApiKey={ApiKey}&EncryptionKey={EncryptionKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ApiKey

string

Required

EncryptionKey

string

Required

Body Parameters

Collection of GoalDTO
NameDescriptionTypeAdditional information
Name

string

None.

Last_name

string

None.

From

date

None.

To

date

None.

Goal

decimal number

None.

Pieces

decimal number

None.

DB

decimal number

None.

Partner_lbnr

integer

None.

Email

string

None.

Login_name

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "name": "sample string 1",
    "last_name": "sample string 2",
    "from": "2025-11-08T13:17:20.0230797+01:00",
    "to": "2025-11-08T13:17:20.0230797+01:00",
    "goal": 5.1,
    "pieces": 6.1,
    "db": 7.1,
    "partner_lbnr": 8,
    "email": "sample string 9",
    "login_name": "sample string 10"
  },
  {
    "name": "sample string 1",
    "last_name": "sample string 2",
    "from": "2025-11-08T13:17:20.0230797+01:00",
    "to": "2025-11-08T13:17:20.0230797+01:00",
    "goal": 5.1,
    "pieces": 6.1,
    "db": 7.1,
    "partner_lbnr": 8,
    "email": "sample string 9",
    "login_name": "sample string 10"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGoalDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DataTransferObjects.Salesboard">
  <GoalDTO>
    <DB>7.1</DB>
    <Email>sample string 9</Email>
    <From>2025-11-08T13:17:20.0230797+01:00</From>
    <Goal>5.1</Goal>
    <Last_name>sample string 2</Last_name>
    <Login_name>sample string 10</Login_name>
    <Name>sample string 1</Name>
    <Partner_lbnr>8</Partner_lbnr>
    <Pieces>6.1</Pieces>
    <To>2025-11-08T13:17:20.0230797+01:00</To>
  </GoalDTO>
  <GoalDTO>
    <DB>7.1</DB>
    <Email>sample string 9</Email>
    <From>2025-11-08T13:17:20.0230797+01:00</From>
    <Goal>5.1</Goal>
    <Last_name>sample string 2</Last_name>
    <Login_name>sample string 10</Login_name>
    <Name>sample string 1</Name>
    <Partner_lbnr>8</Partner_lbnr>
    <Pieces>6.1</Pieces>
    <To>2025-11-08T13:17:20.0230797+01:00</To>
  </GoalDTO>
</ArrayOfGoalDTO>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.