POST api/resplan/externalimport

Import resources into resource plan

Request Information

URI Parameters

None.

Body Parameters

Specify Date in format YYYY-MM-DD

ImportResPlanObject
NameDescriptionTypeAdditional information
PlanExternalId

string

None.

CostTypeId

globally unique identifier

None.

CostTypeName

string

None.

AllData

boolean

None.

Hours

Collection of ImportResPlanResourceObject

None.

Delete

ImportDeleteResourceData

None.

Request Formats

application/json, text/json

Sample:
{
  "PlanExternalId": "sample string 1",
  "CostTypeId": "036cb8bc-82b6-4462-a701-1c594af82a64",
  "CostTypeName": "sample string 3",
  "AllData": true,
  "Hours": [
    {
      "ResourceExternalId": "sample string 1",
      "Email": "sample string 2",
      "Name": "sample string 3",
      "Hours": {
        "2025-07-08T18:32:58.7143397+00:00": 2.0
      },
      "Fields": {
        "sample string 1": {},
        "sample string 3": {}
      }
    },
    {
      "ResourceExternalId": "sample string 1",
      "Email": "sample string 2",
      "Name": "sample string 3",
      "Hours": {
        "2025-07-08T18:32:58.7143397+00:00": 2.0
      },
      "Fields": {
        "sample string 1": {},
        "sample string 3": {}
      }
    }
  ],
  "Delete": {
    "StartDate": "2025-07-08T18:32:58.7143397+00:00",
    "EndDate": "2025-07-08T18:32:58.7143397+00:00",
    "Scope": 0
  }
}

Response Information

Resource Description

ImportResult
NameDescriptionTypeAdditional information
Status

ImportResultStatus

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 0,
  "Message": "sample string 1"
}