POST api/InspectionTemplates/PublishOrDownloadInspectionTemplateToLocalAccount
Request Information
URI Parameters
None.
Body Parameters
InspectionTemplatePublishPostModelName | Description | Type | Additional information |
---|---|---|---|
AccountIds | Collection of integer |
None. |
|
GlobalInspectionTemplateId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "AccountIds": [ 1, 2 ], "GlobalInspectionTemplateId": 1 }
application/xml, text/xml
Sample:
<InspectionTemplatePublishPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Walsh.Service.Models.InspectionsTemplates"> <AccountIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </AccountIds> <GlobalInspectionTemplateId>1</GlobalInspectionTemplateId> </InspectionTemplatePublishPostModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>