POST api/Vendor

Request Information

URI Parameters

None.

Body Parameters

Vendor
NameDescriptionTypeAdditional information
Id

integer

None.

Name

string

None.

PhoneNumber

string

None.

AlternatePhoneNumber

string

None.

GSTNumber

string

None.

EmailAddress

string

None.

Status

string

None.

AddressId

integer

None.

IsActive

boolean

None.

AuditId

integer

None.

CreatedBy

integer

None.

LastModifiedBy

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Name": "sample string 2",
  "PhoneNumber": "sample string 3",
  "AlternatePhoneNumber": "sample string 4",
  "GSTNumber": "sample string 5",
  "EmailAddress": "sample string 6",
  "Status": "sample string 7",
  "AddressId": 8,
  "IsActive": true,
  "AuditId": 10,
  "CreatedBy": 11,
  "LastModifiedBy": 1
}

application/xml, text/xml

Sample:
<Vendor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IKimWebService.Domain">
  <CreatedBy>11</CreatedBy>
  <LastModifiedBy>1</LastModifiedBy>
  <AddressId>8</AddressId>
  <AlternatePhoneNumber>sample string 4</AlternatePhoneNumber>
  <AuditId>10</AuditId>
  <EmailAddress>sample string 6</EmailAddress>
  <GSTNumber>sample string 5</GSTNumber>
  <Id>1</Id>
  <IsActive>true</IsActive>
  <Name>sample string 2</Name>
  <PhoneNumber>sample string 3</PhoneNumber>
  <Status>sample string 7</Status>
</Vendor>

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.