Get a Project Milestone
GET  /project-milestones/{id} — Use this method to retrieve the project milestone with the specified internal ID.
Parameters
Path parameters
| Path parameter | Required / Optional | Description | Type | 
|---|---|---|---|
| 
                         | Required | The internal ID of the project milestone. 
                        Note: 
                         The project milestone record with the internal ID  | integer | 
Query string parameter
| Path parameter | Required / Optional | Description | Type | 
|---|---|---|---|
| 
                         | Optional | A comma-separated list of attributes available for expansion. The comma-separated list may include spaces (or  | string | 
| 
                         | Optional | A comma-separated list of attributes to include in the response. If not specified, the response includes all attributes for the project milestone returned. Response Data Modifiers. | string | 
| 
                         | Optional | The internal ID of the filter set to be applied. 
 | integer | 
Response definitions
A successful request returns a JSON object with the following properties:
| Property | Description | 
|---|---|
| 
                       | An array containing the project milestone requested. See Returned Data. | 
| 
                       | An array of expanded objects, if the  | 
| 
                       | An object containing information about objects referenced by internal ID in the  | 
| 
                       | A string containing a brief message about the status of your request — for example,  | 
A failed request returns a JSON object with the following properties:
| Property | Description | 
|---|---|
| 
                       | A string containing a brief message about the status of your request — for example,  
                      Note: 
                       The project milestone record with the internal ID  | 
Sample request
            GET /rest/v1/project-milestones/2674 HTTP/1.1
Host: company-id.app.netsuitesuiteprojectspro.com
Authorization: Bearer <OAuth2_access_token> 
          
          In the example, <OAuth2_access_token> is the OAuth 2.0 access token obtained for the client application connecting to SuiteProjects Pro. See Authentication.
Sample response
            {                                                                                                                                                                                   
   "data" : [
      {
         "priority" : 5,
         "defaultCategory2" : "0",
         "defaultCategory1" : "0",
         "predecessorsType" : "",
          "id" : 5272,
         "updated" : "2022-02-10 08:43:29",
         "seq" : 6,
         "defaultCategory" : "6",
         "name" : "End of First Phase",
         "useAllCanAssign" : false,
         "customerId" : 71,
         "customerName" : "Internal",
         "predecessors" : "",
         "startDate" : "",
         "predecessorsLag" : "",
         "calculatedStarts" : "2021-07-01",
         "isNonBillable" : false,
         "projectTaskTypeId" : 0,
         "currency" : "USD",
         "defaultCategory4" : "0",
         "projectId" : 309,
         "defaultCategory5" : "0",
         "isClosed" : false,
         "attachments" : [
            {
               "id" : 486
            },
            {
               "id" : 487
            },
            {
               "id" : 488
            }
         ],
         "created" : "2022-02-03 02:56:19",
         "notes" : "",
         "parentId" : 0,
         "idNumber" : 11,
         "defaultCategory3" : "0"
      }
   ],
   "message" : "success",
   "meta" : {
      "relationships" : [
         {
            "attachments" : {
               "data" : {
                  "id" : [
                     486,
                     487,
                     488
                  ],
                  "type" : "attachment"
               }
            }
         }
      ]
   }
}