POST api/WPS/RegisterWPSCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerRegistration
NameDescriptionTypeAdditional information
establishmentId

string

None.

customerType

string

None.

isNonWPSCustomer

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "establishmentId": "sample string 1",
  "customerType": "sample string 2",
  "isNonWPSCustomer": true
}

application/xml, text/xml

Sample:
<CustomerRegistration xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <customerType>sample string 2</customerType>
  <establishmentId>sample string 1</establishmentId>
  <isNonWPSCustomer>true</isNonWPSCustomer>
</CustomerRegistration>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

RequestResponse
NameDescriptionTypeAdditional information
success

boolean

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "success": true,
  "message": "sample string 2"
}

application/xml, text/xml

Sample:
<RequestResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PromptTech.CRM.CustomerApp.Models">
  <message>sample string 2</message>
  <success>true</success>
</RequestResponse>