POST api/Master/AddCustomer

Request Information

URI Parameters

None.

Body Parameters

AddCustomer
NameDescriptionTypeAdditional information
cust_ID

integer

None.

client_ID

integer

None.

department_ID

integer

None.

state

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "cust_ID": 1,
  "client_ID": 2,
  "department_ID": 3,
  "state": 4
}

application/xml, text/xml

Sample:
<AddCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models">
  <client_ID>2</client_ID>
  <cust_ID>1</cust_ID>
  <department_ID>3</department_ID>
  <state>4</state>
</AddCustomer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Message

string

None.

Status

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": 2
}

application/xml, text/xml

Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/B2CAPIFrameWork.Models">
  <Message>sample string 1</Message>
  <Status>2</Status>
</Response>