POST api/ItemMasterCreditorBasic/AddCreditorBasic

Request Information

URI Parameters

None.

Body Parameters

ItemMasterCreditorBasic
NameDescriptionTypeAdditional information
ItemMasterCreditorBasicId

integer

None.

CreditorCategoryId

integer

None.

CompId

integer

None.

BranchId

integer

None.

ItemMasterCreditorName

string

None.

Address1

string

None.

Address2

string

None.

ContactNo

string

None.

Email

string

None.

GstNo

string

None.

OperationType

string

None.

IsActive

integer

None.

CreatedBy

integer

None.

CreatedDateTime

string

None.

MachineIP

string

None.

RID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ItemMasterCreditorBasicId": 1,
  "CreditorCategoryId": 2,
  "CompId": 3,
  "BranchId": 4,
  "ItemMasterCreditorName": "sample string 5",
  "Address1": "sample string 6",
  "Address2": "sample string 7",
  "ContactNo": "sample string 8",
  "Email": "sample string 9",
  "GstNo": "sample string 10",
  "OperationType": "sample string 11",
  "IsActive": 12,
  "CreatedBy": 13,
  "CreatedDateTime": "sample string 14",
  "MachineIP": "sample string 15",
  "RID": "sample string 16"
}

application/xml, text/xml

Sample:
<ItemMasterCreditorBasic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INTEGRAFFAPI.Models">
  <Address1>sample string 6</Address1>
  <Address2>sample string 7</Address2>
  <BranchId>4</BranchId>
  <CompId>3</CompId>
  <ContactNo>sample string 8</ContactNo>
  <CreatedBy>13</CreatedBy>
  <CreatedDateTime>sample string 14</CreatedDateTime>
  <CreditorCategoryId>2</CreditorCategoryId>
  <Email>sample string 9</Email>
  <GstNo>sample string 10</GstNo>
  <IsActive>12</IsActive>
  <ItemMasterCreditorBasicId>1</ItemMasterCreditorBasicId>
  <ItemMasterCreditorName>sample string 5</ItemMasterCreditorName>
  <MachineIP>sample string 15</MachineIP>
  <OperationType>sample string 11</OperationType>
  <RID>sample string 16</RID>
</ItemMasterCreditorBasic>

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

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.