POST api/Empresas/updateStatusTarifas
Request Information
URI Parameters
None.
Body Parameters
objUpdateStatusTarifasName | Description | Type | Additional information |
---|---|---|---|
tarifasID | Collection of integer |
None. |
|
status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "tarifasID": [ 1, 2 ], "status": 1 }
application/xml, text/xml
Sample:
<objUpdateStatusTarifas xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models"> <status>1</status> <tarifasID xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays"> <d2p1:int>1</d2p1:int> <d2p1:int>2</d2p1:int> </tarifasID> </objUpdateStatusTarifas>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
defaultResponseName | Description | Type | Additional information |
---|---|---|---|
status | integer |
None. |
|
message | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "status": 1, "message": "sample string 2" }
application/xml, text/xml
Sample:
<defaultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EXPU_Backend.Models"> <message>sample string 2</message> <status>1</status> </defaultResponse>