POST api/Subcontracts/{subcontractId}/Milestones/Import
Import progress document
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| subcontractId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
MilestonesImportedResultDto| Name | Description | Type | Additional information |
|---|---|---|---|
| DocumentId | globally unique identifier |
None. |
|
| Preview | IPagedListOfMilestonesExportedPositionDto |
None. |
|
| Errors | IPagedListOfMilestonesPositionErrorDto |
None. |
|
| Warnings | IPagedListOfMilestonesPositionWarningDto |
None. |
Response Formats
application/json, text/json
Sample:
{
"documentId": "950a073e-51ba-4e41-a8eb-20289dfb9991",
"preview": null,
"errors": null,
"warnings": null
}
text/html
Sample:
{"documentId":"950a073e-51ba-4e41-a8eb-20289dfb9991","preview":null,"errors":null,"warnings":null}
application/xml, text/xml
Sample:
<MilestonesImportedResultDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TR.eSAM.SubcontractModule.Application.Dtos.Dtos.MilestoneAgg"> <DocumentId>950a073e-51ba-4e41-a8eb-20289dfb9991</DocumentId> <Errors i:nil="true" /> <Preview i:nil="true" /> <Warnings i:nil="true" /> </MilestonesImportedResultDto>