POST api/BOS/CreateCustomer

Request Information

URI Parameters

None.

Body Parameters

CreateCustomerRequestModel
NameDescriptionTypeAdditional information
agentType

string

None.

companyCode

string

None.

companyName

string

None.

RefranceID

string

None.

RefranceType

string

None.

RefranceCode

string

None.

FirstName

string

None.

LastName

string

None.

MobileNo

string

None.

EmailID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "agentType": "sample string 1",
  "companyCode": "sample string 2",
  "companyName": "sample string 3",
  "RefranceID": "sample string 4",
  "RefranceType": "sample string 5",
  "RefranceCode": "sample string 6",
  "FirstName": "sample string 7",
  "LastName": "sample string 8",
  "MobileNo": "sample string 9",
  "EmailID": "sample string 10"
}

text/xml

Sample:
<CreateCustomerRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOSApiIntegration.Models">
  <EmailID>sample string 10</EmailID>
  <FirstName>sample string 7</FirstName>
  <LastName>sample string 8</LastName>
  <MobileNo>sample string 9</MobileNo>
  <RefranceCode>sample string 6</RefranceCode>
  <RefranceID>sample string 4</RefranceID>
  <RefranceType>sample string 5</RefranceType>
  <agentType>sample string 1</agentType>
  <companyCode>sample string 2</companyCode>
  <companyName>sample string 3</companyName>
</CreateCustomerRequestModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/xml

Sample:

Sample not available.