Alertes

Récupérer des alertes

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

idCompany ou siren requis

Query Parameters

Name
Type
Description

idCompany

int

idAlert

int

siren

String

Headers

Name
Type
Description

x-access-token*

String

{
    "success": true,
    "parameters":{
        "idCompany": int,
        "idAlert": int|null
    },
    "alertList": [
        {
            "idAlert": int,
            "idCompany": int,
            "idAlertStatus": int,
            "idAlertDiffusion": int,
            "idAlertCategory": int,
            "description": string,
            "idAlertVersion": int,
            "created": datetime,
            "modified": datetime,
            "status":{
                "idAlertStatus": int,
                "title": string
            },
            "diffusion":{
                "idAlertDiffusion": int,
                "title": string
            },
            "category":{
                "idCategory": int,
                "title": string,
                "description": string,
                "slug": string
            },
            "tagList": [
                {
                    "idTag": int,
                    "tag": string,
                    "description": string,
                    "type": string,
                    "idCategory": int
                }
            ],
            "influenceurList": Array<RefContact>,
            "decideurList": Array<RefContact>,
            "alertVersionList": [
                {
                    "idAlertVersion": int,
                    "idAlert": int,
                    "idAlertMaturity": int,
                    "maturityJustification": string,
                    "idAlertBudgetType": int, 
                    "idAlertBudget": int,
                    "idAlertUsers": int,
                    "deadline": date,
                    "idContact": int,
                    "created": datetime,
                    "modified": datetime,
                    "contact": <RefContact>,
                    "maturity": {
                        "idAlertMaturity":int,
                        "title": string
                    },
                    "budgetType": {
                        "idBudgetType":int,
                        "title": string
                    },
                    "budget": {
                        "idAlertBudget":int,
                        "title": string
                    },
                    "users": {
                        "idAlertUsers":int,
                        "title": string
                    }
                }
            ]
        }
    ]
}

Last updated