POST api/TrInventory/GenerateNewRequest

Request Information

Parameters

NameDescriptionAdditional information
bookRequestModel

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
[
  {
    "TrasferRequestID": 1,
    "InventoryType": 2,
    "GodownID": 3,
    "FromOwner": 4,
    "FromUser": 5,
    "ToOwner": 6,
    "ToUser": 7,
    "AvlQty": 8,
    "BookID": 9,
    "Version": 10,
    "ItemCount": 11,
    "Description": "sample string 12",
    "ReqDate": "2025-06-16T19:28:30.5741861+05:30",
    "IsActive": "sample string 14",
    "IsChecked": true
  },
  {
    "TrasferRequestID": 1,
    "InventoryType": 2,
    "GodownID": 3,
    "FromOwner": 4,
    "FromUser": 5,
    "ToOwner": 6,
    "ToUser": 7,
    "AvlQty": 8,
    "BookID": 9,
    "Version": 10,
    "ItemCount": 11,
    "Description": "sample string 12",
    "ReqDate": "2025-06-16T19:28:30.5741861+05:30",
    "IsActive": "sample string 14",
    "IsChecked": true
  },
  {
    "TrasferRequestID": 1,
    "InventoryType": 2,
    "GodownID": 3,
    "FromOwner": 4,
    "FromUser": 5,
    "ToOwner": 6,
    "ToUser": 7,
    "AvlQty": 8,
    "BookID": 9,
    "Version": 10,
    "ItemCount": 11,
    "Description": "sample string 12",
    "ReqDate": "2025-06-16T19:28:30.5741861+05:30",
    "IsActive": "sample string 14",
    "IsChecked": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfBookRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/crmData.Models">
  <BookRequestModel>
    <AvlQty>8</AvlQty>
    <BookID>9</BookID>
    <Description>sample string 12</Description>
    <FromOwner>4</FromOwner>
    <FromUser>5</FromUser>
    <GodownID>3</GodownID>
    <InventoryType>2</InventoryType>
    <IsActive>sample string 14</IsActive>
    <IsChecked>true</IsChecked>
    <ItemCount>11</ItemCount>
    <ReqDate>2025-06-16T19:28:30.5741861+05:30</ReqDate>
    <ToOwner>6</ToOwner>
    <ToUser>7</ToUser>
    <TrasferRequestID>1</TrasferRequestID>
    <Version>10</Version>
  </BookRequestModel>
  <BookRequestModel>
    <AvlQty>8</AvlQty>
    <BookID>9</BookID>
    <Description>sample string 12</Description>
    <FromOwner>4</FromOwner>
    <FromUser>5</FromUser>
    <GodownID>3</GodownID>
    <InventoryType>2</InventoryType>
    <IsActive>sample string 14</IsActive>
    <IsChecked>true</IsChecked>
    <ItemCount>11</ItemCount>
    <ReqDate>2025-06-16T19:28:30.5741861+05:30</ReqDate>
    <ToOwner>6</ToOwner>
    <ToUser>7</ToUser>
    <TrasferRequestID>1</TrasferRequestID>
    <Version>10</Version>
  </BookRequestModel>
  <BookRequestModel>
    <AvlQty>8</AvlQty>
    <BookID>9</BookID>
    <Description>sample string 12</Description>
    <FromOwner>4</FromOwner>
    <FromUser>5</FromUser>
    <GodownID>3</GodownID>
    <InventoryType>2</InventoryType>
    <IsActive>sample string 14</IsActive>
    <IsChecked>true</IsChecked>
    <ItemCount>11</ItemCount>
    <ReqDate>2025-06-16T19:28:30.5741861+05:30</ReqDate>
    <ToOwner>6</ToOwner>
    <ToUser>7</ToUser>
    <TrasferRequestID>1</TrasferRequestID>
    <Version>10</Version>
  </BookRequestModel>
</ArrayOfBookRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.