POST api/STMBenefitEmployee
Request Information
URI Parameters
None.
Body Parameters
STMBenefitEmployeeNew| Name | Description | Type | Additional information |
|---|---|---|---|
| StmBenefitId | integer |
None. |
|
| EmployeeId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"StmBenefitId": 1,
"EmployeeId": 2
}
text/html
Sample:
{"StmBenefitId":1,"EmployeeId":2}
application/xml, text/xml
Sample:
<STMBenefitEmployeeNew xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TTMWM_MECLAIM_API.ViewModels"> <EmployeeId>2</EmployeeId> <StmBenefitId>1</StmBenefitId> </STMBenefitEmployeeNew>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ServiceResultTypedOfObject| Name | Description | Type | Additional information |
|---|---|---|---|
| Code | integer |
None. |
|
| Errors | Collection of string |
None. |
|
| Data | Object |
None. |
Response Formats
application/json, text/json
Sample:
{
"Code": 1,
"Errors": [
"sample string 1",
"sample string 2"
],
"Data": {}
}
text/html
Sample:
{"Code":1,"Errors":["sample string 1","sample string 2"],"Data":{}}
application/xml, text/xml
Sample:
<ServiceResultTypedOfanyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LSW.Common.Models">
<Code>1</Code>
<Data />
<Errors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Errors>
</ServiceResultTypedOfanyType>