POST api/Opportunities

Create a new Opportunity Record.

Request Information

URI Parameters

None.

Body Parameters

The Opportunity record data must be passed in through the body of the request in Json format. Set Content-Type header to application/json

MutableEntityExtended
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

ParentId

This field will only include data when working with Group records.

globally unique identifier

None.

Fields

Dictionary of string [key] and Object [value]

None.

LinkedEntities

LinkedEntities

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "359f0bd4-e1fa-4271-a0a6-5bac9e08d996",
  "ParentId": "f20828a5-0d8e-4900-be39-b4f3d217ddb1",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "9c4250d5-6776-4d05-84a5-273c7b5f018e",
      "d299642a-8a8c-4ded-b447-e2927525a291"
    ],
    "Companies": [
      "137dacfa-5f10-4ed2-b0f1-d05cc493c8c8",
      "0712ed2d-82f3-429b-a2ae-2b8670f38785"
    ],
    "Groups": [
      "b33dae68-694a-47b2-ba67-0b1abbae9d4e",
      "66e1cece-96b9-411c-9558-d1be6a2b8de9"
    ],
    "Opportunities": [
      "b5cc7e73-0b98-449d-beeb-1b8bb2c0d8a3",
      "8a6ccbac-da6d-41f8-b90b-bb17bc18a639"
    ]
  }
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

This endpoint returns the GUID of the Group record once it is created.

globally unique identifier

Response Formats

application/json, text/json

Sample:
"f46156da-8e2f-4f94-aaf5-bb86d3c3c91f"