POST api/BeatApi/Post_beat_for_save_update
Request Information
URI Parameters
None.
Body Parameters
clsBeatName | Description | Type | Additional information |
---|---|---|---|
BeatId | string |
None. |
|
BeatName | string |
None. |
|
BeatCode | string |
None. |
|
Distance | string |
None. |
|
Status | boolean |
None. |
|
BeatStatus | boolean |
None. |
|
Database | string |
None. |
|
Compcode | string |
None. |
|
EventType | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "BeatId": "sample string 1", "BeatName": "sample string 2", "BeatCode": "sample string 3", "Distance": "sample string 4", "Status": true, "BeatStatus": true, "Database": "sample string 7", "Compcode": "sample string 8", "EventType": "sample string 9" }
application/xml, text/xml
Sample:
<clsBeat xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_"> <BeatCode>sample string 3</BeatCode> <BeatId>sample string 1</BeatId> <BeatName>sample string 2</BeatName> <BeatStatus>true</BeatStatus> <Compcode>sample string 8</Compcode> <Database>sample string 7</Database> <Distance>sample string 4</Distance> <EventType>sample string 9</EventType> <Status>true</Status> </clsBeat>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ApiResponseName | Description | Type | Additional information |
---|---|---|---|
status | boolean |
None. |
|
statuscode | HttpStatusCode |
None. |
|
title | string |
None. |
|
message | string |
None. |
|
data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": true, "statuscode": 100, "title": "sample string 2", "message": "sample string 3", "data": {} }
application/xml, text/xml
Sample:
<ApiResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BOL_Business_Objects_Layer_"> <data /> <message>sample string 3</message> <status>true</status> <statuscode>Continue</statuscode> <title>sample string 2</title> </ApiResponse>