POST api/resplan/externalimport

Import resources into resource plan

Request Information

URI Parameters

None.

Body Parameters

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": "567581db-6f61-4798-91d9-3e6de70fa163",
  "CostTypeName": "sample string 3",
  "AllData": true,
  "Hours": [
    {
      "ResourceExternalId": "sample string 1",
      "Email": "sample string 2",
      "Name": "sample string 3",
      "Hours": {
        "2024-10-16T17:29:24.268279+00:00": 2.0
      },
      "Fields": {
        "sample string 1": {},
        "sample string 3": {}
      }
    },
    {
      "ResourceExternalId": "sample string 1",
      "Email": "sample string 2",
      "Name": "sample string 3",
      "Hours": {
        "2024-10-16T17:29:24.268279+00:00": 2.0
      },
      "Fields": {
        "sample string 1": {},
        "sample string 3": {}
      }
    }
  ],
  "Delete": {
    "StartDate": "2024-10-16T17:29:24.268279+00:00",
    "EndDate": "2024-10-16T17:29:24.268279+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"
}