POST api/Battery/AddDistributeBatteries

Request Information

URI Parameters

None.

Body Parameters

loginForm
NameDescriptionTypeAdditional information
supId

string

None.

supName

string

None.

supPhone

string

None.

OutNo

string

None.

ContactPhone

string

None.

ContactName

string

None.

Month

integer

None.

strtableData

string

None.

userId

integer

None.

PackageNumber

integer

None.

PackageStartDate

date

None.

PackageEndDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "supId": "sample string 1",
  "supName": "sample string 2",
  "supPhone": "sample string 3",
  "OutNo": "sample string 4",
  "ContactPhone": "sample string 5",
  "ContactName": "sample string 6",
  "Month": 7,
  "strtableData": "sample string 8",
  "userId": 9,
  "PackageNumber": 10,
  "PackageStartDate": "2026-02-21 17:53:39",
  "PackageEndDate": "2026-02-21 17:53:39"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MessageModelOfObject
NameDescriptionTypeAdditional information
state

integer

None.

message

string

None.

body

Object

None.

bodyT2

Object

None.

key

string

None.

dServersFee

decimal number

None.

IsCharge

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "state": 1,
  "message": "sample string 2",
  "body": {},
  "bodyT2": {},
  "key": "sample string 5",
  "dServersFee": 6.0,
  "IsCharge": true
}