POST api/EntityValueAddedServices/SaveEntityValueAddedServices

Request Information

URI Parameters

None.

Body Parameters

EntityValueAddedServiceList
NameDescriptionTypeAdditional information
EntityCode

string

None.

ServiceList

Collection of EntityValueAddedServiceItem

None.

Request Formats

application/json, text/json

Sample:
{
  "EntityCode": "sample string 1",
  "ServiceList": [
    {
      "EntityValueAddedServiceId": "0efd55a4-44b4-47c2-bf34-fc279ea628d2",
      "PoliServiceID": "d6dc4da2-3055-4467-893a-f9fa006d5d13",
      "ServiceName": "sample string 3",
      "IsDeleted": true
    },
    {
      "EntityValueAddedServiceId": "0efd55a4-44b4-47c2-bf34-fc279ea628d2",
      "PoliServiceID": "d6dc4da2-3055-4467-893a-f9fa006d5d13",
      "ServiceName": "sample string 3",
      "IsDeleted": true
    }
  ]
}

application/xml, text/xml

Sample:
<EntityValueAddedServiceList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Entities">
  <EntityCode>sample string 1</EntityCode>
  <ServiceList>
    <EntityValueAddedServiceItem>
      <EntityValueAddedServiceId>0efd55a4-44b4-47c2-bf34-fc279ea628d2</EntityValueAddedServiceId>
      <IsDeleted>true</IsDeleted>
      <PoliServiceID>d6dc4da2-3055-4467-893a-f9fa006d5d13</PoliServiceID>
      <ServiceName>sample string 3</ServiceName>
    </EntityValueAddedServiceItem>
    <EntityValueAddedServiceItem>
      <EntityValueAddedServiceId>0efd55a4-44b4-47c2-bf34-fc279ea628d2</EntityValueAddedServiceId>
      <IsDeleted>true</IsDeleted>
      <PoliServiceID>d6dc4da2-3055-4467-893a-f9fa006d5d13</PoliServiceID>
      <ServiceName>sample string 3</ServiceName>
    </EntityValueAddedServiceItem>
  </ServiceList>
</EntityValueAddedServiceList>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'EntityValueAddedServiceList'.

Response Information

Resource Description

CommonResult
NameDescriptionTypeAdditional information
ErrorMessage

string

None.

Result

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "ErrorMessage": "sample string 1",
  "Result": {}
}

application/xml, text/xml

Sample:
<CommonResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ConsoleAPI.Internal.Models.Common">
  <ErrorMessage>sample string 1</ErrorMessage>
  <Result />
</CommonResult>