GET api/GlobalOpportunity/GetAllGlobalOpportunity?cccd={cccd}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cccd

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of PCXMLGlobalOpportunity
NameDescriptionTypeAdditional information
CCCD

string

None.

GlobalOpportunityID

integer

None.

AccountID

integer

None.

GlobalCustomerID

integer

None.

GlobalCustomerAddressID

integer

None.

GlobalOpportunityName

string

None.

Description

string

None.

Revenue

decimal number

None.

CloseDate

date

None.

ProbabilityID

integer

None.

ForeCast

string

None.

SalesStageID

integer

None.

GlobalOpportunityReasonID

integer

None.

Status

string

None.

GlobalOpportunityDate

date

None.

LastUpdateDate

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CCCD": "sample string 1",
    "GlobalOpportunityID": 2,
    "AccountID": 3,
    "GlobalCustomerID": 4,
    "GlobalCustomerAddressID": 5,
    "GlobalOpportunityName": "sample string 6",
    "Description": "sample string 7",
    "Revenue": 8.0,
    "CloseDate": "2025-08-02T20:24:58.7206955+05:30",
    "ProbabilityID": 10,
    "ForeCast": "sample string 11",
    "SalesStageID": 12,
    "GlobalOpportunityReasonID": 13,
    "Status": "sample string 14",
    "GlobalOpportunityDate": "2025-08-02T20:24:58.7206955+05:30",
    "LastUpdateDate": "2025-08-02T20:24:58.7206955+05:30"
  },
  {
    "CCCD": "sample string 1",
    "GlobalOpportunityID": 2,
    "AccountID": 3,
    "GlobalCustomerID": 4,
    "GlobalCustomerAddressID": 5,
    "GlobalOpportunityName": "sample string 6",
    "Description": "sample string 7",
    "Revenue": 8.0,
    "CloseDate": "2025-08-02T20:24:58.7206955+05:30",
    "ProbabilityID": 10,
    "ForeCast": "sample string 11",
    "SalesStageID": 12,
    "GlobalOpportunityReasonID": 13,
    "Status": "sample string 14",
    "GlobalOpportunityDate": "2025-08-02T20:24:58.7206955+05:30",
    "LastUpdateDate": "2025-08-02T20:24:58.7206955+05:30"
  }
]

text/html

Sample:
[{"CCCD":"sample string 1","GlobalOpportunityID":2,"AccountID":3,"GlobalCustomerID":4,"GlobalCustomerAddressID":5,"GlobalOpportunityName":"sample string 6","Description":"sample string 7","Revenue":8.0,"CloseDate":"2025-08-02T20:24:58.7206955+05:30","ProbabilityID":10,"ForeCast":"sample string 11","SalesStageID":12,"GlobalOpportunityReasonID":13,"Status":"sample string 14","GlobalOpportunityDate":"2025-08-02T20:24:58.7206955+05:30","LastUpdateDate":"2025-08-02T20:24:58.7206955+05:30"},{"CCCD":"sample string 1","GlobalOpportunityID":2,"AccountID":3,"GlobalCustomerID":4,"GlobalCustomerAddressID":5,"GlobalOpportunityName":"sample string 6","Description":"sample string 7","Revenue":8.0,"CloseDate":"2025-08-02T20:24:58.7206955+05:30","ProbabilityID":10,"ForeCast":"sample string 11","SalesStageID":12,"GlobalOpportunityReasonID":13,"Status":"sample string 14","GlobalOpportunityDate":"2025-08-02T20:24:58.7206955+05:30","LastUpdateDate":"2025-08-02T20:24:58.7206955+05:30"}]

application/xml, text/xml

Sample:
<ArrayOfPCXMLGlobalOpportunity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PowerCashAPI.Models">
  <PCXMLGlobalOpportunity>
    <AccountID>3</AccountID>
    <CCCD>sample string 1</CCCD>
    <CloseDate>2025-08-02T20:24:58.7206955+05:30</CloseDate>
    <Description>sample string 7</Description>
    <ForeCast>sample string 11</ForeCast>
    <GlobalCustomerAddressID>5</GlobalCustomerAddressID>
    <GlobalCustomerID>4</GlobalCustomerID>
    <GlobalOpportunityDate>2025-08-02T20:24:58.7206955+05:30</GlobalOpportunityDate>
    <GlobalOpportunityID>2</GlobalOpportunityID>
    <GlobalOpportunityName>sample string 6</GlobalOpportunityName>
    <GlobalOpportunityReasonID>13</GlobalOpportunityReasonID>
    <LastUpdateDate>2025-08-02T20:24:58.7206955+05:30</LastUpdateDate>
    <ProbabilityID>10</ProbabilityID>
    <Revenue>8</Revenue>
    <SalesStageID>12</SalesStageID>
    <Status>sample string 14</Status>
  </PCXMLGlobalOpportunity>
  <PCXMLGlobalOpportunity>
    <AccountID>3</AccountID>
    <CCCD>sample string 1</CCCD>
    <CloseDate>2025-08-02T20:24:58.7206955+05:30</CloseDate>
    <Description>sample string 7</Description>
    <ForeCast>sample string 11</ForeCast>
    <GlobalCustomerAddressID>5</GlobalCustomerAddressID>
    <GlobalCustomerID>4</GlobalCustomerID>
    <GlobalOpportunityDate>2025-08-02T20:24:58.7206955+05:30</GlobalOpportunityDate>
    <GlobalOpportunityID>2</GlobalOpportunityID>
    <GlobalOpportunityName>sample string 6</GlobalOpportunityName>
    <GlobalOpportunityReasonID>13</GlobalOpportunityReasonID>
    <LastUpdateDate>2025-08-02T20:24:58.7206955+05:30</LastUpdateDate>
    <ProbabilityID>10</ProbabilityID>
    <Revenue>8</Revenue>
    <SalesStageID>12</SalesStageID>
    <Status>sample string 14</Status>
  </PCXMLGlobalOpportunity>
</ArrayOfPCXMLGlobalOpportunity>