This API is made available for the use of approved customer API consumers. To request an API Key, contact us at [email protected] first to discuss your project and request access.
Universal base URL for all the Endpoints: http://apiv2.addresstwo.com/api/
To update an opportunity in the pipeline, FIRST request that object using GET /Pipeline, then modify the json and POST here.
Request Headers:
Content-Type: application/json
ConsumerToken: [hashed-token-provided]
Parameters Accepted:
id (integer)
{
AccountID: 1, //It is accountID value from get pipeline API ex. 1,2
AccountName: "Account name", //It is AccountName value from get pipeline API ex. Company name
ActualCost: "200", //It is updated ActualCost value ex. 500,800
Address: , //It is address array
CreateDate: "06-21-2016", //It is created date from get Pipeline API
CustomValueEntity: , //It is array of CustomValueEntity
Description: "updated description", //It is updated description of pipeline
Discriminator: "P", //It is P for pipeline
DollarValue: 350, //It is updated DollarValue
ExpectedClose: "08-22-2016", //It is updated ExpectedClose
ID: 1, //It is ID of pipeline which we have to update
IsDeleted: 0, //It is IsDeleted from get pipeline API
LastModifiedByID: 79, //It is userId with which user login ex 79,80
PipelineStatus: "", //It is PipelineStatus
PipelineStatusID: 1, //It is PipelineStatusID ex generally 1 for open, 2 for close , 3 for lost
Probability: 75, //It is Probability to close pipeline
UserID: 79 //It is UserID with which user login ex 79,80
}
© 2016 AddressTwo. All Rights Reserved.