Opportunity

Récupère les stades d'opportunité paramétrés

GET https://api.campaign.coefficy.com/v1/opportunity/stade

Headers

Name
Type
Description

x-access-token*

String

{
    "success": true,
    "parameters": {
        ...
    },
    "customFieldValueList": [
        {
            "idCustomFieldValue": int,
            "idCustomField": int,
            "idAccount": string,
            "label": string,
            "order": int,
            "isDeleted": bool,
            "created": datetime,
            "modified": datetime
        }
    ]
}

Récupère des opportunités

GET https://api.campaign.coefficy.com/v1/opportunity

Query Parameters

Name
Type
Description

idOpportunity

int

idCompany

int

siren

String

idStade

int

idCustomFieldValue de CustomFieldValue

polling

int

Opportunuté modifiée durant les x dernières minutes (minimum 15)

pollingDeleted

int

Opportunité supprimée durant les x dernières minutes (minimum 15) mets le paramètre isDeleted a true si renseigné

isDeleted

bool

defaut false

Headers

Name
Type
Description

x-access-token*

String

{
    "success": true,
    "parameters": {
        ...
    },
    "opportunityList": [
        {
            "idOpportunity": int,
            "title": string|null,
            "deadline": datetime,
            "idStade": int,
            "amount": float|null,
            "comment": string|null,
            "created": datetime,
            "modified": datetime,
            "idCompany": int,
            "idUser": int,
            "idAccount": string,
            "idSequenceAction": int|null,
            "idCrmVisitCard": int|null,
            "isDeleted": bool,
            "stade": <CustomFieldValue>
        }
    ]
}

Créer/Modifier une opportunité

POST https://api.campaign.coefficy.com/v1/opportunity

Headers

Name
Type
Description

x-access-token*

String

Request Body

Name
Type
Description

idOpportunity

int

title

String

idCompany*

int

idUserResponsable

int

userResponsableEmail

String

idStade

String

idCustomFieldValue de CustomFieldValue

deadline

date|datetime

amount

float

comment

String

idCrmVisitCard

int

crmVisitCardEmail

String

Last updated