POST api/OORequests

Request Information

URI Parameters

None.

Body Parameters

OORequestCreateCommand
NameDescriptionTypeAdditional information
Remarks

string

None.

Estimation

decimal number

None.

RequestorID

string

None.

Attachments

Collection of string

None.

Cat1Id

globally unique identifier

None.

Cat2Id

globally unique identifier

None.

Cat3Id

globally unique identifier

None.

Cat4Id

globally unique identifier

None.

Budgets

Collection of globally unique identifier

None.

Locations

Collection of RequestLocationDTO

None.

Notes

string

None.

ContractType

ContractType

None.

IsExtended

boolean

None.

HasLots

boolean

None.

Lots

Collection of OORequestLotCreateCommand

None.

FrameworkType

FrameworkType

None.

PriceMode

PriceMode

None.

Procedure

Procedure

None.

WithNegotiations

boolean

None.

Duration

string

None.

AwardCriteria

Collection of RequestAwardCrit

None.

InvitedOrganisations

Collection of RequestInvitedOrganisation

None.

Id

globally unique identifier

None.

Description

string

None.

CrmId

string

None.

IsArchived

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "Remarks": "sample string 1",
  "Estimation": 2.0,
  "RequestorID": "sample string 3",
  "Attachments": [
    "sample string 1",
    "sample string 2"
  ],
  "Cat1Id": "dbc1751f-77cd-4d94-b3b2-a057955afe5d",
  "Cat2Id": "5375d79f-2244-434c-aed8-b7e2e4fedbf0",
  "Cat3Id": "d16e99a3-4059-4656-b74b-d769b71dc966",
  "Cat4Id": "08c80e82-f4bd-4d9e-b6b3-97b437aa98fa",
  "Budgets": [
    "93d02980-fb41-4e21-b28f-46b789e849a2",
    "ff4dc323-2a09-4f3b-9820-2bd8b1947c8b"
  ],
  "Locations": [
    {
      "CodifLocationID": "afbd74af-ce4c-416b-840d-76f3a61cf2a2",
      "City": "sample string 1",
      "StreetName": "sample string 2",
      "HouseNumber": "sample string 3",
      "Zip": "sample string 4",
      "Country": "sample string 5",
      "latitude": 1.1,
      "longitude": 1.1,
      "X": 1.1,
      "Y": 1.1,
      "Id": "be98db5b-8682-4720-a30d-2fc81ac9d233",
      "Description": "sample string 7",
      "CrmId": "sample string 8",
      "IsArchived": true
    },
    {
      "CodifLocationID": "afbd74af-ce4c-416b-840d-76f3a61cf2a2",
      "City": "sample string 1",
      "StreetName": "sample string 2",
      "HouseNumber": "sample string 3",
      "Zip": "sample string 4",
      "Country": "sample string 5",
      "latitude": 1.1,
      "longitude": 1.1,
      "X": 1.1,
      "Y": 1.1,
      "Id": "be98db5b-8682-4720-a30d-2fc81ac9d233",
      "Description": "sample string 7",
      "CrmId": "sample string 8",
      "IsArchived": true
    }
  ],
  "Notes": "sample string 4",
  "ContractType": 1,
  "IsExtended": true,
  "HasLots": true,
  "Lots": [
    {
      "SameLocationAsParent": true,
      "Locations": [
        {
          "CodifLocationID": "afbd74af-ce4c-416b-840d-76f3a61cf2a2",
          "City": "sample string 1",
          "StreetName": "sample string 2",
          "HouseNumber": "sample string 3",
          "Zip": "sample string 4",
          "Country": "sample string 5",
          "latitude": 1.1,
          "longitude": 1.1,
          "X": 1.1,
          "Y": 1.1,
          "Id": "be98db5b-8682-4720-a30d-2fc81ac9d233",
          "Description": "sample string 7",
          "CrmId": "sample string 8",
          "IsArchived": true
        },
        {
          "CodifLocationID": "afbd74af-ce4c-416b-840d-76f3a61cf2a2",
          "City": "sample string 1",
          "StreetName": "sample string 2",
          "HouseNumber": "sample string 3",
          "Zip": "sample string 4",
          "Country": "sample string 5",
          "latitude": 1.1,
          "longitude": 1.1,
          "X": 1.1,
          "Y": 1.1,
          "Id": "be98db5b-8682-4720-a30d-2fc81ac9d233",
          "Description": "sample string 7",
          "CrmId": "sample string 8",
          "IsArchived": true
        }
      ],
      "Estimation": 2.0,
      "Remarks": "sample string 3",
      "Duration": "sample string 4",
      "Id": "2ecccbd2-b365-497f-a0af-dd6c86c80d17",
      "Description": "sample string 6",
      "CrmId": "sample string 7",
      "IsArchived": true
    },
    {
      "SameLocationAsParent": true,
      "Locations": [
        {
          "CodifLocationID": "afbd74af-ce4c-416b-840d-76f3a61cf2a2",
          "City": "sample string 1",
          "StreetName": "sample string 2",
          "HouseNumber": "sample string 3",
          "Zip": "sample string 4",
          "Country": "sample string 5",
          "latitude": 1.1,
          "longitude": 1.1,
          "X": 1.1,
          "Y": 1.1,
          "Id": "be98db5b-8682-4720-a30d-2fc81ac9d233",
          "Description": "sample string 7",
          "CrmId": "sample string 8",
          "IsArchived": true
        },
        {
          "CodifLocationID": "afbd74af-ce4c-416b-840d-76f3a61cf2a2",
          "City": "sample string 1",
          "StreetName": "sample string 2",
          "HouseNumber": "sample string 3",
          "Zip": "sample string 4",
          "Country": "sample string 5",
          "latitude": 1.1,
          "longitude": 1.1,
          "X": 1.1,
          "Y": 1.1,
          "Id": "be98db5b-8682-4720-a30d-2fc81ac9d233",
          "Description": "sample string 7",
          "CrmId": "sample string 8",
          "IsArchived": true
        }
      ],
      "Estimation": 2.0,
      "Remarks": "sample string 3",
      "Duration": "sample string 4",
      "Id": "2ecccbd2-b365-497f-a0af-dd6c86c80d17",
      "Description": "sample string 6",
      "CrmId": "sample string 7",
      "IsArchived": true
    }
  ],
  "FrameworkType": "NoFramework",
  "PriceMode": "Forfait",
  "Procedure": 1,
  "WithNegotiations": true,
  "Duration": "sample string 8",
  "AwardCriteria": [
    {
      "Type": 0,
      "Remarks": "sample string 1",
      "Weight": 2.1,
      "Id": "c1a2844c-d4da-4c04-add5-509aa467bc10",
      "Description": "sample string 4",
      "CrmId": "sample string 5",
      "IsArchived": true
    },
    {
      "Type": 0,
      "Remarks": "sample string 1",
      "Weight": 2.1,
      "Id": "c1a2844c-d4da-4c04-add5-509aa467bc10",
      "Description": "sample string 4",
      "CrmId": "sample string 5",
      "IsArchived": true
    }
  ],
  "InvitedOrganisations": [
    {
      "CodifExternOrganisationID": "aceb3729-d5cc-4d0f-bb09-70c49b43ed71",
      "City": "sample string 1",
      "StreetName": "sample string 2",
      "HouseNumber": "sample string 3",
      "Zip": "sample string 4",
      "Country": "sample string 5",
      "latitude": 1.1,
      "longitude": 1.1,
      "X": 1.1,
      "Y": 1.1,
      "Id": "2630a9d8-ef28-4349-90f0-8d87babf502a",
      "Description": "sample string 7",
      "CrmId": "sample string 8",
      "IsArchived": true
    },
    {
      "CodifExternOrganisationID": "aceb3729-d5cc-4d0f-bb09-70c49b43ed71",
      "City": "sample string 1",
      "StreetName": "sample string 2",
      "HouseNumber": "sample string 3",
      "Zip": "sample string 4",
      "Country": "sample string 5",
      "latitude": 1.1,
      "longitude": 1.1,
      "X": 1.1,
      "Y": 1.1,
      "Id": "2630a9d8-ef28-4349-90f0-8d87babf502a",
      "Description": "sample string 7",
      "CrmId": "sample string 8",
      "IsArchived": true
    }
  ],
  "Id": "44d47f0c-100c-43c4-99d0-f5dc07762613",
  "Description": "sample string 10",
  "CrmId": "sample string 11",
  "IsArchived": true
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ObjectCreationInfo
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": "90a804f9-4c9a-4f87-99b4-26bdb5b031ca"
}