PUT request/customer/{customerId}/site/{siteId}/document/{documentId}
Update specific documents of customer's company sites
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| customerId | integer |
Required |
|
| documentId | integer |
Required |
|
| siteId | integer |
Required |
Body Parameters
PutDocument| Name | Description | Type | Additional information |
|---|---|---|---|
| DateExpiry | date |
None. |
|
| DocumentName | string |
Required String length: inclusive between 0 and 50 |
|
| DocumentTypeId | byte |
Required |
Request Formats
application/json, text/json
Sample:
{
"documentName": "sample string 1",
"documentTypeId": 64,
"dateExpiry": "2025-11-05T12:24:20.5840701+00:00"
}
text/html
Sample:
{"documentName":"sample string 1","documentTypeId":64,"dateExpiry":"2025-11-05T12:24:20.5840701+00:00"}
application/xml, text/xml
Sample:
<PutDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MyUtilityGeniusForBusiness.Api.Models.FileStorage"> <DateExpiry>2025-11-05T12:24:20.5840701+00:00</DateExpiry> <DocumentName>sample string 1</DocumentName> <DocumentTypeId>64</DocumentTypeId> </PutDocument>
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.