POST api/EmpBasic/MethodOfPayment/{employeeNo}

Update employee's method of payment

Request Information

URI Parameters

NameDescriptionTypeAdditional information
employeeNo

Employee Number

string

Required

Body Parameters

In request Body: Employee Basic detail

EmpBasicDetail
NameDescriptionTypeAdditional information
EmailAddress

string

None.

MethodOfPayment

Cash, BACS, Cheque

string

None.

Request Formats

application/json, text/json

Sample:
{
    "EmailAddress": "example@example.com",
    "MethodOfPayment": "Cash"
}

application/xml, text/xml

Sample:
<EmpBasicDetail>
    <EmailAddress>example@example.com</EmailAddress>
    <MethodOfPayment>Cash</MethodOfPayment>
</EmpBasicDetail>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Result

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.