POST api/ReportManager/ReportCustomizeProperty

Request Information

URI Parameters

None.

Body Parameters

InputCustomizeProperty
NameDescriptionTypeAdditional information
EntityId

string

None.

EntityType

integer

None.

IsAppendProperty

integer

None.

IsUpdateOrderItemProperty

integer

None.

CustomizeProperties

Collection of CustomizeProperty

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityId": "sample string 1",
  "EntityType": 1,
  "IsAppendProperty": 1,
  "IsUpdateOrderItemProperty": 1,
  "CustomizeProperties": [
    {
      "key": "sample string 1",
      "value": "sample string 2",
      "label": "sample string 3",
      "itemLabel": "sample string 4",
      "componentType": "sample string 5",
      "name": "sample string 6"
    },
    {
      "key": "sample string 1",
      "value": "sample string 2",
      "label": "sample string 3",
      "itemLabel": "sample string 4",
      "componentType": "sample string 5",
      "name": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<InputCustomizeProperty xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Input.Group">
  <CustomizeProperties xmlns:d2p1="http://schemas.datacontract.org/2004/07/Business.Core.Models">
    <d2p1:CustomizeProperty>
      <d2p1:componentType>sample string 5</d2p1:componentType>
      <d2p1:itemLabel>sample string 4</d2p1:itemLabel>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:label>sample string 3</d2p1:label>
      <d2p1:name>sample string 6</d2p1:name>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:CustomizeProperty>
    <d2p1:CustomizeProperty>
      <d2p1:componentType>sample string 5</d2p1:componentType>
      <d2p1:itemLabel>sample string 4</d2p1:itemLabel>
      <d2p1:key>sample string 1</d2p1:key>
      <d2p1:label>sample string 3</d2p1:label>
      <d2p1:name>sample string 6</d2p1:name>
      <d2p1:value>sample string 2</d2p1:value>
    </d2p1:CustomizeProperty>
  </CustomizeProperties>
  <EntityId>sample string 1</EntityId>
  <EntityType>1</EntityType>
  <IsAppendProperty>1</IsAppendProperty>
  <IsUpdateOrderItemProperty>1</IsUpdateOrderItemProperty>
</InputCustomizeProperty>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

InvokeResult
NameDescriptionTypeAdditional information
Success

boolean

None.

Message

string

None.

Code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Message": "sample string 2",
  "Code": 3
}

application/xml, text/xml

Sample:
<InvokeResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartBuyer.Api.Models.Result">
  <Code>3</Code>
  <Message>sample string 2</Message>
  <Success>true</Success>
</InvokeResult>