POST Setup/BusinessUnitSetting/{buID}/Import
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
buID | integer |
Required |
Body Parameters
GenericSettingCollectionDTOName | Description | Type | Additional information |
---|---|---|---|
Settings | Collection of GenericSetting |
None. |
Request Formats
application/json, text/json
Sample:
{ "settings": [ { "name": "sample string 1", "active": true, "nameValuePairs": [ { "name": "sample string 1", "value": "sample string 2" }, { "name": "sample string 1", "value": "sample string 2" } ] }, { "name": "sample string 1", "active": true, "nameValuePairs": [ { "name": "sample string 1", "value": "sample string 2" }, { "name": "sample string 1", "value": "sample string 2" } ] } ] }
application/xml, text/xml
Sample:
<GenericSettingCollectionDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProcuraGroup.Models"> <Settings> <GenericSetting> <Active>true</Active> <Name>sample string 1</Name> <NameValuePairs> <GenericSettingNameValuePair> <Name>sample string 1</Name> <Value>sample string 2</Value> </GenericSettingNameValuePair> <GenericSettingNameValuePair> <Name>sample string 1</Name> <Value>sample string 2</Value> </GenericSettingNameValuePair> </NameValuePairs> </GenericSetting> <GenericSetting> <Active>true</Active> <Name>sample string 1</Name> <NameValuePairs> <GenericSettingNameValuePair> <Name>sample string 1</Name> <Value>sample string 2</Value> </GenericSettingNameValuePair> <GenericSettingNameValuePair> <Name>sample string 1</Name> <Value>sample string 2</Value> </GenericSettingNameValuePair> </NameValuePairs> </GenericSetting> </Settings> </GenericSettingCollectionDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/x-compressed-json
Sample:
� {�{�RqjIIf^z��Ut�R^bn���RqbnAN�BqIPF�PIG)1�$�(URT��V��S���YD@gH���R�9�b�j<��� ��]
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml, application/x-compressed-json
Sample:
Sample not available.