POST api/customfield/bill/{billId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
billId

integer

Required

Body Parameters

Collection of CustomValueBillEntity
NameDescriptionTypeAdditional information
CustomValueBillId

integer

None.

CreatedTime

date

None.

CustomFieldValue

string

None.

VendorId

integer

None.

CustomerId

integer

None.

BillId

integer

None.

CustomFieldId

integer

None.

ProductId

integer

None.

IncludeInInvoice

boolean

None.

CustomFieldName

string

None.

AutoRemoveOnBill

boolean

None.

ItemOrderNumber

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "CustomValueBillId": 1,
    "CreatedTime": "2025-12-31T16:38:41.2684657+05:30",
    "CustomFieldValue": "sample string 3",
    "VendorId": 4,
    "CustomerId": 5,
    "BillId": 6,
    "CustomFieldId": 7,
    "ProductId": 8,
    "IncludeInInvoice": true,
    "CustomFieldName": "sample string 10",
    "AutoRemoveOnBill": true,
    "ItemOrderNumber": 12
  },
  {
    "CustomValueBillId": 1,
    "CreatedTime": "2025-12-31T16:38:41.2684657+05:30",
    "CustomFieldValue": "sample string 3",
    "VendorId": 4,
    "CustomerId": 5,
    "BillId": 6,
    "CustomFieldId": 7,
    "ProductId": 8,
    "IncludeInInvoice": true,
    "CustomFieldName": "sample string 10",
    "AutoRemoveOnBill": true,
    "ItemOrderNumber": 12
  }
]

application/xml, text/xml

Sample:
<ArrayOfCustomValueBillEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities">
  <CustomValueBillEntity>
    <AutoRemoveOnBill>true</AutoRemoveOnBill>
    <BillId>6</BillId>
    <CreatedTime>2025-12-31T16:38:41.2684657+05:30</CreatedTime>
    <CustomFieldId>7</CustomFieldId>
    <CustomFieldName>sample string 10</CustomFieldName>
    <CustomFieldValue>sample string 3</CustomFieldValue>
    <CustomValueBillId>1</CustomValueBillId>
    <CustomerId>5</CustomerId>
    <IncludeInInvoice>true</IncludeInInvoice>
    <ItemOrderNumber>12</ItemOrderNumber>
    <ProductId>8</ProductId>
    <VendorId>4</VendorId>
  </CustomValueBillEntity>
  <CustomValueBillEntity>
    <AutoRemoveOnBill>true</AutoRemoveOnBill>
    <BillId>6</BillId>
    <CreatedTime>2025-12-31T16:38:41.2684657+05:30</CreatedTime>
    <CustomFieldId>7</CustomFieldId>
    <CustomFieldName>sample string 10</CustomFieldName>
    <CustomFieldValue>sample string 3</CustomFieldValue>
    <CustomValueBillId>1</CustomValueBillId>
    <CustomerId>5</CustomerId>
    <IncludeInInvoice>true</IncludeInInvoice>
    <ItemOrderNumber>12</ItemOrderNumber>
    <ProductId>8</ProductId>
    <VendorId>4</VendorId>
  </CustomValueBillEntity>
</ArrayOfCustomValueBillEntity>

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.