POST api/globalDocumentFiles/uploadGlobalDocumentFile?GlobalDocumentId={GlobalDocumentId}&Name={Name}&Description={Description}&FileName={FileName}&Path={Path}&EffectiveDate={EffectiveDate}&ExpirationDate={ExpirationDate}&CreatedOn={CreatedOn}&CreatedBy={CreatedBy}
Inserts a new global document file
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
GlobalDocumentId |
Global Document Id |
integer |
None. |
Name |
|
string |
None. |
Description |
|
string |
None. |
FileName |
|
string |
Required |
Path |
|
string |
Required |
EffectiveDate |
|
date |
Required |
ExpirationDate |
|
date |
Required |
CreatedOn |
Creation Date |
date |
None. |
CreatedBy |
Created by user's ID |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
GlobalDocumentsFileViewModel>ViewModel
GlobalDocumentFileCreateViewModelName | Description | Type | Additional information |
---|---|---|---|
GlobalDocumentId |
Global Document Id |
integer |
None. |
Name |
|
string |
None. |
Description |
|
string |
None. |
FileName |
|
string |
Required |
Path |
|
string |
Required |
EffectiveDate |
|
date |
Required |
ExpirationDate |
|
date |
Required |
CreatedOn |
Creation Date |
date |
None. |
CreatedBy |
Created by user's ID |
integer |
Required |
Response Formats
application/json, text/json
{ "globalDocumentId": 1, "name": "sample string 2", "description": "sample string 3", "fileName": "sample string 4", "path": "sample string 5", "effectiveDate": "2025-04-03T18:13:00.9977207-04:00", "expirationDate": "2025-04-03T18:13:00.9977207-04:00", "createdOn": "2025-04-03T18:13:00.9977207-04:00", "createdBy": 9 }
application/xml, text/xml
<GlobalDocumentFileCreateViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CamAcctApi.ViewModels"> <CreatedBy>9</CreatedBy> <CreatedOn>2025-04-03T18:13:00.9977207-04:00</CreatedOn> <Description>sample string 3</Description> <EffectiveDate>2025-04-03T18:13:00.9977207-04:00</EffectiveDate> <ExpirationDate>2025-04-03T18:13:00.9977207-04:00</ExpirationDate> <FileName>sample string 4</FileName> <GlobalDocumentId>1</GlobalDocumentId> <Name>sample string 2</Name> <Path>sample string 5</Path> </GlobalDocumentFileCreateViewModel>