POST api/PCXMLProspectiveCustomer/AddPCXMLProspectiveCustomer
Request Information
URI Parameters
None.
Body Parameters
PCXMLProspectiveCustomerName | Description | Type | Additional information |
---|---|---|---|
CCCD | string |
None. |
|
ProspectiveCustomerID | integer |
None. |
|
ProspectiveCustomerTypeID | integer |
None. |
|
BusinessID | integer |
None. |
|
AccountID | integer |
None. |
|
StatusID | integer |
None. |
|
DisplayName | string |
None. |
|
Description | string |
None. |
|
Telephone1 | string |
None. |
|
Telephone2 | string |
None. |
|
Fax | string |
None. |
|
Mobile | string |
None. |
|
URLAddress | string |
None. |
|
Industry | integer |
None. |
|
Specialize | integer |
None. |
|
Status | string |
None. |
|
LastUpdateDate | date |
None. |
|
ProspectiveCustomerAddress | Collection of PCXMLProspectiveCustomerAddress |
None. |
|
ProspectiveCustomerAddressHistory | Collection of PCXMLProspectiveCustomerAddressHistory |
None. |
|
ProspectiveCustomerHistory | Collection of PCXMLProspectiveCustomerHistory |
None. |
|
ProspectiveCustomerInfo | Collection of PCXMLProspectiveCustomerInfo |
None. |
|
ProspectiveCustomerInfoHistory | Collection of PCXMLProspectiveCustomerInfoHistory |
None. |
Request Formats
application/json, text/json
Sample:
{ "CCCD": "sample string 1", "ProspectiveCustomerID": 2, "ProspectiveCustomerTypeID": 3, "BusinessID": 4, "AccountID": 5, "StatusID": 6, "DisplayName": "sample string 7", "Description": "sample string 8", "Telephone1": "sample string 9", "Telephone2": "sample string 10", "Fax": "sample string 11", "Mobile": "sample string 12", "URLAddress": "sample string 13", "Industry": 14, "Specialize": 15, "Status": "sample string 16", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30", "ProspectiveCustomerAddress": [ { "CCCD": "sample string 1", "ProspectiveCustomerAddressID": 2, "ProspectiveCustomerID": 3, "AddressType": "sample string 4", "Address1": "sample string 5", "Address2": "sample string 6", "CityName": "sample string 7", "State": "sample string 8", "CountryID": 9, "ZipCode": "sample string 10", "Status": "sample string 11", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" }, { "CCCD": "sample string 1", "ProspectiveCustomerAddressID": 2, "ProspectiveCustomerID": 3, "AddressType": "sample string 4", "Address1": "sample string 5", "Address2": "sample string 6", "CityName": "sample string 7", "State": "sample string 8", "CountryID": 9, "ZipCode": "sample string 10", "Status": "sample string 11", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" } ], "ProspectiveCustomerAddressHistory": [ { "CCCD": "sample string 1", "ProspectiveCustomerAddressHistoryID": 2, "ProspectiveCustomerAddressID": 3, "ProspectiveCustomerID": 4, "AddressType": "sample string 5", "Address1": "sample string 6", "Address2": "sample string 7", "CityName": "sample string 8", "State": "sample string 9", "CountryID": 10, "ZipCode": "sample string 11", "Status": "sample string 12", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" }, { "CCCD": "sample string 1", "ProspectiveCustomerAddressHistoryID": 2, "ProspectiveCustomerAddressID": 3, "ProspectiveCustomerID": 4, "AddressType": "sample string 5", "Address1": "sample string 6", "Address2": "sample string 7", "CityName": "sample string 8", "State": "sample string 9", "CountryID": 10, "ZipCode": "sample string 11", "Status": "sample string 12", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" } ], "ProspectiveCustomerHistory": [ { "CCCD": "sample string 1", "ProspectiveCustomerHistoryID": 2, "ProspectiveCustomerID": 3, "ProspectiveCustomerTypeID": 4, "BusinessID": 5, "AccountID": 6, "StatusID": 7, "DisplayName": "sample string 8", "Description": "sample string 9", "Telephone1": "sample string 10", "Telephone2": "sample string 11", "Fax": "sample string 12", "Mobile": "sample string 13", "URLAddress": "sample string 14", "Industry": 15, "Specialize": 16, "Status": "sample string 17", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" }, { "CCCD": "sample string 1", "ProspectiveCustomerHistoryID": 2, "ProspectiveCustomerID": 3, "ProspectiveCustomerTypeID": 4, "BusinessID": 5, "AccountID": 6, "StatusID": 7, "DisplayName": "sample string 8", "Description": "sample string 9", "Telephone1": "sample string 10", "Telephone2": "sample string 11", "Fax": "sample string 12", "Mobile": "sample string 13", "URLAddress": "sample string 14", "Industry": 15, "Specialize": 16, "Status": "sample string 17", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" } ], "ProspectiveCustomerInfo": [ { "CCCD": "sample string 1", "ProspectiveCustomerInfoID": 2, "ProspectiveCustomerID": 3, "ProspectiveCustomerTypeID": 4, "AccountType": "sample string 5", "OverviewType": "sample string 6", "OverviewTypeID": 7, "PageID": 8, "CustomerInfo": "sample string 9", "Status": "sample string 10", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" }, { "CCCD": "sample string 1", "ProspectiveCustomerInfoID": 2, "ProspectiveCustomerID": 3, "ProspectiveCustomerTypeID": 4, "AccountType": "sample string 5", "OverviewType": "sample string 6", "OverviewTypeID": 7, "PageID": 8, "CustomerInfo": "sample string 9", "Status": "sample string 10", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" } ], "ProspectiveCustomerInfoHistory": [ { "CCCD": "sample string 1", "ProspectiveCustomerInfoHistoryID": 2, "ProspectiveCustomerInfoID": 3, "ProspectiveCustomerID": 4, "ProspectiveCustomerTypeID": 5, "PageID": 6, "CustomerInfo": "sample string 7", "Status": "sample string 8", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" }, { "CCCD": "sample string 1", "ProspectiveCustomerInfoHistoryID": 2, "ProspectiveCustomerInfoID": 3, "ProspectiveCustomerID": 4, "ProspectiveCustomerTypeID": 5, "PageID": 6, "CustomerInfo": "sample string 7", "Status": "sample string 8", "LastUpdateDate": "2025-08-02T20:01:12.0359433+05:30" } ] }
text/html
Sample:
{"CCCD":"sample string 1","ProspectiveCustomerID":2,"ProspectiveCustomerTypeID":3,"BusinessID":4,"AccountID":5,"StatusID":6,"DisplayName":"sample string 7","Description":"sample string 8","Telephone1":"sample string 9","Telephone2":"sample string 10","Fax":"sample string 11","Mobile":"sample string 12","URLAddress":"sample string 13","Industry":14,"Specialize":15,"Status":"sample string 16","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30","ProspectiveCustomerAddress":[{"CCCD":"sample string 1","ProspectiveCustomerAddressID":2,"ProspectiveCustomerID":3,"AddressType":"sample string 4","Address1":"sample string 5","Address2":"sample string 6","CityName":"sample string 7","State":"sample string 8","CountryID":9,"ZipCode":"sample string 10","Status":"sample string 11","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"},{"CCCD":"sample string 1","ProspectiveCustomerAddressID":2,"ProspectiveCustomerID":3,"AddressType":"sample string 4","Address1":"sample string 5","Address2":"sample string 6","CityName":"sample string 7","State":"sample string 8","CountryID":9,"ZipCode":"sample string 10","Status":"sample string 11","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"}],"ProspectiveCustomerAddressHistory":[{"CCCD":"sample string 1","ProspectiveCustomerAddressHistoryID":2,"ProspectiveCustomerAddressID":3,"ProspectiveCustomerID":4,"AddressType":"sample string 5","Address1":"sample string 6","Address2":"sample string 7","CityName":"sample string 8","State":"sample string 9","CountryID":10,"ZipCode":"sample string 11","Status":"sample string 12","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"},{"CCCD":"sample string 1","ProspectiveCustomerAddressHistoryID":2,"ProspectiveCustomerAddressID":3,"ProspectiveCustomerID":4,"AddressType":"sample string 5","Address1":"sample string 6","Address2":"sample string 7","CityName":"sample string 8","State":"sample string 9","CountryID":10,"ZipCode":"sample string 11","Status":"sample string 12","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"}],"ProspectiveCustomerHistory":[{"CCCD":"sample string 1","ProspectiveCustomerHistoryID":2,"ProspectiveCustomerID":3,"ProspectiveCustomerTypeID":4,"BusinessID":5,"AccountID":6,"StatusID":7,"DisplayName":"sample string 8","Description":"sample string 9","Telephone1":"sample string 10","Telephone2":"sample string 11","Fax":"sample string 12","Mobile":"sample string 13","URLAddress":"sample string 14","Industry":15,"Specialize":16,"Status":"sample string 17","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"},{"CCCD":"sample string 1","ProspectiveCustomerHistoryID":2,"ProspectiveCustomerID":3,"ProspectiveCustomerTypeID":4,"BusinessID":5,"AccountID":6,"StatusID":7,"DisplayName":"sample string 8","Description":"sample string 9","Telephone1":"sample string 10","Telephone2":"sample string 11","Fax":"sample string 12","Mobile":"sample string 13","URLAddress":"sample string 14","Industry":15,"Specialize":16,"Status":"sample string 17","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"}],"ProspectiveCustomerInfo":[{"CCCD":"sample string 1","ProspectiveCustomerInfoID":2,"ProspectiveCustomerID":3,"ProspectiveCustomerTypeID":4,"AccountType":"sample string 5","OverviewType":"sample string 6","OverviewTypeID":7,"PageID":8,"CustomerInfo":"sample string 9","Status":"sample string 10","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"},{"CCCD":"sample string 1","ProspectiveCustomerInfoID":2,"ProspectiveCustomerID":3,"ProspectiveCustomerTypeID":4,"AccountType":"sample string 5","OverviewType":"sample string 6","OverviewTypeID":7,"PageID":8,"CustomerInfo":"sample string 9","Status":"sample string 10","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"}],"ProspectiveCustomerInfoHistory":[{"CCCD":"sample string 1","ProspectiveCustomerInfoHistoryID":2,"ProspectiveCustomerInfoID":3,"ProspectiveCustomerID":4,"ProspectiveCustomerTypeID":5,"PageID":6,"CustomerInfo":"sample string 7","Status":"sample string 8","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"},{"CCCD":"sample string 1","ProspectiveCustomerInfoHistoryID":2,"ProspectiveCustomerInfoID":3,"ProspectiveCustomerID":4,"ProspectiveCustomerTypeID":5,"PageID":6,"CustomerInfo":"sample string 7","Status":"sample string 8","LastUpdateDate":"2025-08-02T20:01:12.0359433+05:30"}]}
application/xml, text/xml
Sample:
<PCXMLProspectiveCustomer xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models"> <AccountID>5</AccountID> <BusinessID>4</BusinessID> <CCCD>sample string 1</CCCD> <Description>sample string 8</Description> <DisplayName>sample string 7</DisplayName> <Fax>sample string 11</Fax> <Industry>14</Industry> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <Mobile>sample string 12</Mobile> <ProspectiveCustomerAddress> <PCXMLProspectiveCustomerAddress> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <AddressType>sample string 4</AddressType> <CCCD>sample string 1</CCCD> <CityName>sample string 7</CityName> <CountryID>9</CountryID> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <ProspectiveCustomerAddressID>2</ProspectiveCustomerAddressID> <ProspectiveCustomerID>3</ProspectiveCustomerID> <State>sample string 8</State> <Status>sample string 11</Status> <ZipCode>sample string 10</ZipCode> </PCXMLProspectiveCustomerAddress> <PCXMLProspectiveCustomerAddress> <Address1>sample string 5</Address1> <Address2>sample string 6</Address2> <AddressType>sample string 4</AddressType> <CCCD>sample string 1</CCCD> <CityName>sample string 7</CityName> <CountryID>9</CountryID> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <ProspectiveCustomerAddressID>2</ProspectiveCustomerAddressID> <ProspectiveCustomerID>3</ProspectiveCustomerID> <State>sample string 8</State> <Status>sample string 11</Status> <ZipCode>sample string 10</ZipCode> </PCXMLProspectiveCustomerAddress> </ProspectiveCustomerAddress> <ProspectiveCustomerAddressHistory> <PCXMLProspectiveCustomerAddressHistory> <Address1>sample string 6</Address1> <Address2>sample string 7</Address2> <AddressType>sample string 5</AddressType> <CCCD>sample string 1</CCCD> <CityName>sample string 8</CityName> <CountryID>10</CountryID> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <ProspectiveCustomerAddressHistoryID>2</ProspectiveCustomerAddressHistoryID> <ProspectiveCustomerAddressID>3</ProspectiveCustomerAddressID> <ProspectiveCustomerID>4</ProspectiveCustomerID> <State>sample string 9</State> <Status>sample string 12</Status> <ZipCode>sample string 11</ZipCode> </PCXMLProspectiveCustomerAddressHistory> <PCXMLProspectiveCustomerAddressHistory> <Address1>sample string 6</Address1> <Address2>sample string 7</Address2> <AddressType>sample string 5</AddressType> <CCCD>sample string 1</CCCD> <CityName>sample string 8</CityName> <CountryID>10</CountryID> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <ProspectiveCustomerAddressHistoryID>2</ProspectiveCustomerAddressHistoryID> <ProspectiveCustomerAddressID>3</ProspectiveCustomerAddressID> <ProspectiveCustomerID>4</ProspectiveCustomerID> <State>sample string 9</State> <Status>sample string 12</Status> <ZipCode>sample string 11</ZipCode> </PCXMLProspectiveCustomerAddressHistory> </ProspectiveCustomerAddressHistory> <ProspectiveCustomerHistory> <PCXMLProspectiveCustomerHistory> <AccountID>6</AccountID> <BusinessID>5</BusinessID> <CCCD>sample string 1</CCCD> <Description>sample string 9</Description> <DisplayName>sample string 8</DisplayName> <Fax>sample string 12</Fax> <Industry>15</Industry> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <Mobile>sample string 13</Mobile> <ProspectiveCustomerHistoryID>2</ProspectiveCustomerHistoryID> <ProspectiveCustomerID>3</ProspectiveCustomerID> <ProspectiveCustomerTypeID>4</ProspectiveCustomerTypeID> <Specialize>16</Specialize> <Status>sample string 17</Status> <StatusID>7</StatusID> <Telephone1>sample string 10</Telephone1> <Telephone2>sample string 11</Telephone2> <URLAddress>sample string 14</URLAddress> </PCXMLProspectiveCustomerHistory> <PCXMLProspectiveCustomerHistory> <AccountID>6</AccountID> <BusinessID>5</BusinessID> <CCCD>sample string 1</CCCD> <Description>sample string 9</Description> <DisplayName>sample string 8</DisplayName> <Fax>sample string 12</Fax> <Industry>15</Industry> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <Mobile>sample string 13</Mobile> <ProspectiveCustomerHistoryID>2</ProspectiveCustomerHistoryID> <ProspectiveCustomerID>3</ProspectiveCustomerID> <ProspectiveCustomerTypeID>4</ProspectiveCustomerTypeID> <Specialize>16</Specialize> <Status>sample string 17</Status> <StatusID>7</StatusID> <Telephone1>sample string 10</Telephone1> <Telephone2>sample string 11</Telephone2> <URLAddress>sample string 14</URLAddress> </PCXMLProspectiveCustomerHistory> </ProspectiveCustomerHistory> <ProspectiveCustomerID>2</ProspectiveCustomerID> <ProspectiveCustomerInfo> <PCXMLProspectiveCustomerInfo> <AccountType>sample string 5</AccountType> <CCCD>sample string 1</CCCD> <CustomerInfo>sample string 9</CustomerInfo> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <OverviewType>sample string 6</OverviewType> <OverviewTypeID>7</OverviewTypeID> <PageID>8</PageID> <ProspectiveCustomerID>3</ProspectiveCustomerID> <ProspectiveCustomerInfoID>2</ProspectiveCustomerInfoID> <ProspectiveCustomerTypeID>4</ProspectiveCustomerTypeID> <Status>sample string 10</Status> </PCXMLProspectiveCustomerInfo> <PCXMLProspectiveCustomerInfo> <AccountType>sample string 5</AccountType> <CCCD>sample string 1</CCCD> <CustomerInfo>sample string 9</CustomerInfo> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <OverviewType>sample string 6</OverviewType> <OverviewTypeID>7</OverviewTypeID> <PageID>8</PageID> <ProspectiveCustomerID>3</ProspectiveCustomerID> <ProspectiveCustomerInfoID>2</ProspectiveCustomerInfoID> <ProspectiveCustomerTypeID>4</ProspectiveCustomerTypeID> <Status>sample string 10</Status> </PCXMLProspectiveCustomerInfo> </ProspectiveCustomerInfo> <ProspectiveCustomerInfoHistory> <PCXMLProspectiveCustomerInfoHistory> <CCCD>sample string 1</CCCD> <CustomerInfo>sample string 7</CustomerInfo> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <PageID>6</PageID> <ProspectiveCustomerID>4</ProspectiveCustomerID> <ProspectiveCustomerInfoHistoryID>2</ProspectiveCustomerInfoHistoryID> <ProspectiveCustomerInfoID>3</ProspectiveCustomerInfoID> <ProspectiveCustomerTypeID>5</ProspectiveCustomerTypeID> <Status>sample string 8</Status> </PCXMLProspectiveCustomerInfoHistory> <PCXMLProspectiveCustomerInfoHistory> <CCCD>sample string 1</CCCD> <CustomerInfo>sample string 7</CustomerInfo> <LastUpdateDate>2025-08-02T20:01:12.0359433+05:30</LastUpdateDate> <PageID>6</PageID> <ProspectiveCustomerID>4</ProspectiveCustomerID> <ProspectiveCustomerInfoHistoryID>2</ProspectiveCustomerInfoHistoryID> <ProspectiveCustomerInfoID>3</ProspectiveCustomerInfoID> <ProspectiveCustomerTypeID>5</ProspectiveCustomerTypeID> <Status>sample string 8</Status> </PCXMLProspectiveCustomerInfoHistory> </ProspectiveCustomerInfoHistory> <ProspectiveCustomerTypeID>3</ProspectiveCustomerTypeID> <Specialize>15</Specialize> <Status>sample string 16</Status> <StatusID>6</StatusID> <Telephone1>sample string 9</Telephone1> <Telephone2>sample string 10</Telephone2> <URLAddress>sample string 13</URLAddress> </PCXMLProspectiveCustomer>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
StatusResponseName | Description | Type | Additional information |
---|---|---|---|
Status | boolean |
None. |
|
ErrorMessage | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Status": true, "ErrorMessage": "sample string 2" }
text/html
Sample:
{"Status":true,"ErrorMessage":"sample string 2"}
application/xml, text/xml
Sample:
<StatusResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models"> <ErrorMessage>sample string 2</ErrorMessage> <Status>true</Status> </StatusResponse>