POST api/create/customer

Request Information

URI Parameters

None.

Body Parameters

CreateCustomer
NameDescriptionTypeAdditional information
CustomerName

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

State

string

None.

Country

string

None.

Postcode

string

None.

Cont1Name

string

None.

Cont1Email

string

None.

Cont1Phone

string

None.

Cont2Name

string

None.

Cont2Email

string

None.

Cont2Phone

string

None.

CreatedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerName": "sample string 1",
  "Address1": "sample string 2",
  "Address2": "sample string 3",
  "City": "sample string 4",
  "State": "sample string 5",
  "Country": "sample string 6",
  "Postcode": "sample string 7",
  "Cont1Name": "sample string 8",
  "Cont1Email": "sample string 9",
  "Cont1Phone": "sample string 10",
  "Cont2Name": "sample string 11",
  "Cont2Email": "sample string 12",
  "Cont2Phone": "sample string 13",
  "CreatedBy": 14
}

application/xml, text/xml

Sample:
<CreateCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/working_sample_mvc_api.Models">
  <Address1>sample string 2</Address1>
  <Address2>sample string 3</Address2>
  <City>sample string 4</City>
  <Cont1Email>sample string 9</Cont1Email>
  <Cont1Name>sample string 8</Cont1Name>
  <Cont1Phone>sample string 10</Cont1Phone>
  <Cont2Email>sample string 12</Cont2Email>
  <Cont2Name>sample string 11</Cont2Name>
  <Cont2Phone>sample string 13</Cont2Phone>
  <Country>sample string 6</Country>
  <CreatedBy>14</CreatedBy>
  <CustomerName>sample string 1</CustomerName>
  <Postcode>sample string 7</Postcode>
  <State>sample string 5</State>
</CreateCustomer>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.