FieldEx Developer
developer notes

Get Projects By ID

The ProjectGetByID API allows you to retrieve an existing Project by its ID.

Method API Endpoint
GET {{endpoint}}/api/ext/projects

Headers

Key Value
Content-Type application/json
Authorization Bearer {{token}}

Example Response

// 200 Response Code
{
    "id": "43",
    "name": "Testing Project - QA",
    "phone": "null",
    "email": "null",
    "company": "null",
    "billingCity": "Kuala Lumpur",
    "billingCountry": "Malaysia",
    "billingPostcode": "null",
    "billingState": "Federal Territory of Kuala Lumpur",
    "billingStreet": "Kuala Lumpur City Centre",
    "shippingCity": "Putrajaya",
    "shippingCountry": "Malaysia",
    "shippingPostcode": "62502",
    "shippingState": "Selangor",
    "shippingStreet": "IOI City Mall, Lebuh IRC, Ioi Resort",
    "externalId": "null",
    "secondExternalId": "null",
    "sfExternalId": "null",
    "projectNumber": "PRJ-000043",
    "source": "null",
    "description": "test",
    "paymentTerm": "null",
    "phone2": "null",
    "active": "true",
    "status": "null",
    "contactPersonName": "null",
    "fax": "null",
    "shippingPlaceId": "null",
    "billingPlaceId": "null",
    "billingLatitude": "3.146642",
    "billingLongitude": "101.6958449",
    "referenceNumber": "null",
    "shippingLatitude": "2.970663",
    "shippingLongitude": "101.7136681",
    "remark": "null",
    "startDateTime": "2023-05-18T00:00:00Z",
    "endDateTime": "2024-05-17T00:00:00Z",
    "geoFence": "null",
    "serviceZone": {
        "id": "4",
        "name": "Johor"
    },
    "projectCategory": null,
    "projectStatus": null,
    "customer": {
        "id": "3",
        "name": "1 Load Test [DO NOT DELETE]",
        "email": "null",
        "isDeleted": "N"
    },
    "sites": [
        {
        "id": "47",
        "siteNumber": "ST-000047",
        "siteName": "Site [Don't Delete] - Diva"
        }
    ],
    "projectType": {
        "id": "1",
        "name": "Project_Type",
        "label": "Project Type"
    },
    "createdDate": "2023-05-18T12:00:26Z",
    "lastModifiedDate": "2023-05-18T12:00:26Z",
    "createdByUser": {
        "id": "1",
        "login": "load.test1@trial.custella.com",
        "firstName": "Test",
        "lastName": "User MS 123",
        "email": "preeti@fieldex.com",
        "fullName": "Test User MS 123"
    },
    "modifiedByUser": {
        "id": "1",
        "login": "load.test1@trial.custella.com",
        "firstName": "Test",
        "lastName": "User MS 123",
        "email": "preeti@fieldex.com",
        "fullName": "Test User MS 123"
    }
}