POST api/Zoho/PostGRN
Request Information
URI Parameters
None.
Body Parameters
GRNM| Name | Description | Type | Additional information |
|---|---|---|---|
| supplierd | string |
None. |
|
| id | integer |
None. |
|
| peid | integer |
None. |
|
| yearid | integer |
None. |
|
| rawmaterialid | integer |
None. |
|
| unitid | integer |
None. |
|
| subcid | integer |
None. |
|
| jamaatid | integer |
None. |
|
| strkey | string |
None. |
|
| category | string |
None. |
|
| subcategory | string |
None. |
|
| itemname | string |
None. |
|
| unit | string |
None. |
|
| itemcode | string |
None. |
|
| timestamp | string |
None. |
|
| storeid | integer |
None. |
|
| grnid | integer |
None. |
|
| billno | string |
None. |
|
| supplierid | integer |
None. |
|
| suppliername | string |
None. |
|
| billdate | date |
None. |
|
| warehouse | string |
None. |
|
| contactno | string |
None. |
|
| suppliercode | string |
None. |
|
| grnno | string |
None. |
|
| itemcount | integer |
None. |
|
| billamount | decimal number |
None. |
|
| items | Collection of ItemM |
None. |
|
| itemdescription | string |
None. |
|
| vat | decimal number |
None. |
|
| itemid | integer |
None. |
|
| rate | decimal number |
None. |
|
| quantity | decimal number |
None. |
|
| vatamount | decimal number |
None. |
|
| totalamount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"supplierd": "sample string 1",
"id": 1,
"peid": 1,
"yearid": 1,
"rawmaterialid": 1,
"unitid": 1,
"subcid": 1,
"jamaatid": 1,
"strkey": "sample string 2",
"category": "sample string 3",
"subcategory": "sample string 4",
"itemname": "sample string 5",
"unit": "sample string 6",
"itemcode": "sample string 7",
"timestamp": "sample string 8",
"storeid": 1,
"grnid": 1,
"billno": "sample string 9",
"supplierid": 1,
"suppliername": "sample string 10",
"billdate": "2026-10-13T04:58:11.5692005+05:30",
"warehouse": "sample string 11",
"contactno": "sample string 12",
"suppliercode": "sample string 13",
"grnno": "sample string 14",
"itemcount": 1,
"billamount": 15.0,
"items": [
{
"itemdescription": "sample string 1",
"itemcode": "sample string 2",
"itemname": "sample string 3",
"vat": 1.0,
"itemid": 1,
"rate": 4.0,
"quantity": 1.0,
"vatamount": 5.0,
"totalamount": 6.0
},
{
"itemdescription": "sample string 1",
"itemcode": "sample string 2",
"itemname": "sample string 3",
"vat": 1.0,
"itemid": 1,
"rate": 4.0,
"quantity": 1.0,
"vatamount": 5.0,
"totalamount": 6.0
}
],
"itemdescription": "sample string 16",
"vat": 1.0,
"itemid": 1,
"rate": 17.0,
"quantity": 1.0,
"vatamount": 18.0,
"totalamount": 19.0
}
application/xml, text/xml
Sample:
<GRNM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JamaatAPI.Models">
<itemcode i:nil="true" />
<itemdescription>sample string 16</itemdescription>
<itemid>1</itemid>
<itemname i:nil="true" />
<quantity>1</quantity>
<rate>17</rate>
<totalamount>19</totalamount>
<vat>1</vat>
<vatamount>18</vatamount>
<billamount>15</billamount>
<billdate>2026-10-13T04:58:11.5692005+05:30</billdate>
<billno>sample string 9</billno>
<category>sample string 3</category>
<contactno>sample string 12</contactno>
<grnid>1</grnid>
<grnno>sample string 14</grnno>
<id>1</id>
<itemcode>sample string 7</itemcode>
<itemcount>1</itemcount>
<itemname>sample string 5</itemname>
<items>
<ItemM>
<itemcode>sample string 2</itemcode>
<itemdescription>sample string 1</itemdescription>
<itemid>1</itemid>
<itemname>sample string 3</itemname>
<quantity>1</quantity>
<rate>4</rate>
<totalamount>6</totalamount>
<vat>1</vat>
<vatamount>5</vatamount>
</ItemM>
<ItemM>
<itemcode>sample string 2</itemcode>
<itemdescription>sample string 1</itemdescription>
<itemid>1</itemid>
<itemname>sample string 3</itemname>
<quantity>1</quantity>
<rate>4</rate>
<totalamount>6</totalamount>
<vat>1</vat>
<vatamount>5</vatamount>
</ItemM>
</items>
<jamaatid>1</jamaatid>
<peid>1</peid>
<rawmaterialid>1</rawmaterialid>
<storeid>1</storeid>
<strkey>sample string 2</strkey>
<subcategory>sample string 4</subcategory>
<subcid>1</subcid>
<suppliercode>sample string 13</suppliercode>
<supplierd>sample string 1</supplierd>
<supplierid>1</supplierid>
<suppliername>sample string 10</suppliername>
<timestamp>sample string 8</timestamp>
<unit>sample string 6</unit>
<unitid>1</unitid>
<warehouse>sample string 11</warehouse>
<yearid>1</yearid>
</GRNM>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
GRN| Name | Description | Type | Additional information |
|---|---|---|---|
| GRNNo | string |
None. |
|
| IItemCount | integer |
None. |
|
| Message | string |
None. |
|
| Status | integer |
None. |
|
| TimeStamp | string |
None. |
|
| ItemCode | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"GRNNo": "sample string 1",
"IItemCount": 2,
"Message": "sample string 3",
"Status": 4,
"TimeStamp": "sample string 5",
"ItemCode": "sample string 6"
}
application/xml, text/xml
Sample:
<GRN xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/JamaatAPI.Models"> <GRNNo>sample string 1</GRNNo> <IItemCount>2</IItemCount> <ItemCode>sample string 6</ItemCode> <Message>sample string 3</Message> <Status>4</Status> <TimeStamp>sample string 5</TimeStamp> </GRN>