POST api/Admin/UpdateCreditDetails

Request Information

URI Parameters

None.

Body Parameters

CustomerModel
NameDescriptionTypeAdditional information
CustomerID

integer

None.

CustomerName

string

None.

CustomerEmail

string

None.

IsActive

boolean

None.

CreatedBy

integer

None.

CreatedDate

date

None.

ModifiedBy

integer

None.

ModifiedDate

date

None.

CustomerTypePL

integer

None.

CustomerLastName

string

None.

Company

string

None.

StreetAddress

string

None.

Suburb

string

None.

State

string

None.

PostCode

string

None.

Country

string

None.

Phone

string

None.

Mobile

string

None.

UserName

string

None.

Password

string

None.

ReciveNewsLetter

boolean

None.

Notes

string

None.

Amount

decimal number

None.

CreditAmount

decimal number

None.

CreditNotes

string

None.

InvoiceId

integer

None.

InvoiceDate

date

None.

InvoiceAccountType

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustomerID": 1,
  "CustomerName": "sample string 2",
  "CustomerEmail": "sample string 3",
  "IsActive": true,
  "CreatedBy": 1,
  "CreatedDate": "2020-02-27T04:45:44.5398306+11:00",
  "ModifiedBy": 1,
  "ModifiedDate": "2020-02-27T04:45:44.5398306+11:00",
  "CustomerTypePL": 1,
  "CustomerLastName": "sample string 4",
  "Company": "sample string 5",
  "StreetAddress": "sample string 6",
  "Suburb": "sample string 7",
  "State": "sample string 8",
  "PostCode": "sample string 9",
  "Country": "sample string 10",
  "Phone": "sample string 11",
  "Mobile": "sample string 12",
  "UserName": "sample string 13",
  "Password": "sample string 14",
  "ReciveNewsLetter": true,
  "Notes": "sample string 15",
  "Amount": 1.0,
  "CreditAmount": 1.0,
  "CreditNotes": "sample string 16",
  "InvoiceId": 17,
  "InvoiceDate": "2020-02-27T04:45:44.5398306+11:00",
  "InvoiceAccountType": 19
}

application/xml, text/xml

Sample:
<CustomerModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TARWebAPI.Models">
  <Amount>1</Amount>
  <Company>sample string 5</Company>
  <Country>sample string 10</Country>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2020-02-27T04:45:44.5398306+11:00</CreatedDate>
  <CreditAmount>1</CreditAmount>
  <CreditNotes>sample string 16</CreditNotes>
  <CustomerEmail>sample string 3</CustomerEmail>
  <CustomerID>1</CustomerID>
  <CustomerLastName>sample string 4</CustomerLastName>
  <CustomerName>sample string 2</CustomerName>
  <CustomerTypePL>1</CustomerTypePL>
  <InvoiceAccountType>19</InvoiceAccountType>
  <InvoiceDate>2020-02-27T04:45:44.5398306+11:00</InvoiceDate>
  <InvoiceId>17</InvoiceId>
  <IsActive>true</IsActive>
  <Mobile>sample string 12</Mobile>
  <ModifiedBy>1</ModifiedBy>
  <ModifiedDate>2020-02-27T04:45:44.5398306+11:00</ModifiedDate>
  <Notes>sample string 15</Notes>
  <Password>sample string 14</Password>
  <Phone>sample string 11</Phone>
  <PostCode>sample string 9</PostCode>
  <ReciveNewsLetter>true</ReciveNewsLetter>
  <State>sample string 8</State>
  <StreetAddress>sample string 6</StreetAddress>
  <Suburb>sample string 7</Suburb>
  <UserName>sample string 13</UserName>
</CustomerModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.