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": "f0623a6e-ce1d-49c5-ac80-8dd4d80db04e",
  "ParentId": "2c4776bc-b85e-4d54-be8b-1237b81c120b",
  "Fields": {
    "sample string 1": {},
    "sample string 3": {}
  },
  "LinkedEntities": {
    "Contacts": [
      "d604d92a-ca3f-4824-95e3-67ebf3e19ddb",
      "3662f981-2f8d-4c2f-8d48-5f275566546c"
    ],
    "Companies": [
      "9b5036bd-4c73-4a63-8f9f-35dc53fb44d8",
      "ebffaeab-fde1-4db4-a4a7-13ca55b69c68"
    ],
    "Groups": [
      "22aaa673-9eef-420a-b2d3-b662d5eb256b",
      "4d9055ec-8c47-4cbe-b5ab-a388dbf8e151"
    ],
    "Opportunities": [
      "f1650c02-6e71-425e-abd4-67c6cd132ce2",
      "9c9bf16e-5419-4eee-85bc-ae3007755400"
    ]
  }
}

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:
"00aa7359-1758-46da-aad9-1ca70233b050"