Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

In order to update a document template in ROFS, a developer can follow these instructions:

  1. Retrieve current letter template to edit

  2. Remove protection on document. In order to edit a document you must click ‘Stop Protection’

  3. Make any necessary edits to the document template

  4. One you are done making edits, add protection back to the document. Leave the password field blank

  5. Convert word file to bytes.

  6. Upload document to DMS.

  7. Update GUID ID in ROFS.

DEV: https://ncdsafsecsurapp-document-management-service.azurewebsites.net/swagger/index.html
TEST: https://nctsafsecsurapp-document-management-service.azurewebsites.net/swagger/index.html
ACC: https://ncasafsecsurapp-document-management-service.azurewebsites.net/swagger/index.html
PROD: https://pcpsafsecsurapp-document-management-service.azurewebsites.net/swagger/index.html

File to byte array tool: https://cloudmersive.com/convert-file-to-json-byte-array-tool

JSON Request :

English:

{
"userName": "[YourEmail]",
"fileBytes": "[FileBytes]",
"fileName": "NotificationLetter.docx",
"fileContentType": "application/msword",
"submissionMethod": "004",
"fileLanguage": "english"
}

French:

{
"userName": "[YourEmail]",
"fileBytes": "[FileBytes]",
"fileName": "LetterDeNotification.docx",
"fileContentType": "application/msword",
"submissionMethod": "004",
"fileLanguage": "french"
}

  • No labels