POST Setup/UpdateConfig

Request Information

URI Parameters

None.

Body Parameters

UpdateConfigRequest
NameDescriptionTypeAdditional information
ConfigStatus

string

None.

ConfigItems

Collection of UserStageConfigItem

None.

AuthorizationToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ConfigStatus": "sample string 1",
  "ConfigItems": [
    {
      "ConfigItemId": "sample string 1",
      "SelectedValue": "sample string 2"
    },
    {
      "ConfigItemId": "sample string 1",
      "SelectedValue": "sample string 2"
    }
  ],
  "AuthorizationToken": "sample string 2"
}

application/xml, text/xml

Sample:
<UpdateConfigRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Transglobal.Entities.Objects.Linnworks.RequestAndResponse.UserSetup">
  <AuthorizationToken xmlns="http://schemas.datacontract.org/2004/07/Transglobal.Entities.Objects.Linnworks.RequestAndResponse.Base">sample string 2</AuthorizationToken>
  <ConfigItems xmlns:d2p1="http://schemas.datacontract.org/2004/07/Transglobal.Entities.Objects.Linnworks.Classes.UserConfig">
    <d2p1:UserStageConfigItem>
      <d2p1:ConfigItemId>sample string 1</d2p1:ConfigItemId>
      <d2p1:SelectedValue>sample string 2</d2p1:SelectedValue>
    </d2p1:UserStageConfigItem>
    <d2p1:UserStageConfigItem>
      <d2p1:ConfigItemId>sample string 1</d2p1:ConfigItemId>
      <d2p1:SelectedValue>sample string 2</d2p1:SelectedValue>
    </d2p1:UserStageConfigItem>
  </ConfigItems>
  <ConfigStatus>sample string 1</ConfigStatus>
</UpdateConfigRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

UpdateConfigResponse
NameDescriptionTypeAdditional information
ErrorMessage

string

None.

IsError

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 1",
  "IsError": true
}

application/xml, text/xml

Sample:
<UpdateConfigResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Transglobal.Entities.Objects.Linnworks.RequestAndResponse.UserSetup">
  <ErrorMessage xmlns="http://schemas.datacontract.org/2004/07/Transglobal.Entities.Objects.Linnworks.RequestAndResponse.Base">sample string 1</ErrorMessage>
  <IsError xmlns="http://schemas.datacontract.org/2004/07/Transglobal.Entities.Objects.Linnworks.RequestAndResponse.Base">true</IsError>
</UpdateConfigResponse>