POST api/resplan/externalimport
Import resources into resource plan
Request Information
URI Parameters
None.
Body Parameters
ImportResPlanObjectName | Description | Type | Additional 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": "44c46192-c1ac-42ff-a3b7-0eb2b9f0be90", "CostTypeName": "sample string 3", "AllData": true, "Hours": [ { "ResourceExternalId": "sample string 1", "Email": "sample string 2", "Name": "sample string 3", "Hours": { "2024-12-18T19:45:22.7014608+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-12-18T19:45:22.7014608+00:00": 2.0 }, "Fields": { "sample string 1": {}, "sample string 3": {} } } ], "Delete": { "StartDate": "2024-12-18T19:45:22.7014608+00:00", "EndDate": "2024-12-18T19:45:22.7014608+00:00", "Scope": 0 } }
Response Information
Resource Description
ImportResultName | Description | Type | Additional information |
---|---|---|---|
Status | ImportResultStatus |
None. |
|
Message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": 0, "Message": "sample string 1" }