POST api/document/reference/{referenceId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
referenceId | integer |
Required |
Body Parameters
DocumentSubModelName | Description | Type | Additional information |
---|---|---|---|
OverwriteFiles | boolean |
None. |
|
DocumentId | integer |
None. |
|
ReferenceId | integer |
None. |
|
ReferenceType | string |
None. |
|
Name | string |
None. |
|
FileName | string |
None. |
|
URL | string |
None. |
|
CreatedOn | date |
None. |
Request Formats
application/json, text/json
Sample:
{ "OverwriteFiles": true, "DocumentId": 2, "ReferenceId": 3, "ReferenceType": "sample string 4", "Name": "sample string 5", "FileName": "sample string 6", "URL": "sample string 7", "CreatedOn": "2024-12-14T22:36:41.05121+00:00" }
application/xml, text/xml
Sample:
<DocumentSubModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ALTAMBS.Business.Entities.Models"> <CreatedOn>2024-12-14T22:36:41.05121+00:00</CreatedOn> <DocumentId>2</DocumentId> <FileName>sample string 6</FileName> <Name>sample string 5</Name> <ReferenceId>3</ReferenceId> <ReferenceType>sample string 4</ReferenceType> <URL>sample string 7</URL> <OverwriteFiles>true</OverwriteFiles> </DocumentSubModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.