POST api/CRM/UploadCRMProductMaster

Request Information

URI Parameters

None.

Body Parameters

ProductMaster
NameDescriptionTypeAdditional information
CPM_ID

integer

None.

CPM_CODE

string

None.

CPM_NAME

string

None.

CPM_DESCRIPTN

string

None.

CPM_CATEGORY

integer

None.

CPM_PRICE

decimal number

None.

CPM_STATUS

string

None.

CPM_NOTES

string

None.

CPM_CREATED_BY

integer

None.

CPM_MODE

string

None.

CPM_CATEGORY_NAME

string

None.

CPM_STATUS_CODE

string

None.

CPM_CP_ID

integer

None.

CPM_CP_NAME

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CPM_ID": 1,
  "CPM_CODE": "sample string 1",
  "CPM_NAME": "sample string 2",
  "CPM_DESCRIPTN": "sample string 3",
  "CPM_CATEGORY": 1,
  "CPM_PRICE": 1.1,
  "CPM_STATUS": "sample string 4",
  "CPM_NOTES": "sample string 5",
  "CPM_CREATED_BY": 1,
  "CPM_MODE": "sample string 6",
  "CPM_CATEGORY_NAME": "sample string 7",
  "CPM_STATUS_CODE": "sample string 8",
  "CPM_CP_ID": 1,
  "CPM_CP_NAME": "sample string 9"
}

application/xml, text/xml

Sample:
<ProductMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
  <CPM_CATEGORY>1</CPM_CATEGORY>
  <CPM_CATEGORY_NAME>sample string 7</CPM_CATEGORY_NAME>
  <CPM_CODE>sample string 1</CPM_CODE>
  <CPM_CP_ID>1</CPM_CP_ID>
  <CPM_CP_NAME>sample string 9</CPM_CP_NAME>
  <CPM_CREATED_BY>1</CPM_CREATED_BY>
  <CPM_DESCRIPTN>sample string 3</CPM_DESCRIPTN>
  <CPM_ID>1</CPM_ID>
  <CPM_MODE>sample string 6</CPM_MODE>
  <CPM_NAME>sample string 2</CPM_NAME>
  <CPM_NOTES>sample string 5</CPM_NOTES>
  <CPM_PRICE>1.1</CPM_PRICE>
  <CPM_STATUS>sample string 4</CPM_STATUS>
  <CPM_STATUS_CODE>sample string 8</CPM_STATUS_CODE>
</ProductMaster>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.