POST api/QMS/UserCertificates/UpdateAndUploadFile QMS All Services
Combines update of a QMS User Certificate and upload/attachment of file(s) to it. Other User Certificate fields may be optionally updated using the form data values of type Text, as well as any images to upload, of type File. Valid file types: PDF, Image (.jpg, .png). Content-Type is multipart/form-data. Form data contains up to three parts: 1)UserCertificateDto with updated fields as text representing JSON. Key name is: "UserCertificateDto". 2)Optional files to upload. 3)Optional IsAdmin as text representing boolean (i.e. "true"/"false"). Key name is: "IsAdmin". Within UserCertificateDto, UserCertificateId and CertificateCode must be provided, along with at least one of ExpiryDate or CompletedDate. The remaining fields are optional. NOTE: updates will not keep audit history and should not be confused with renewing, which is creating a new record.
Request Information
Headers
Fields | Type | M/O/C | Definition |
AccountLoginName | String(50) | Mandatory | Login name of an account used for logging into Galaxy application to perform the service call |
AccountPassword | String(50) | Mandatory | Password of an account used for logging into Galaxy application to perform the service call |
SourceSystemID | String(50) | Mandatory | Name or ID of application or system that initiated the call. |
DomainID | String(50) | Mandatory | Name or ID of the domain that the call is being made to. (Value will be 1, if the site only has one domain) |
Accept | String | Optional | Format in which client expects the response: [application/json] (default), [application/xml] |
ContentType | String | Optional | Format in which client is sending the request: [application/json] (default), [application/xml] |
Return Type
Return type | null |