POST api/Customer/AddorUpdateCustomer

Request Information

URI Parameters

None.

Body Parameters

CustomerEntities
NameDescriptionTypeAdditional information
Id

integer

None.

CustomerId

string

None.

Name

string

None.

MobileNo

string

None.

Address

string

None.

PinCode

string

None.

EmailId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CustomerId": "sample string 2",
  "Name": "sample string 3",
  "MobileNo": "sample string 4",
  "Address": "sample string 5",
  "PinCode": "sample string 6",
  "EmailId": "sample string 7"
}

text/html

Sample:
{"Id":1,"CustomerId":"sample string 2","Name":"sample string 3","MobileNo":"sample string 4","Address":"sample string 5","PinCode":"sample string 6","EmailId":"sample string 7"}

application/xml, text/xml

Sample:
<CustomerEntities xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Meridukan_API.Entities.Customer">
  <Address>sample string 5</Address>
  <CustomerId>sample string 2</CustomerId>
  <EmailId>sample string 7</EmailId>
  <Id>1</Id>
  <MobileNo>sample string 4</MobileNo>
  <Name>sample string 3</Name>
  <PinCode>sample string 6</PinCode>
</CustomerEntities>

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.