EN
Español
English
Português
    Project

    Relationship between CMDB project and Lansweeper site

    The Project links each Reference with the CMDB project where CIs are created/updated and with the SiteId of Lansweeper.

    JSON Structure

    {
      "project": [
        {
          "reference": "",
          "projectId": "",
          "siteId": ""
        }
      ]
    }
    
    Property Description  
    Reference Key to the relationship with the ci and category blocks. see
    projectId Project ID in CMDB where the ICs will be registered.  
    SiteId Site ID in Lansweeper that will be queried for synchronization.  

    Recommendations

    1. Use the same Reference in Ci, Project and category.
    2. Validate that the projectId exists and that the user/token has access.
    3. Get the SiteId from Postman with the request Get Sites. View Guide
    {
      "project": [
        {
          "reference": "lansweeper-default",
          "projectId": 1,
          "siteId": "d4f18c4c-282e-4806-8918-0b76a2a19990"
        }
      ]
    }
    


    ↩ Back to Settings