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": "5eeffb0d-54d7-436e-bc03-aa365ec240d8",
"preview": null,
"errors": null,
"warnings": null
}
text/html
Sample:
{"documentId":"5eeffb0d-54d7-436e-bc03-aa365ec240d8","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>5eeffb0d-54d7-436e-bc03-aa365ec240d8</DocumentId> <Errors i:nil="true" /> <Preview i:nil="true" /> <Warnings i:nil="true" /> </MilestonesImportedResultDto>