POST Patient Procedure Add/Update

Add or Update Information on Procedure in SurgiPrice™. Requires the LoginKey from Login.

Resource URL

https://testapi.surgiprice.com/procedure-edit/

Input Parameters

Parameter NameDescriptionParameter TypeRequiredExample
LoginKeyLoginKey for Logged in Patient32 CharactersYES12345678901234567890123456789012
ProcedureIDProcedure ID to update or the string "Add" to add a new procdureInteger (to update)
or "Add" to Add
YES2
Pref_DistancePreferred DistanceStringYESUnder 100 miles
PatientChoice1Patient's First Choice (DoctorID) or 0IntegerYES1
PatientChoice2Patient's Second Choice (DoctorID) or 0IntegerYES2
ProcedureTypeIDProcedure Type IDIntegerYES2
Pref_DOW_SunPreferred Day of Week - SundayBooleanYES(0 or 1)
Pref_DOW_MonPreferred Day of Week - MondayBooleanYES(0 or 1)
Pref_DOW_TuePreferred Day of Week - TuesdayBooleanYES(0 or 1)
Pref_DOW_WedPreferred Day of Week - WednesdayBooleanYES(0 or 1)
Pref_DOW_ThuPreferred Day of Week - ThursdayBooleanYES(0 or 1)
Pref_DOW_FriPreferred Day of Week - FridayBooleanYES(0 or 1)
Pref_DOW_SatPreferred Day of Week - SaturdayBooleanYES(0 or 1)
Pref_StartingDatePreferred Starting DateDate as StringYES10/16/2014 (or blank)
Pref_EndingDatePreferred Ending DateDate as StringYES10/22/2014 (or blank)

Result Description

Parameter NameDescriptionParameter TypeExample
SuccessIf the information was updated in / added to the database or not0 (fail) or 1 (success)0
Message If Success=0, this parameter contains the reason the procedure
view failed. This is for feedback to the user.
String Invalid ProcedureID