POST api/User/Profile/InvoiceInfo/Personal/Save
Request Information
URI Parameters
None.
Body Parameters
PersonalInvoiceInfoName | Description | Type | Additional information |
---|---|---|---|
NationalId | string |
String length: inclusive between 0 and 11 |
|
AddressLine | string |
String length: inclusive between 0 and 150 |
|
Gsm | string |
String length: inclusive between 0 and 20 |
|
string |
Data type: EmailAddress String length: inclusive between 0 and 320 |
Request Formats
application/json, text/json
Sample:
{ "NationalId": "sample string 1", "AddressLine": "sample string 2", "Gsm": "sample string 3", "Email": "sample string 4" }
application/xml, text/xml
Sample:
<PersonalInvoiceInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ParkJet.Models"> <Email>sample string 4</Email> <Gsm>sample string 3</Gsm> <AddressLine>sample string 2</AddressLine> <NationalId>sample string 1</NationalId> </PersonalInvoiceInfo>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ServiceResponseName | Description | Type | Additional 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>