PUT MapInterface/PutAgvanceMappingProductData

Updates the Agvance Product Mapping Cross Reference

Request Information

URI Parameters

Body Parameters

The model for the Updating of an Agvance Product.

ClsProductPutModel
NameDescriptionTypeAdditional Information
Products

Agvance products the Mapping GUID values will be updated on

Collection of ClsProductPut

Required

Request Formats

application/json, text/json

Sample:
{
  "Products": [
    {
      "AgvanceGuid": "1787e788-6dd5-44eb-814f-8a70b9751ece",
      "OracleId": "sample string 1",
      "MappingGuid": "ba3883ed-545e-43be-8ac0-2061a4917630"
    },
    {
      "AgvanceGuid": "1787e788-6dd5-44eb-814f-8a70b9751ece",
      "OracleId": "sample string 1",
      "MappingGuid": "ba3883ed-545e-43be-8ac0-2061a4917630"
    }
  ]
}

application/xml, text/xml

Sample:
<ClsProductPutModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SKY.Core.Interfaces.HAAS.Model">
  <Products>
    <ClsProductPut>
      <AgvanceGuid>1787e788-6dd5-44eb-814f-8a70b9751ece</AgvanceGuid>
      <MappingGuid>ba3883ed-545e-43be-8ac0-2061a4917630</MappingGuid>
      <OracleId>sample string 1</OracleId>
    </ClsProductPut>
    <ClsProductPut>
      <AgvanceGuid>1787e788-6dd5-44eb-814f-8a70b9751ece</AgvanceGuid>
      <MappingGuid>ba3883ed-545e-43be-8ac0-2061a4917630</MappingGuid>
      <OracleId>sample string 1</OracleId>
    </ClsProductPut>
  </Products>
</ClsProductPutModel>

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 'ClsProductPutModel'.

Response Information

Resource Description

Updates the Agvance Product Mapping Cross Reference

AgvMapInterfaceProduct
NameDescriptionTypeAdditional Information
Status

0 - Success; 1 - An error occurred; 2 - An error occurred; 3 - Descriptive message, process was successful

string
Message

Informational message that corresponds to the Status returned; 0 - Message will be "OK"; 1 - Detailed message returned to give user an indication of what went wrong; 2 - Less detailed message returned that may not mean anything to the user but that the application might use to take a corrective action; 3 - Not an error but something the user might need to know

string
Count

Number of results returned

string
ProductList

List of properties and values returned for each product that matches the request

Collection of ClsProductGet

Response Formats

application/json, text/json

Sample:
{
  "Status": "sample string 1",
  "Message": "sample string 2",
  "Count": "2",
  "ProductList": [
    {
      "AgvanceGuid": "e486b902-3921-496c-983c-7f5c4eca86dd",
      "DeptId": "sample string 2",
      "ProdId": "sample string 3",
      "Name": "sample string 4",
      "AlternateId": "sample string 5",
      "OracleId": "sample string 6",
      "MappingGuid": "f1218d85-b596-40cd-8423-666887bf72f3",
      "Inactive": true
    },
    {
      "AgvanceGuid": "e486b902-3921-496c-983c-7f5c4eca86dd",
      "DeptId": "sample string 2",
      "ProdId": "sample string 3",
      "Name": "sample string 4",
      "AlternateId": "sample string 5",
      "OracleId": "sample string 6",
      "MappingGuid": "f1218d85-b596-40cd-8423-666887bf72f3",
      "Inactive": true
    }
  ]
}

application/xml, text/xml

Sample:
<AgvMapInterfaceProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AgvWebAPICSharp.Models.Map.HAAS">
  <Message>sample string 2</Message>
  <ProductList xmlns:d2p1="http://schemas.datacontract.org/2004/07/SKY.Core.Interfaces.HAAS.Model">
    <d2p1:ClsProductGet>
      <d2p1:AgvanceGuid>e486b902-3921-496c-983c-7f5c4eca86dd</d2p1:AgvanceGuid>
      <d2p1:AlternateId>sample string 5</d2p1:AlternateId>
      <d2p1:DeptId>sample string 2</d2p1:DeptId>
      <d2p1:Inactive>true</d2p1:Inactive>
      <d2p1:MappingGuid>f1218d85-b596-40cd-8423-666887bf72f3</d2p1:MappingGuid>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:OracleId>sample string 6</d2p1:OracleId>
      <d2p1:ProdId>sample string 3</d2p1:ProdId>
    </d2p1:ClsProductGet>
    <d2p1:ClsProductGet>
      <d2p1:AgvanceGuid>e486b902-3921-496c-983c-7f5c4eca86dd</d2p1:AgvanceGuid>
      <d2p1:AlternateId>sample string 5</d2p1:AlternateId>
      <d2p1:DeptId>sample string 2</d2p1:DeptId>
      <d2p1:Inactive>true</d2p1:Inactive>
      <d2p1:MappingGuid>f1218d85-b596-40cd-8423-666887bf72f3</d2p1:MappingGuid>
      <d2p1:Name>sample string 4</d2p1:Name>
      <d2p1:OracleId>sample string 6</d2p1:OracleId>
      <d2p1:ProdId>sample string 3</d2p1:ProdId>
    </d2p1:ClsProductGet>
  </ProductList>
  <Status>sample string 1</Status>
</AgvMapInterfaceProduct>