POST api/BanasAIHRApi/AnimalMovementInsUpd

Request Information

URI Parameters

None.

Body Parameters

AnimalMovementViewModel
NameDescriptionTypeAdditional information
TagNo

string

None.

MovementId

integer

None.

MovementType

string

None.

FromStation

integer

None.

FromShed

integer

None.

FromCellNo

integer

None.

ToStation

integer

None.

ToShed

integer

None.

ToCellNo

integer

None.

FromGirth

decimal number

None.

FromLength

decimal number

None.

FromWeight

decimal number

None.

FromBCS

integer

None.

LoadingDate

date

None.

VehicleRegisterNumber

string

None.

ToGirth

decimal number

None.

ToLength

decimal number

None.

ToWeight

decimal number

None.

ToBCS

integer

None.

UnloadingDate

date

None.

Feedback

string

None.

CreateDate

date

None.

CreateUser

string

None.

RecieveDate

date

None.

RecieveUser

string

None.

UpdateDate

date

None.

UpdateUser

string

None.

action

string

None.

MoveList

Collection of BanasAIHR_AnimalMovementRtr_Result

None.

Request Formats

application/json, text/json

Sample:
{
  "TagNo": "sample string 1",
  "MovementId": 2,
  "MovementType": "sample string 3",
  "FromStation": 4,
  "FromShed": 5,
  "FromCellNo": 6,
  "ToStation": 7,
  "ToShed": 8,
  "ToCellNo": 9,
  "FromGirth": 10.0,
  "FromLength": 11.0,
  "FromWeight": 12.0,
  "FromBCS": 13,
  "LoadingDate": "2026-08-02T19:31:50.6601803+05:30",
  "VehicleRegisterNumber": "sample string 14",
  "ToGirth": 15.0,
  "ToLength": 16.0,
  "ToWeight": 17.0,
  "ToBCS": 18,
  "UnloadingDate": "2026-08-02T19:31:50.6601803+05:30",
  "Feedback": "sample string 20",
  "CreateDate": "2026-08-02T19:31:50.6601803+05:30",
  "CreateUser": "sample string 21",
  "RecieveDate": "2026-08-02T19:31:50.6601803+05:30",
  "RecieveUser": "sample string 23",
  "UpdateDate": "2026-08-02T19:31:50.6601803+05:30",
  "UpdateUser": "sample string 25",
  "action": "sample string 26",
  "MoveList": [
    {
      "MovementId": 1,
      "TagNo": "sample string 2",
      "MovementType": "sample string 3",
      "FromStation": 4,
      "FromShed": 5,
      "FromCellNo": 6,
      "ToStation": 1,
      "ToShed": 1,
      "ToCellNo": 1,
      "FromGirth": 1.0,
      "FromLength": 1.0,
      "FromWeight": 1.0,
      "FromBCS": 1,
      "LoadingDate": "sample string 7",
      "VehicleRegisterNumber": "sample string 8",
      "ToGirth": 1.0,
      "ToLength": 1.0,
      "ToWeight": 1.0,
      "ToBCS": 1,
      "UnloadingDate": "sample string 9",
      "Feedback": "sample string 10",
      "CreateDate": "sample string 11",
      "CreateUser": "sample string 12",
      "RecieveDate": "sample string 13",
      "RecieveUser": "sample string 14",
      "UpdateUser": "sample string 15",
      "UpdateDate": "sample string 16",
      "FromShedName": "sample string 17",
      "ToShedName": "sample string 18",
      "FromStationName": "sample string 19",
      "ToStationName": "sample string 20"
    },
    {
      "MovementId": 1,
      "TagNo": "sample string 2",
      "MovementType": "sample string 3",
      "FromStation": 4,
      "FromShed": 5,
      "FromCellNo": 6,
      "ToStation": 1,
      "ToShed": 1,
      "ToCellNo": 1,
      "FromGirth": 1.0,
      "FromLength": 1.0,
      "FromWeight": 1.0,
      "FromBCS": 1,
      "LoadingDate": "sample string 7",
      "VehicleRegisterNumber": "sample string 8",
      "ToGirth": 1.0,
      "ToLength": 1.0,
      "ToWeight": 1.0,
      "ToBCS": 1,
      "UnloadingDate": "sample string 9",
      "Feedback": "sample string 10",
      "CreateDate": "sample string 11",
      "CreateUser": "sample string 12",
      "RecieveDate": "sample string 13",
      "RecieveUser": "sample string 14",
      "UpdateUser": "sample string 15",
      "UpdateDate": "sample string 16",
      "FromShedName": "sample string 17",
      "ToShedName": "sample string 18",
      "FromStationName": "sample string 19",
      "ToStationName": "sample string 20"
    }
  ]
}

application/xml, text/xml

Sample:
<AnimalMovementViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BanasAIHRViewModel.AnimalActivity">
  <CreateDate>2026-08-02T19:31:50.6601803+05:30</CreateDate>
  <CreateUser>sample string 21</CreateUser>
  <Feedback>sample string 20</Feedback>
  <FromBCS>13</FromBCS>
  <FromCellNo>6</FromCellNo>
  <FromGirth>10</FromGirth>
  <FromLength>11</FromLength>
  <FromShed>5</FromShed>
  <FromStation>4</FromStation>
  <FromWeight>12</FromWeight>
  <LoadingDate>2026-08-02T19:31:50.6601803+05:30</LoadingDate>
  <MoveList xmlns:d2p1="http://schemas.datacontract.org/2004/07/BanasAIHRdb">
    <d2p1:BanasAIHR_AnimalMovementRtr_Result>
      <d2p1:CreateDate>sample string 11</d2p1:CreateDate>
      <d2p1:CreateUser>sample string 12</d2p1:CreateUser>
      <d2p1:Feedback>sample string 10</d2p1:Feedback>
      <d2p1:FromBCS>1</d2p1:FromBCS>
      <d2p1:FromCellNo>6</d2p1:FromCellNo>
      <d2p1:FromGirth>1</d2p1:FromGirth>
      <d2p1:FromLength>1</d2p1:FromLength>
      <d2p1:FromShed>5</d2p1:FromShed>
      <d2p1:FromShedName>sample string 17</d2p1:FromShedName>
      <d2p1:FromStation>4</d2p1:FromStation>
      <d2p1:FromStationName>sample string 19</d2p1:FromStationName>
      <d2p1:FromWeight>1</d2p1:FromWeight>
      <d2p1:LoadingDate>sample string 7</d2p1:LoadingDate>
      <d2p1:MovementId>1</d2p1:MovementId>
      <d2p1:MovementType>sample string 3</d2p1:MovementType>
      <d2p1:RecieveDate>sample string 13</d2p1:RecieveDate>
      <d2p1:RecieveUser>sample string 14</d2p1:RecieveUser>
      <d2p1:TagNo>sample string 2</d2p1:TagNo>
      <d2p1:ToBCS>1</d2p1:ToBCS>
      <d2p1:ToCellNo>1</d2p1:ToCellNo>
      <d2p1:ToGirth>1</d2p1:ToGirth>
      <d2p1:ToLength>1</d2p1:ToLength>
      <d2p1:ToShed>1</d2p1:ToShed>
      <d2p1:ToShedName>sample string 18</d2p1:ToShedName>
      <d2p1:ToStation>1</d2p1:ToStation>
      <d2p1:ToStationName>sample string 20</d2p1:ToStationName>
      <d2p1:ToWeight>1</d2p1:ToWeight>
      <d2p1:UnloadingDate>sample string 9</d2p1:UnloadingDate>
      <d2p1:UpdateDate>sample string 16</d2p1:UpdateDate>
      <d2p1:UpdateUser>sample string 15</d2p1:UpdateUser>
      <d2p1:VehicleRegisterNumber>sample string 8</d2p1:VehicleRegisterNumber>
    </d2p1:BanasAIHR_AnimalMovementRtr_Result>
    <d2p1:BanasAIHR_AnimalMovementRtr_Result>
      <d2p1:CreateDate>sample string 11</d2p1:CreateDate>
      <d2p1:CreateUser>sample string 12</d2p1:CreateUser>
      <d2p1:Feedback>sample string 10</d2p1:Feedback>
      <d2p1:FromBCS>1</d2p1:FromBCS>
      <d2p1:FromCellNo>6</d2p1:FromCellNo>
      <d2p1:FromGirth>1</d2p1:FromGirth>
      <d2p1:FromLength>1</d2p1:FromLength>
      <d2p1:FromShed>5</d2p1:FromShed>
      <d2p1:FromShedName>sample string 17</d2p1:FromShedName>
      <d2p1:FromStation>4</d2p1:FromStation>
      <d2p1:FromStationName>sample string 19</d2p1:FromStationName>
      <d2p1:FromWeight>1</d2p1:FromWeight>
      <d2p1:LoadingDate>sample string 7</d2p1:LoadingDate>
      <d2p1:MovementId>1</d2p1:MovementId>
      <d2p1:MovementType>sample string 3</d2p1:MovementType>
      <d2p1:RecieveDate>sample string 13</d2p1:RecieveDate>
      <d2p1:RecieveUser>sample string 14</d2p1:RecieveUser>
      <d2p1:TagNo>sample string 2</d2p1:TagNo>
      <d2p1:ToBCS>1</d2p1:ToBCS>
      <d2p1:ToCellNo>1</d2p1:ToCellNo>
      <d2p1:ToGirth>1</d2p1:ToGirth>
      <d2p1:ToLength>1</d2p1:ToLength>
      <d2p1:ToShed>1</d2p1:ToShed>
      <d2p1:ToShedName>sample string 18</d2p1:ToShedName>
      <d2p1:ToStation>1</d2p1:ToStation>
      <d2p1:ToStationName>sample string 20</d2p1:ToStationName>
      <d2p1:ToWeight>1</d2p1:ToWeight>
      <d2p1:UnloadingDate>sample string 9</d2p1:UnloadingDate>
      <d2p1:UpdateDate>sample string 16</d2p1:UpdateDate>
      <d2p1:UpdateUser>sample string 15</d2p1:UpdateUser>
      <d2p1:VehicleRegisterNumber>sample string 8</d2p1:VehicleRegisterNumber>
    </d2p1:BanasAIHR_AnimalMovementRtr_Result>
  </MoveList>
  <MovementId>2</MovementId>
  <MovementType>sample string 3</MovementType>
  <RecieveDate>2026-08-02T19:31:50.6601803+05:30</RecieveDate>
  <RecieveUser>sample string 23</RecieveUser>
  <TagNo>sample string 1</TagNo>
  <ToBCS>18</ToBCS>
  <ToCellNo>9</ToCellNo>
  <ToGirth>15</ToGirth>
  <ToLength>16</ToLength>
  <ToShed>8</ToShed>
  <ToStation>7</ToStation>
  <ToWeight>17</ToWeight>
  <UnloadingDate>2026-08-02T19:31:50.6601803+05:30</UnloadingDate>
  <UpdateDate>2026-08-02T19:31:50.6601803+05:30</UpdateDate>
  <UpdateUser>sample string 25</UpdateUser>
  <VehicleRegisterNumber>sample string 14</VehicleRegisterNumber>
  <action>sample string 26</action>
</AnimalMovementViewModel>

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.