POST api/User/Profile/InvoiceInfo/Business/Save

Request Information

URI Parameters

None.

Body Parameters

BusinessInvoiceInfo
NameDescriptionTypeAdditional information
CompanyName

string

String length: inclusive between 0 and 100

AddressLine

string

String length: inclusive between 0 and 150

TaxNumber

string

String length: inclusive between 0 and 20

TaxBranch

string

String length: inclusive between 0 and 40

PhoneNumber

string

String length: inclusive between 0 and 20

AuthorizedPerson

string

String length: inclusive between 0 and 50

Gsm

string

String length: inclusive between 0 and 20

Email

string

Data type: EmailAddress

String length: inclusive between 0 and 320

Request Formats

application/json, text/json

Sample:
{
  "CompanyName": "sample string 1",
  "AddressLine": "sample string 2",
  "TaxNumber": "sample string 3",
  "TaxBranch": "sample string 4",
  "PhoneNumber": "sample string 5",
  "AuthorizedPerson": "sample string 6",
  "Gsm": "sample string 7",
  "Email": "sample string 8"
}

application/xml, text/xml

Sample:
<BusinessInvoiceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models">
  <Email>sample string 8</Email>
  <Gsm>sample string 7</Gsm>
  <AddressLine>sample string 2</AddressLine>
  <AuthorizedPerson>sample string 6</AuthorizedPerson>
  <CompanyName>sample string 1</CompanyName>
  <PhoneNumber>sample string 5</PhoneNumber>
  <TaxBranch>sample string 4</TaxBranch>
  <TaxNumber>sample string 3</TaxNumber>
</BusinessInvoiceInfo>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BusinessInvoiceInfo'.

Response Information

Resource Description

ServiceResponse
NameDescriptionTypeAdditional information
Success

boolean

None.

MessageId

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "MessageId": 899,
  "Message": "\r\n",
  "Data": {}
}

application/xml, text/xml

Sample:
<ServiceResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Services.Response">
  <MessageLog xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string></d2p1:string>
    <d2p1:string></d2p1:string>
  </MessageLog>
</ServiceResponse>