POST api/Package/Create
Request Information
URI Parameters
None.
Body Parameters
PackageDtoName | Description | Type | Additional information |
---|---|---|---|
Upload | boolean |
None. |
|
Hidden | boolean |
None. |
|
UseName | boolean |
None. |
|
PackageDirectory | string |
None. |
|
OrganizationUuid | string |
None. |
|
JobUuid | string |
None. |
|
JobName | string |
None. |
|
PackageUuid | string |
None. |
|
PackageName | string |
None. |
|
Title | string |
None. |
|
Scope | string |
None. |
|
SipIngestPath | string |
None. |
|
AipStoragePath | string |
None. |
|
AipStorage | string |
None. |
|
StoragePathOptions | Collection of DataStorage |
None. |
|
Classification | string |
None. |
|
Accession | string |
None. |
|
AccessionDateString | string |
None. |
|
Status | string |
None. |
|
MinisisSourceApplication | string |
None. |
|
SourceApplicationMdType | string |
None. |
|
BytesSize | integer |
None. |
|
MegaBytesSize | decimal number |
None. |
|
AssetsBytesSize | integer |
None. |
|
AssetsMegaBytesSize | decimal number |
None. |
|
MbSize | string |
None. |
|
FilesCount | string |
None. |
|
PackageFilesCount | integer |
None. |
|
AssetsCount | integer |
None. |
|
UploadsCount | integer |
None. |
|
IngestDateTimeString | string |
None. |
|
Span | string |
None. |
|
Relation | Collection of string |
None. |
|
Rights | Collection of string |
None. |
|
DefaultSecurity | Collection of string |
None. |
|
Source | Collection of string |
None. |
|
Creators | Collection of string |
None. |
|
Subjects | Collection of string |
None. |
|
Corporate | Collection of string |
None. |
|
NamePeople | Collection of string |
None. |
|
CreatedBy | string |
None. |
|
CreatedOn | string |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedOn | string |
None. |
|
MetsFilePath | string |
None. |
|
StateString | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "Upload": true, "Hidden": true, "UseName": true, "PackageDirectory": "sample string 4", "OrganizationUuid": "sample string 5", "JobUuid": "sample string 6", "JobName": "sample string 7", "PackageUuid": "sample string 8", "PackageName": "sample string 9", "Title": "sample string 10", "Scope": "sample string 11", "SipIngestPath": "sample string 12", "AipStoragePath": "sample string 13", "AipStorage": "sample string 14", "StoragePathOptions": [ { "StoreId": 1, "Name": "sample string 2", "TypeStr": "AzureBlob", "Type": 1, "ConnectionString": "sample string 3", "Shared": true, "UsedSpace": 5.0, "Limit": 6, "TotalSize": 7.0, "Recalculating": true }, { "StoreId": 1, "Name": "sample string 2", "TypeStr": "AzureBlob", "Type": 1, "ConnectionString": "sample string 3", "Shared": true, "UsedSpace": 5.0, "Limit": 6, "TotalSize": 7.0, "Recalculating": true } ], "Classification": "sample string 15", "Accession": "sample string 16", "AccessionDateString": "sample string 17", "Status": "sample string 18", "MinisisSourceApplication": "sample string 19", "SourceApplicationMdType": "sample string 20", "BytesSize": 21, "MegaBytesSize": 0.0, "AssetsBytesSize": 22, "AssetsMegaBytesSize": 0.0, "MbSize": "sample string 23", "FilesCount": "sample string 24", "PackageFilesCount": 25, "AssetsCount": 26, "UploadsCount": 27, "IngestDateTimeString": "sample string 28", "Span": "sample string 29", "Relation": [ "sample string 1", "sample string 2" ], "Rights": [ "sample string 1", "sample string 2" ], "DefaultSecurity": [ "sample string 1", "sample string 2" ], "Source": [ "sample string 1", "sample string 2" ], "Creators": [ "sample string 1", "sample string 2" ], "Subjects": [ "sample string 1", "sample string 2" ], "Corporate": [ "sample string 1", "sample string 2" ], "NamePeople": [ "sample string 1", "sample string 2" ], "CreatedBy": "sample string 30", "CreatedOn": "sample string 31", "ModifiedBy": "sample string 32", "ModifiedOn": "sample string 33", "MetsFilePath": "sample string 34", "StateString": "sample string 35" }
application/xml, text/xml
Sample:
<PackageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities.Dtos"> <Accession>sample string 16</Accession> <AccessionDateString>sample string 17</AccessionDateString> <AipStorage>sample string 14</AipStorage> <AipStoragePath>sample string 13</AipStoragePath> <AssetsBytesSize>22</AssetsBytesSize> <AssetsCount>26</AssetsCount> <BytesSize>21</BytesSize> <Classification>sample string 15</Classification> <Corporate xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Corporate> <CreatedBy>sample string 30</CreatedBy> <CreatedOn>sample string 31</CreatedOn> <Creators xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Creators> <DefaultSecurity xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DefaultSecurity> <FilesCount>sample string 24</FilesCount> <Hidden>true</Hidden> <IngestDateTimeString>sample string 28</IngestDateTimeString> <JobName>sample string 7</JobName> <JobUuid>sample string 6</JobUuid> <MbSize>sample string 23</MbSize> <MetsFilePath>sample string 34</MetsFilePath> <MinisisSourceApplication>sample string 19</MinisisSourceApplication> <ModifiedBy>sample string 32</ModifiedBy> <ModifiedOn>sample string 33</ModifiedOn> <NamePeople xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </NamePeople> <OrganizationUuid>sample string 5</OrganizationUuid> <PackageDirectory>sample string 4</PackageDirectory> <PackageFilesCount>25</PackageFilesCount> <PackageName>sample string 9</PackageName> <PackageUuid>sample string 8</PackageUuid> <Relation xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Relation> <Rights xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Rights> <Scope>sample string 11</Scope> <SipIngestPath>sample string 12</SipIngestPath> <Source xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Source> <SourceApplicationMdType>sample string 20</SourceApplicationMdType> <Span>sample string 29</Span> <StateString>sample string 35</StateString> <Status>sample string 18</Status> <StoragePathOptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/TDR.Entities.Db"> <d2p1:DataStorage> <d2p1:ConnectionString>sample string 3</d2p1:ConnectionString> <d2p1:Limit>6</d2p1:Limit> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Recalculating>true</d2p1:Recalculating> <d2p1:Shared>true</d2p1:Shared> <d2p1:StoreId>1</d2p1:StoreId> <d2p1:TotalSize>7</d2p1:TotalSize> <d2p1:Type>AzureBlob</d2p1:Type> <d2p1:UsedSpace>5</d2p1:UsedSpace> </d2p1:DataStorage> <d2p1:DataStorage> <d2p1:ConnectionString>sample string 3</d2p1:ConnectionString> <d2p1:Limit>6</d2p1:Limit> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Recalculating>true</d2p1:Recalculating> <d2p1:Shared>true</d2p1:Shared> <d2p1:StoreId>1</d2p1:StoreId> <d2p1:TotalSize>7</d2p1:TotalSize> <d2p1:Type>AzureBlob</d2p1:Type> <d2p1:UsedSpace>5</d2p1:UsedSpace> </d2p1:DataStorage> </StoragePathOptions> <Subjects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Subjects> <Title>sample string 10</Title> <Upload>true</Upload> <UploadsCount>27</UploadsCount> <UseName>true</UseName> </PackageDto>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PackageDtoName | Description | Type | Additional information |
---|---|---|---|
Upload | boolean |
None. |
|
Hidden | boolean |
None. |
|
UseName | boolean |
None. |
|
PackageDirectory | string |
None. |
|
OrganizationUuid | string |
None. |
|
JobUuid | string |
None. |
|
JobName | string |
None. |
|
PackageUuid | string |
None. |
|
PackageName | string |
None. |
|
Title | string |
None. |
|
Scope | string |
None. |
|
SipIngestPath | string |
None. |
|
AipStoragePath | string |
None. |
|
AipStorage | string |
None. |
|
StoragePathOptions | Collection of DataStorage |
None. |
|
Classification | string |
None. |
|
Accession | string |
None. |
|
AccessionDateString | string |
None. |
|
Status | string |
None. |
|
MinisisSourceApplication | string |
None. |
|
SourceApplicationMdType | string |
None. |
|
BytesSize | integer |
None. |
|
MegaBytesSize | decimal number |
None. |
|
AssetsBytesSize | integer |
None. |
|
AssetsMegaBytesSize | decimal number |
None. |
|
MbSize | string |
None. |
|
FilesCount | string |
None. |
|
PackageFilesCount | integer |
None. |
|
AssetsCount | integer |
None. |
|
UploadsCount | integer |
None. |
|
IngestDateTimeString | string |
None. |
|
Span | string |
None. |
|
Relation | Collection of string |
None. |
|
Rights | Collection of string |
None. |
|
DefaultSecurity | Collection of string |
None. |
|
Source | Collection of string |
None. |
|
Creators | Collection of string |
None. |
|
Subjects | Collection of string |
None. |
|
Corporate | Collection of string |
None. |
|
NamePeople | Collection of string |
None. |
|
CreatedBy | string |
None. |
|
CreatedOn | string |
None. |
|
ModifiedBy | string |
None. |
|
ModifiedOn | string |
None. |
|
MetsFilePath | string |
None. |
|
StateString | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Upload": true, "Hidden": true, "UseName": true, "PackageDirectory": "sample string 4", "OrganizationUuid": "sample string 5", "JobUuid": "sample string 6", "JobName": "sample string 7", "PackageUuid": "sample string 8", "PackageName": "sample string 9", "Title": "sample string 10", "Scope": "sample string 11", "SipIngestPath": "sample string 12", "AipStoragePath": "sample string 13", "AipStorage": "sample string 14", "StoragePathOptions": [ { "StoreId": 1, "Name": "sample string 2", "TypeStr": "AzureBlob", "Type": 1, "ConnectionString": "sample string 3", "Shared": true, "UsedSpace": 5.0, "Limit": 6, "TotalSize": 7.0, "Recalculating": true }, { "StoreId": 1, "Name": "sample string 2", "TypeStr": "AzureBlob", "Type": 1, "ConnectionString": "sample string 3", "Shared": true, "UsedSpace": 5.0, "Limit": 6, "TotalSize": 7.0, "Recalculating": true } ], "Classification": "sample string 15", "Accession": "sample string 16", "AccessionDateString": "sample string 17", "Status": "sample string 18", "MinisisSourceApplication": "sample string 19", "SourceApplicationMdType": "sample string 20", "BytesSize": 21, "MegaBytesSize": 0.0, "AssetsBytesSize": 22, "AssetsMegaBytesSize": 0.0, "MbSize": "sample string 23", "FilesCount": "sample string 24", "PackageFilesCount": 25, "AssetsCount": 26, "UploadsCount": 27, "IngestDateTimeString": "sample string 28", "Span": "sample string 29", "Relation": [ "sample string 1", "sample string 2" ], "Rights": [ "sample string 1", "sample string 2" ], "DefaultSecurity": [ "sample string 1", "sample string 2" ], "Source": [ "sample string 1", "sample string 2" ], "Creators": [ "sample string 1", "sample string 2" ], "Subjects": [ "sample string 1", "sample string 2" ], "Corporate": [ "sample string 1", "sample string 2" ], "NamePeople": [ "sample string 1", "sample string 2" ], "CreatedBy": "sample string 30", "CreatedOn": "sample string 31", "ModifiedBy": "sample string 32", "ModifiedOn": "sample string 33", "MetsFilePath": "sample string 34", "StateString": "sample string 35" }
application/xml, text/xml
Sample:
<PackageDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TDR.Entities.Dtos"> <Accession>sample string 16</Accession> <AccessionDateString>sample string 17</AccessionDateString> <AipStorage>sample string 14</AipStorage> <AipStoragePath>sample string 13</AipStoragePath> <AssetsBytesSize>22</AssetsBytesSize> <AssetsCount>26</AssetsCount> <BytesSize>21</BytesSize> <Classification>sample string 15</Classification> <Corporate xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Corporate> <CreatedBy>sample string 30</CreatedBy> <CreatedOn>sample string 31</CreatedOn> <Creators xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Creators> <DefaultSecurity xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </DefaultSecurity> <FilesCount>sample string 24</FilesCount> <Hidden>true</Hidden> <IngestDateTimeString>sample string 28</IngestDateTimeString> <JobName>sample string 7</JobName> <JobUuid>sample string 6</JobUuid> <MbSize>sample string 23</MbSize> <MetsFilePath>sample string 34</MetsFilePath> <MinisisSourceApplication>sample string 19</MinisisSourceApplication> <ModifiedBy>sample string 32</ModifiedBy> <ModifiedOn>sample string 33</ModifiedOn> <NamePeople xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </NamePeople> <OrganizationUuid>sample string 5</OrganizationUuid> <PackageDirectory>sample string 4</PackageDirectory> <PackageFilesCount>25</PackageFilesCount> <PackageName>sample string 9</PackageName> <PackageUuid>sample string 8</PackageUuid> <Relation xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Relation> <Rights xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Rights> <Scope>sample string 11</Scope> <SipIngestPath>sample string 12</SipIngestPath> <Source xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Source> <SourceApplicationMdType>sample string 20</SourceApplicationMdType> <Span>sample string 29</Span> <StateString>sample string 35</StateString> <Status>sample string 18</Status> <StoragePathOptions xmlns:d2p1="http://schemas.datacontract.org/2004/07/TDR.Entities.Db"> <d2p1:DataStorage> <d2p1:ConnectionString>sample string 3</d2p1:ConnectionString> <d2p1:Limit>6</d2p1:Limit> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Recalculating>true</d2p1:Recalculating> <d2p1:Shared>true</d2p1:Shared> <d2p1:StoreId>1</d2p1:StoreId> <d2p1:TotalSize>7</d2p1:TotalSize> <d2p1:Type>AzureBlob</d2p1:Type> <d2p1:UsedSpace>5</d2p1:UsedSpace> </d2p1:DataStorage> <d2p1:DataStorage> <d2p1:ConnectionString>sample string 3</d2p1:ConnectionString> <d2p1:Limit>6</d2p1:Limit> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Recalculating>true</d2p1:Recalculating> <d2p1:Shared>true</d2p1:Shared> <d2p1:StoreId>1</d2p1:StoreId> <d2p1:TotalSize>7</d2p1:TotalSize> <d2p1:Type>AzureBlob</d2p1:Type> <d2p1:UsedSpace>5</d2p1:UsedSpace> </d2p1:DataStorage> </StoragePathOptions> <Subjects xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:string>sample string 1</d2p1:string> <d2p1:string>sample string 2</d2p1:string> </Subjects> <Title>sample string 10</Title> <Upload>true</Upload> <UploadsCount>27</UploadsCount> <UseName>true</UseName> </PackageDto>