Get Opportunity Types
This downloads our complete API collection, including all endpoints—not just this specific endpoint.
Returns the details of all the Opportunity Types in your account.
API URL
URL
GET
https://{host}/v2/OpportunityManagement.svc/GetOpportunityTypes?accessKey=AccessKey&secretKey=SecretKey
Response
200 OK
Content-Type: application/json
[ { "AllowAttachments":false, "CanDelete":false, "Description":"", "DisplayName":"Admission", "EventCode":12003, "Fields":null, "FormLayout":null, "ID":"1f932216-d16a-11ea-8359-02a51efbfce8", "IsAuditEnable":true, "ModifiedBy":"Anu V", "ModifiedOn":"/Date(1598888445000+0000)/", "Name":"Admission", "PluralName":"Admissions", "Properties":null, "Score":0, "VCardFormLayout":null }, { "AllowAttachments":false, "CanDelete":true, "Description":"Programs", "DisplayName":"Program", "EventCode":12002, "Fields":null, "FormLayout":null, "ID":"90732036-c6ce-11ea-92ae-0a6d35d1ff1e", "IsAuditEnable":true, "ModifiedBy":"Rajesh Aggarwal", "ModifiedOn":"/Date(1599631329000+0000)/", "Name":"Program", "PluralName":"Programs", "Properties":null, "Score":0, "VCardFormLayout":null }, { "AllowAttachments":false, "CanDelete":true, "Description":"", "DisplayName":"Renewal Opportunity", "EventCode":12001, "Fields":null, "FormLayout":null, "ID":"bf932749-c592-11ea-92ae-0a6d35d1ff1e", "IsAuditEnable":true, "ModifiedBy":"Utkarsh Rai", "ModifiedOn":"/Date(1594924303000+0000)/", "Name":"Renewal Opportunity", "PluralName":"Renewal Opportunities", "Properties":null, "Score":0, "VCardFormLayout":null }, { "AllowAttachments":false, "CanDelete":true, "Description":"Opportunities will be used to capture and track all the sales information", "DisplayName":"Upsell Opportunity", "EventCode":12000, "Fields":null, "FormLayout":null, "ID":"6b113fc1-c439-11ea-92ae-0a6d35d1ff1e", "IsAuditEnable":true, "ModifiedBy":"Utkarsh Rai", "ModifiedOn":"/Date(1594924333000+0000)/", "Name":"Upsell Opportunity", "PluralName":"Upsell Opportunities", "Properties":null, "Score":0, "VCardFormLayout":null }, { "AllowAttachments":false, "CanDelete":true, "Description":"", "DisplayName":"YOMA", "EventCode":12004, "Fields":null, "FormLayout":null, "ID":"b68b74da-dc60-11ea-aafc-0a6d35d1ff1e", "IsAuditEnable":true, "ModifiedBy":"Utkarsh Rai", "ModifiedOn":"/Date(1597211913000+0000)/", "Name":"YOMA", "PluralName":"YOMA", "Properties":null, "Score":0, "VCardFormLayout":null } ]
HTTP Response Codes
Code | Description |
---|---|
200 OK | This is the status code for successful API call. |
401 Unauthorized | The API call was made with invalid access credentials. Check your AccessKey and SecretKey. |
400 Bad Request | The message body on the request is not as per API specification. Make sure that content type is set to “application/json” and the JSON body has correct attribute names and structure. |
404 Not Found | The API could not be found. Please check the API signature. |
429 Too Many Requests | API calls exceeded the limit of 25 in 5 second(s) |
500 Internal Server Error | The API called failed. There could be many reasons for it. Check the exception message to get more details. |