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": "5ce31aca-0562-4507-b874-6fa40d57bddd",
  "ParentId": "a648e990-2366-4eb8-a0ea-ab2cbd8aecc6",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "f786b514-6d76-40f3-96b9-1c776cb8d8b2",
      "d35a34af-9c5b-427b-ba36-fe76b44f0937"
    ],
    "Companies": [
      "5e147498-c70f-4ac2-a027-3b7976f5f023",
      "714e62c8-cac6-4a95-886b-d500f4a0660a"
    ],
    "Groups": [
      "40bbeb55-7e02-4f0c-b735-5a7cbc79b6a3",
      "ce81e038-b927-4e6f-9f1f-4033a72c71dc"
    ],
    "Opportunities": [
      "040e889e-456f-497b-999c-ed173bfbddfe",
      "128919c3-cc8d-4420-b38e-29e46acb07e1"
    ]
  }
}

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:
"2ae489b7-302f-48a2-b6e7-04a7593986f2"