POST ProductNServices/SaveAsDraft
Request Information
URI Parameters
None.
Body Parameters
MYCII_EWS.BusinessObjects.ProductNServices+SavePNS| Name | Description | Type | Additional information | 
|---|---|---|---|
| ProductId | string | 
                             None.  | 
                |
| Title | string | 
                                 Required  | 
                |
| BriefDiscription | string | 
                             None.  | 
                |
| ProductClassId | string | 
                             None.  | 
                |
| Attachment | Collection of MYCII_EWS.BusinessObjects.Masters+Attachment | 
                             None.  | 
                |
| Picture | Collection of MYCII_EWS.BusinessObjects.Masters+Attachment | 
                             None.  | 
                |
| Weblinks | Collection of string | 
                             None.  | 
                |
| EmbeddedCode | string | 
                             None.  | 
                |
| ContactAddress | Collection of string | 
                             None.  | 
                |
| IsPublished | boolean | 
                             None.  | 
                |
| Sector | Collection of string | 
                             None.  | 
                |
| Status | string | 
                             None.  | 
                |
| Manufacturer | integer | 
                             None.  | 
                |
| Trader | integer | 
                             None.  | 
                |
| Exporter | integer | 
                             None.  | 
                |
| Import | integer | 
                             None.  | 
                |
| Countries | Collection of string | 
                             None.  | 
                |
| HSCodes | Collection of string | 
                             None.  | 
                |
| DelimitedHSCodes | string | 
                             None.  | 
                |
| DelimitedSectors | string | 
                             None.  | 
                |
| DelimitedCountries | string | 
                             None.  | 
                |
| DelimitedContactAddress | string | 
                             None.  | 
                |
| DeliminatedWebLinks | string | 
                             None.  | 
                |
| DelimitedAttachments | string | 
                             None.  | 
                |
| DelimitedPicture | string | 
                             None.  | 
                |
| IsSavePublish | integer | 
                             None.  | 
                
Request Formats
application/json, text/json
            Sample:
        
{
  "ProductId": "sample string 1",
  "Title": "sample string 2",
  "BriefDiscription": "sample string 3",
  "ProductClassId": "sample string 4",
  "Attachment": [
    {
      "FileName": "sample string 1",
      "Content": "sample string 2"
    },
    {
      "FileName": "sample string 1",
      "Content": "sample string 2"
    }
  ],
  "Picture": [
    {
      "FileName": "sample string 1",
      "Content": "sample string 2"
    },
    {
      "FileName": "sample string 1",
      "Content": "sample string 2"
    }
  ],
  "Weblinks": [
    "sample string 1",
    "sample string 2"
  ],
  "EmbeddedCode": "sample string 5",
  "ContactAddress": [
    "sample string 1",
    "sample string 2"
  ],
  "IsPublished": true,
  "Sector": [
    "sample string 1",
    "sample string 2"
  ],
  "Status": "sample string 7",
  "Manufacturer": 8,
  "Trader": 9,
  "Exporter": 10,
  "Import": 11,
  "Countries": [
    "sample string 1",
    "sample string 2"
  ],
  "HSCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "DelimitedHSCodes": "sample string 1|sample string 2",
  "DelimitedSectors": "sample string 1|sample string 2",
  "DelimitedCountries": "sample string 1|sample string 2",
  "DelimitedContactAddress": "sample string 1|sample string 2",
  "DeliminatedWebLinks": "sample string 1|sample string 2",
  "DelimitedAttachments": "|sample string 1|sample string 1",
  "DelimitedPicture": "|sample string 1|sample string 1",
  "IsSavePublish": 12
}
        application/xml, text/xml
            Sample:
        
<SavePNS xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ProductId>sample string 1</ProductId>
  <Title>sample string 2</Title>
  <BriefDiscription>sample string 3</BriefDiscription>
  <ProductClassId>sample string 4</ProductClassId>
  <Attachment>
    <Attachment>
      <FileName>sample string 1</FileName>
      <Content>sample string 2</Content>
    </Attachment>
    <Attachment>
      <FileName>sample string 1</FileName>
      <Content>sample string 2</Content>
    </Attachment>
  </Attachment>
  <Picture>
    <Attachment>
      <FileName>sample string 1</FileName>
      <Content>sample string 2</Content>
    </Attachment>
    <Attachment>
      <FileName>sample string 1</FileName>
      <Content>sample string 2</Content>
    </Attachment>
  </Picture>
  <Weblinks>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Weblinks>
  <EmbeddedCode>sample string 5</EmbeddedCode>
  <ContactAddress>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </ContactAddress>
  <IsPublished>true</IsPublished>
  <Sector>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Sector>
  <Status>sample string 7</Status>
  <Manufacturer>8</Manufacturer>
  <Trader>9</Trader>
  <Exporter>10</Exporter>
  <Import>11</Import>
  <Countries>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </Countries>
  <HSCodes>
    <string>sample string 1</string>
    <string>sample string 2</string>
  </HSCodes>
  <IsSavePublish>12</IsSavePublish>
</SavePNS>
        application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
System.Web.Http.IHttpActionResultNone.
Response Formats
application/json, text/json
            Sample:
                    
Sample not available.