swagger.yaml 246 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.QryBusinessDjRsp:
  844. properties:
  845. amount:
  846. description: 点价金额=(点价价格+升贴水)*点价数量
  847. type: number
  848. applyid:
  849. description: 申请人
  850. type: string
  851. applyname:
  852. description: 申请人名称
  853. type: string
  854. applystatus:
  855. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  856. type: integer
  857. applytime:
  858. description: 申请时间
  859. type: string
  860. auditname:
  861. description: 审核人名称
  862. type: string
  863. audittime:
  864. description: 审核时间
  865. type: string
  866. buyusername:
  867. description: 采购方名称
  868. type: string
  869. contractno:
  870. description: 合同编号
  871. type: string
  872. contracttype:
  873. description: 现货合同类型 - 1:采购 -1:销售
  874. type: integer
  875. enumdicname:
  876. description: 单位名称
  877. type: string
  878. goodscode:
  879. description: 点价合约
  880. type: string
  881. goodsname:
  882. description: 商品名称
  883. type: string
  884. operateapplyid:
  885. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  886. type: string
  887. operateapplytype:
  888. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  889. type: integer
  890. pricedPrice:
  891. description: 点价价格(非必填)
  892. type: number
  893. pricedQty:
  894. description: 点价数量(非必填)
  895. type: number
  896. pricemove:
  897. description: 升贴水
  898. type: number
  899. pricetype:
  900. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  901. type: integer
  902. relatedid:
  903. description: 现货合同ID
  904. type: string
  905. sellusername:
  906. description: 销售方名字
  907. type: string
  908. userid:
  909. description: 用户ID
  910. type: integer
  911. type: object
  912. ermcp.QryBussinessFpRsp:
  913. properties:
  914. applyid:
  915. description: 申请人
  916. type: string
  917. applyname:
  918. description: 申请人名称
  919. type: string
  920. applystatus:
  921. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  922. type: integer
  923. applytime:
  924. description: 申请时间
  925. type: string
  926. auditname:
  927. description: 审核人名称
  928. type: string
  929. audittime:
  930. description: 审核时间
  931. type: string
  932. buyusername:
  933. description: 采购方名称
  934. type: string
  935. contractno:
  936. description: 合同编号
  937. type: string
  938. contracttype:
  939. description: 现货合同类型 - 1:采购 -1:销售
  940. type: integer
  941. enumdicname:
  942. description: 单位名称
  943. type: string
  944. goodscode:
  945. description: 点价合约
  946. type: string
  947. goodsname:
  948. description: 商品名称
  949. type: string
  950. invoiceAmount:
  951. description: 已开收票金额(销售为开票,采购为收票)
  952. type: number
  953. operateapplyid:
  954. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  955. type: string
  956. operateapplytype:
  957. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  958. type: integer
  959. pricemove:
  960. description: 升贴水
  961. type: number
  962. pricetype:
  963. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  964. type: integer
  965. relatedid:
  966. description: 现货合同ID
  967. type: string
  968. sellusername:
  969. description: 销售方名字
  970. type: string
  971. userid:
  972. description: 用户ID
  973. type: integer
  974. type: object
  975. ermcp.QryBussinessJsRsp:
  976. properties:
  977. addmargin:
  978. description: 追加保证金(非必填)
  979. type: number
  980. applyid:
  981. description: 申请人
  982. type: string
  983. applyname:
  984. description: 申请人名称
  985. type: string
  986. applystatus:
  987. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  988. type: integer
  989. applytime:
  990. description: 申请时间
  991. type: string
  992. auditname:
  993. description: 审核人名称
  994. type: string
  995. audittime:
  996. description: 审核时间
  997. type: string
  998. buyusername:
  999. description: 采购方名称
  1000. type: string
  1001. contractno:
  1002. description: 合同编号
  1003. type: string
  1004. contracttype:
  1005. description: 现货合同类型 - 1:采购 -1:销售
  1006. type: integer
  1007. decmargin:
  1008. description: 减少保证金(非必填)
  1009. type: number
  1010. enumdicname:
  1011. description: 单位名称
  1012. type: string
  1013. goodscode:
  1014. description: 点价合约
  1015. type: string
  1016. goodsname:
  1017. description: 商品名称
  1018. type: string
  1019. operateapplyid:
  1020. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1021. type: string
  1022. operateapplytype:
  1023. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1024. type: integer
  1025. pricemove:
  1026. description: 升贴水
  1027. type: number
  1028. pricetype:
  1029. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1030. type: integer
  1031. reckonadjustamount:
  1032. description: 结算调整金额(非必填)
  1033. type: number
  1034. reckonosamount:
  1035. description: 结算溢短金额(非必填)
  1036. type: number
  1037. reckonotheramount:
  1038. description: 结算其他费用(非必填)
  1039. type: number
  1040. reckonrealqty:
  1041. description: 结算实际数量(非必填)
  1042. type: number
  1043. relatedid:
  1044. description: 现货合同ID
  1045. type: string
  1046. sellusername:
  1047. description: 销售方名字
  1048. type: string
  1049. userid:
  1050. description: 用户ID
  1051. type: integer
  1052. type: object
  1053. ermcp.QryBussinessKxRsp:
  1054. properties:
  1055. applyid:
  1056. description: 申请人
  1057. type: string
  1058. applyname:
  1059. description: 申请人名称
  1060. type: string
  1061. applystatus:
  1062. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1063. type: integer
  1064. applytime:
  1065. description: 申请时间
  1066. type: string
  1067. auditname:
  1068. description: 审核人名称
  1069. type: string
  1070. audittime:
  1071. description: 审核时间
  1072. type: string
  1073. buyusername:
  1074. description: 采购方名称
  1075. type: string
  1076. contractno:
  1077. description: 合同编号
  1078. type: string
  1079. contracttype:
  1080. description: 现货合同类型 - 1:采购 -1:销售
  1081. type: integer
  1082. deductamount:
  1083. description: 退款(非必填)
  1084. type: number
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. operateapplyid:
  1095. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1096. type: string
  1097. operateapplytype:
  1098. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1099. type: integer
  1100. payamount:
  1101. description: 收付款(非必填)
  1102. type: number
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. type: object
  1119. ermcp.QryErmcpRsp:
  1120. properties:
  1121. accountid:
  1122. description: 账户ID
  1123. type: string
  1124. accountname:
  1125. description: 账户名称
  1126. type: string
  1127. contracctstatus:
  1128. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1129. type: integer
  1130. convertfactor:
  1131. description: 标仓系数
  1132. type: number
  1133. daikaiamount:
  1134. description: 待开票额
  1135. type: number
  1136. deliveryenddate:
  1137. description: 交割结束日
  1138. type: string
  1139. deliverygoodscode:
  1140. description: 现货商品代码
  1141. type: string
  1142. deliverygoodsid:
  1143. description: 现货商品ID
  1144. type: integer
  1145. deliverygoodsname:
  1146. description: 现货商品名称
  1147. type: string
  1148. deliverystartdate:
  1149. description: 交割开始日
  1150. type: string
  1151. enddate:
  1152. description: 点价结束日
  1153. type: string
  1154. enumdicname:
  1155. description: 单位名称
  1156. type: string
  1157. goodscode:
  1158. description: 点价商品代码
  1159. type: string
  1160. goodsid:
  1161. description: 点价商品ID
  1162. type: integer
  1163. invoiceamount:
  1164. description: 已开票额
  1165. type: number
  1166. payamount:
  1167. description: 已收付额(收款或付款)
  1168. type: number
  1169. pricedqty:
  1170. description: 已定价量
  1171. type: number
  1172. pricemove:
  1173. description: 升贴水
  1174. type: number
  1175. pricetype:
  1176. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1177. type: integer
  1178. producttype:
  1179. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1180. type: integer
  1181. qty:
  1182. description: 合同量
  1183. type: number
  1184. spotcontractid:
  1185. description: 合同ID
  1186. type: string
  1187. spotgoodsdesc:
  1188. description: 商品型号(商品规格)
  1189. type: string
  1190. startdate:
  1191. description: 点价开始日
  1192. type: string
  1193. unpayamount:
  1194. description: 待支收额(支付或收款)
  1195. type: number
  1196. unpricedqty:
  1197. description: 未定价量
  1198. type: number
  1199. unsureqty:
  1200. description: 未确定量
  1201. type: number
  1202. userid:
  1203. description: 用户ID
  1204. type: integer
  1205. type: object
  1206. ermcp.QryHedgePlanRsp:
  1207. properties:
  1208. areauserid:
  1209. description: 用户ID
  1210. type: integer
  1211. contracttype:
  1212. description: 计划类型 - 1:采购 -1:销售
  1213. type: integer
  1214. convertfactor:
  1215. description: 标仓系数
  1216. type: number
  1217. deliverygoodsid:
  1218. description: 现货品种ID
  1219. type: integer
  1220. deliverygoodsname:
  1221. description: 现货品种名称
  1222. type: string
  1223. hedgeplanid:
  1224. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1225. type: string
  1226. hedgeplanno:
  1227. description: 套保计划编号
  1228. type: string
  1229. hedgeplanstatus:
  1230. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1231. type: integer
  1232. planqty:
  1233. description: 计划数量
  1234. type: number
  1235. plantime:
  1236. description: 计划时间
  1237. type: string
  1238. producttype:
  1239. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1240. type: integer
  1241. remark:
  1242. description: 备注
  1243. type: string
  1244. spotgoodsdesc:
  1245. description: 商品型号
  1246. type: string
  1247. wrstandardid:
  1248. description: 现货商品ID
  1249. type: integer
  1250. wrstandardname:
  1251. description: 现货商品名称
  1252. type: string
  1253. type: object
  1254. ermcp.QryOPLogRsp:
  1255. properties:
  1256. aftervalue:
  1257. description: 变更后
  1258. type: number
  1259. applyid:
  1260. description: 操作人ID
  1261. type: string
  1262. applyname:
  1263. description: 操作人名称
  1264. type: string
  1265. beforevalue:
  1266. description: 变更前
  1267. type: number
  1268. biztype:
  1269. description: 业务类型 - 1:套保计划 2:现货合同
  1270. type: integer
  1271. contracttype:
  1272. description: 现货合同类型 - 1:采购 -1:销售
  1273. type: integer
  1274. logvalue:
  1275. description: 数值
  1276. type: number
  1277. operatelogtype:
  1278. description: 操作流水类型
  1279. type: integer
  1280. operatelogtypedesc:
  1281. description: 操作流水类型名称
  1282. type: string
  1283. relatedid:
  1284. description: 现货合同ID\套保计划
  1285. type: string
  1286. updatetime:
  1287. description: 更新时间
  1288. type: string
  1289. type: object
  1290. ermcp.QrySpotContractRsp:
  1291. properties:
  1292. amount:
  1293. description: 金额 [1:一口价、3:暂定价]
  1294. type: number
  1295. buyuserid:
  1296. description: 采购方ID
  1297. type: integer
  1298. buyusername:
  1299. description: 采购方名称
  1300. type: string
  1301. contracctstatus:
  1302. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1303. type: integer
  1304. contractno:
  1305. description: 现货合同编号
  1306. type: string
  1307. contracttype:
  1308. description: 现货合同类型 - 1:采购 -1:销售
  1309. type: integer
  1310. convertfactor:
  1311. description: 标仓系数
  1312. type: number
  1313. deliveryenddate:
  1314. description: 交收期(结束)
  1315. type: string
  1316. deliverygoodscode:
  1317. description: 现货品种代码
  1318. type: string
  1319. deliverygoodsid:
  1320. description: 现货品种ID
  1321. type: integer
  1322. deliverygoodsname:
  1323. description: 现货品种名称
  1324. type: string
  1325. deliverystartdate:
  1326. description: 交收期(开始)
  1327. type: string
  1328. enddate:
  1329. description: 点价结束日期 [2:点价 3:暂定价]
  1330. type: string
  1331. enumdicname:
  1332. description: 单位名称
  1333. type: string
  1334. goodscode:
  1335. description: 点价合约代码
  1336. type: string
  1337. goodsid:
  1338. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  1339. type: integer
  1340. margin:
  1341. description: 当前保证金
  1342. type: number
  1343. price:
  1344. description: 价格\暂定价 [1:一口价、3:暂定价]
  1345. type: number
  1346. pricemove:
  1347. description: 升贴水 [2:点价 3:暂定价]
  1348. type: number
  1349. pricetype:
  1350. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1351. type: integer
  1352. producttype:
  1353. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1354. type: integer
  1355. qty:
  1356. description: 数量
  1357. type: number
  1358. selluserid:
  1359. description: 销售方ID
  1360. type: integer
  1361. sellusername:
  1362. description: 销售方名称
  1363. type: string
  1364. spotcontractid:
  1365. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  1366. type: string
  1367. spotgoodsdesc:
  1368. description: 商品型号
  1369. type: string
  1370. startdate:
  1371. description: 点价开始日期 [2:点价 3:暂定价]
  1372. type: string
  1373. userid:
  1374. description: 机构ID
  1375. type: integer
  1376. type: object
  1377. ermcp.QryUserInfoRsp:
  1378. properties:
  1379. address:
  1380. description: 通讯地址
  1381. type: string
  1382. attachment1:
  1383. description: 附件1
  1384. type: string
  1385. cardfrontphotourl:
  1386. description: 证件正面图片地址
  1387. type: string
  1388. cardnum:
  1389. description: 证件号码
  1390. type: string
  1391. cardtype:
  1392. description: 证件类型
  1393. type: string
  1394. customername:
  1395. description: 企业名称
  1396. type: string
  1397. memberuserid:
  1398. description: 所属机构ID
  1399. type: integer
  1400. mobile:
  1401. description: 手机号码
  1402. type: string
  1403. remark:
  1404. description: 备注
  1405. type: string
  1406. status:
  1407. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1408. type: integer
  1409. statusdesc:
  1410. description: 账户状态中文描述
  1411. type: string
  1412. telphone:
  1413. description: 联系电话
  1414. type: string
  1415. userid:
  1416. description: 用户ID
  1417. type: integer
  1418. userinfotype:
  1419. description: 客户类型
  1420. type: string
  1421. type: object
  1422. ermcp.QryWrStandardRsp:
  1423. properties:
  1424. areauserid:
  1425. description: 所属机构
  1426. type: integer
  1427. createtime:
  1428. description: 创建时间
  1429. type: string
  1430. creatorid:
  1431. description: 创建人
  1432. type: integer
  1433. deliverygoodsid:
  1434. description: 品种ID
  1435. type: integer
  1436. enumdicname:
  1437. description: 单位名称
  1438. type: string
  1439. minivalue:
  1440. description: 最小变动值
  1441. type: integer
  1442. minivaluedp:
  1443. description: 最小变动值小数位
  1444. type: integer
  1445. realminivalue:
  1446. description: 实际最小变动值
  1447. type: integer
  1448. realminivaluedp:
  1449. description: 实际最小变动值小数位
  1450. type: integer
  1451. unitid:
  1452. description: 单位ID
  1453. type: integer
  1454. wrstandardcode:
  1455. description: 现货商品代码
  1456. type: string
  1457. wrstandardid:
  1458. description: 现货商品ID(SEQ_WRSTANDARD)
  1459. type: integer
  1460. wrstandardname:
  1461. description: 现货商品名称
  1462. type: string
  1463. type: object
  1464. erms2.QueryArbitrageStrategyRsp:
  1465. properties:
  1466. applybasis:
  1467. description: 申请基差
  1468. type: number
  1469. asapplyid:
  1470. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1471. type: string
  1472. asname:
  1473. description: 策略名称
  1474. type: string
  1475. asno:
  1476. description: 策略编号
  1477. type: string
  1478. basischangepl:
  1479. description: 基差变动损益[结算更新]
  1480. type: number
  1481. biztype:
  1482. description: 业务类型 - 1:正向套利 -1:反向套利
  1483. type: integer
  1484. closetradedate:
  1485. description: 完结交易日(yyyyMMdd)
  1486. type: string
  1487. curbasis:
  1488. description: 当前基差[结算更新]
  1489. type: number
  1490. deliverygoodsid:
  1491. description: 现货品种ID
  1492. type: integer
  1493. futureavgprice:
  1494. description: 期货建仓均价
  1495. type: number
  1496. futurecloseamount:
  1497. description: 期货平仓金额
  1498. type: number
  1499. futurecloseqty:
  1500. description: 期货平仓数量
  1501. type: number
  1502. futureopenamount:
  1503. description: 期货开仓金额
  1504. type: number
  1505. futureopenqty:
  1506. description: 期货开仓数量
  1507. type: number
  1508. futurepl:
  1509. description: 期货总盈亏[结算更新]
  1510. type: number
  1511. futureqty:
  1512. description: 期货持仓数量
  1513. type: number
  1514. futurequote:
  1515. description: 期货额度
  1516. type: number
  1517. goodsgroupid:
  1518. description: 期货品种ID
  1519. type: integer
  1520. marketid:
  1521. description: 市场ID
  1522. type: integer
  1523. netexposure:
  1524. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1525. type: number
  1526. netexposurepl:
  1527. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1528. type: number
  1529. netexposurerate:
  1530. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1531. type: number
  1532. openbasis:
  1533. description: 建仓基差
  1534. type: number
  1535. pricedspotqty:
  1536. description: 已定价现货数量
  1537. type: number
  1538. pricedspotqtynotax:
  1539. description: 已定价现货不含税数量
  1540. type: number
  1541. remark:
  1542. description: 备注
  1543. type: string
  1544. spotavgprice:
  1545. description: 现货均价
  1546. type: number
  1547. spotbuyamount:
  1548. description: 现货采购金额
  1549. type: number
  1550. spotbuyqty:
  1551. description: 现货采购数量
  1552. type: number
  1553. spotpl:
  1554. description: 现货总盈亏[结算更新]
  1555. type: number
  1556. spotquota:
  1557. description: 现货额度
  1558. type: number
  1559. spotsellamount:
  1560. description: 现货销售金额
  1561. type: number
  1562. spotsellqty:
  1563. description: 现货销售数量
  1564. type: number
  1565. spotusedquota:
  1566. description: 现货占用资金
  1567. type: number
  1568. strategystatus:
  1569. description: 策略状态 - 0:未结束 1:已结束
  1570. type: integer
  1571. totalpl:
  1572. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1573. type: number
  1574. tradedate:
  1575. description: 交易日(yyyyMMdd)
  1576. type: string
  1577. updatetime:
  1578. description: 更新时间
  1579. type: string
  1580. usedquota:
  1581. description: 已占用资金
  1582. type: number
  1583. userid:
  1584. description: 所属机构
  1585. type: integer
  1586. required:
  1587. - asapplyid
  1588. type: object
  1589. erms2.QueryInnerTradeDetailRsp:
  1590. properties:
  1591. accountid:
  1592. description: 账号ID
  1593. type: integer
  1594. agreeunit:
  1595. description: 合约单位
  1596. type: number
  1597. asapplyid:
  1598. description: 策略申请ID
  1599. type: integer
  1600. asname:
  1601. description: 策略名称
  1602. type: string
  1603. asno:
  1604. description: 策略编号
  1605. type: string
  1606. buyorsell:
  1607. description: 方向 - 0:买 1:卖
  1608. type: integer
  1609. channelbuildtype:
  1610. description: 委托单据类型 0:无 1:建仓 2:平仓
  1611. type: integer
  1612. closetype:
  1613. description: 平仓方式 - 0:无 1:平今 2:平昨
  1614. type: integer
  1615. decimalplace:
  1616. description: 报价小数位
  1617. type: integer
  1618. detailtype:
  1619. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1620. type: integer
  1621. exexchangecode:
  1622. description: 外部交易所代码
  1623. type: string
  1624. exexchangename:
  1625. description: 外部交易所名称
  1626. type: string
  1627. goodscode:
  1628. description: 商品代码(合约)
  1629. type: string
  1630. goodsgroupid:
  1631. description: 商品组ID(品种ID)
  1632. type: integer
  1633. goodsgroupname:
  1634. description: 商品组名称(品种)
  1635. type: string
  1636. goodsid:
  1637. description: 商品ID
  1638. type: integer
  1639. goodsname:
  1640. description: 商品名称(合约)
  1641. type: string
  1642. goodunit:
  1643. description: 报价单位
  1644. type: string
  1645. marketid:
  1646. description: 市场ID
  1647. type: integer
  1648. orderid:
  1649. description: 委托单号
  1650. type: string
  1651. outgoodscode:
  1652. description: 商品代码(外部)
  1653. type: string
  1654. relatedouttradeid:
  1655. description: 关联外部成交单ID
  1656. type: string
  1657. remark:
  1658. description: 备注
  1659. type: string
  1660. spotcontractid:
  1661. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1662. type: integer
  1663. spotcontractno:
  1664. description: 现货合同编号
  1665. type: string
  1666. tradeid:
  1667. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1668. type: string
  1669. tradeprice:
  1670. description: 成交价格
  1671. type: number
  1672. tradeqty:
  1673. description: 成交数量
  1674. type: integer
  1675. tradetime:
  1676. description: 成交时间
  1677. type: string
  1678. updatetime:
  1679. description: 更新时间
  1680. type: string
  1681. required:
  1682. - asapplyid
  1683. - buyorsell
  1684. - goodscode
  1685. - goodsgroupid
  1686. - goodsgroupname
  1687. - goodsname
  1688. - tradeid
  1689. type: object
  1690. erms2.QuerySpotContractRsp:
  1691. properties:
  1692. accountid:
  1693. description: 资金账户ID
  1694. type: integer
  1695. areauserid:
  1696. description: 所属机构
  1697. type: integer
  1698. closedate:
  1699. description: 终止日期
  1700. type: string
  1701. closeremark:
  1702. description: 结束备注
  1703. type: string
  1704. closetradedate:
  1705. description: 完结交易日(yyyyMMdd)
  1706. type: string
  1707. closetype:
  1708. description: 终止类型 - 1:违约 2:提前终止
  1709. type: integer
  1710. contractamount:
  1711. description: 合同金额
  1712. type: number
  1713. contractattachment:
  1714. description: 合同附件
  1715. type: string
  1716. contractno:
  1717. description: 现货合同编号
  1718. type: string
  1719. contractqty:
  1720. description: 合同数量(数值) (用于计算)
  1721. type: number
  1722. contractqtychar:
  1723. description: 合同数量\已订价数量 (用于显示)
  1724. type: string
  1725. contractstatus:
  1726. description: 合同状态 - 0:未结束 1:已结束
  1727. type: integer
  1728. contracttype:
  1729. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1730. type: integer
  1731. customeraccountid:
  1732. description: 客户资金账户ID
  1733. type: integer
  1734. customeruserid:
  1735. description: 客户ID
  1736. type: integer
  1737. deliverygoodsdesc:
  1738. description: 品种说明
  1739. type: string
  1740. deliverygoodsid:
  1741. description: 现货品种ID
  1742. type: integer
  1743. handlestatus:
  1744. description: 处理状态
  1745. type: integer
  1746. invoiceatt:
  1747. description: 发票附件
  1748. type: string
  1749. invoicedatetime:
  1750. description: 开收票更新时间
  1751. type: string
  1752. invoiceopentime:
  1753. description: 开票时间
  1754. type: string
  1755. invoiceremark:
  1756. description: 发票备注
  1757. type: string
  1758. invoicestatus:
  1759. description: 开收票状态 - 0:未开票 1:已开票
  1760. type: integer
  1761. lastdate:
  1762. description: 交货时间
  1763. type: string
  1764. marketid:
  1765. description: 市场ID
  1766. type: integer
  1767. paydatetime:
  1768. description: 收付款更新时间
  1769. type: string
  1770. payremark:
  1771. description: 收付款备注
  1772. type: string
  1773. paystatus:
  1774. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1775. type: integer
  1776. positionqty:
  1777. description: 头寸数量 - 合同数量去小数部分
  1778. type: integer
  1779. producttype:
  1780. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1781. type: integer
  1782. relatedqty:
  1783. description: 已关联数量
  1784. type: number
  1785. relatedstatus:
  1786. description: 关联完结状态 - 0:未结束 1:已结束
  1787. type: integer
  1788. remark:
  1789. description: 备注
  1790. type: string
  1791. signdate:
  1792. description: 签订日期
  1793. type: string
  1794. spotcontractid:
  1795. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1796. type: string
  1797. spotdatetime:
  1798. description: 收发货更新时间
  1799. type: string
  1800. spotprice:
  1801. description: 价格
  1802. type: number
  1803. spotremark:
  1804. description: 收发货备注
  1805. type: string
  1806. spotstatus:
  1807. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1808. type: integer
  1809. tradedate:
  1810. description: 交易日(yyyyMMdd)
  1811. type: string
  1812. userid:
  1813. description: 业务员用户ID
  1814. type: integer
  1815. warehouseid:
  1816. description: 仓库ID
  1817. type: integer
  1818. wrfactortypeid:
  1819. description: 仓单要素类型ID
  1820. type: integer
  1821. wrstandardid:
  1822. description: 仓单标准ID(SEQ_WRSTANDARD)
  1823. type: integer
  1824. required:
  1825. - spotcontractid
  1826. type: object
  1827. erms3.AddErms2ASApplyReq:
  1828. properties:
  1829. applybasis:
  1830. description: 申请基差
  1831. type: number
  1832. applystatus:
  1833. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1834. type: integer
  1835. asapplyid:
  1836. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1837. type: integer
  1838. asname:
  1839. description: 策略名称
  1840. type: string
  1841. asno:
  1842. description: 策略编号
  1843. type: string
  1844. auditid:
  1845. description: 审核人
  1846. type: integer
  1847. auditremark:
  1848. description: 审核备注
  1849. type: string
  1850. audittime:
  1851. description: 审核时间
  1852. type: string
  1853. biztype:
  1854. description: 业务类型 - 1:正向套利 2:反向套利
  1855. type: integer
  1856. createtime:
  1857. description: 创建时间
  1858. type: string
  1859. creatorid:
  1860. description: 创建人
  1861. type: integer
  1862. deliverygoodsid:
  1863. description: 现货品种ID
  1864. type: integer
  1865. futurequote:
  1866. description: 期货额度
  1867. type: number
  1868. goodsgroupid:
  1869. description: 期货品种ID
  1870. type: integer
  1871. marketid:
  1872. description: 市场ID
  1873. type: integer
  1874. remark:
  1875. description: 备注
  1876. type: string
  1877. spotquota:
  1878. description: 现货额度
  1879. type: number
  1880. tradedate:
  1881. description: 交易日(yyyyMMdd)
  1882. type: string
  1883. userid:
  1884. description: 所属机构
  1885. type: integer
  1886. required:
  1887. - asapplyid
  1888. type: object
  1889. erms3.AddErms2SpotTradeApplyReq:
  1890. properties:
  1891. applyjsondetail:
  1892. description: 申请明细(JSON)
  1893. type: string
  1894. applystatus:
  1895. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1896. type: integer
  1897. areauserid:
  1898. description: 所属机构
  1899. type: integer
  1900. auditid:
  1901. description: 审核人
  1902. type: integer
  1903. auditremark:
  1904. description: 审核备注
  1905. type: string
  1906. audittime:
  1907. description: 审核时间
  1908. type: string
  1909. createtime:
  1910. description: 创建时间
  1911. type: string
  1912. creatorid:
  1913. description: 创建人
  1914. type: integer
  1915. deliverygoodsid:
  1916. description: 现货品种ID
  1917. type: integer
  1918. futureaccountid:
  1919. description: 期货资金账户
  1920. type: integer
  1921. goodsgroupid:
  1922. description: 期货品种
  1923. type: integer
  1924. marketid:
  1925. description: 市场ID
  1926. type: integer
  1927. remark:
  1928. description: 备注
  1929. type: string
  1930. spotaccountid:
  1931. description: 现货资金账户
  1932. type: integer
  1933. spottradeid:
  1934. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1935. type: integer
  1936. spottradename:
  1937. description: 业务名称
  1938. type: string
  1939. spottradeno:
  1940. description: 业务编号
  1941. type: string
  1942. tradedate:
  1943. description: 交易日(yyyyMMdd)
  1944. type: string
  1945. wrstandardid:
  1946. description: 仓单标准ID
  1947. type: integer
  1948. required:
  1949. - spottradeid
  1950. type: object
  1951. erms3.AddSpotContractApplyReq:
  1952. properties:
  1953. accountid:
  1954. description: 资金账户ID
  1955. type: integer
  1956. areauserid:
  1957. description: 所属机构
  1958. type: integer
  1959. contractattachment:
  1960. description: 合同附件
  1961. type: string
  1962. contractno:
  1963. description: 现货合同编号
  1964. type: string
  1965. contracttype:
  1966. description: 现货合同类型 - 1:采购 -1:销售
  1967. type: integer
  1968. creatorid:
  1969. description: 申请人
  1970. type: integer
  1971. customeraccountid:
  1972. description: 客户资金账户ID
  1973. type: integer
  1974. customeruserid:
  1975. description: 客户ID
  1976. type: integer
  1977. details:
  1978. description: 明细
  1979. items:
  1980. $ref: '#/definitions/erms3.SoptContractDetail'
  1981. type: array
  1982. orimargin:
  1983. description: 初始保证金
  1984. type: number
  1985. remark:
  1986. description: 备注
  1987. type: string
  1988. signdate:
  1989. description: 签订日期
  1990. type: string
  1991. required:
  1992. - accountid
  1993. - areauserid
  1994. - contractno
  1995. - contracttype
  1996. - customeraccountid
  1997. - customeruserid
  1998. - details
  1999. - orimargin
  2000. - signdate
  2001. type: object
  2002. erms3.AddSpotContractApplyRsp:
  2003. properties:
  2004. contractno:
  2005. description: 现货合同编号
  2006. type: string
  2007. spotcontractid:
  2008. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2009. type: integer
  2010. required:
  2011. - contractno
  2012. type: object
  2013. erms3.AddUserInfoApplyReq:
  2014. properties:
  2015. accountid:
  2016. description: 交易系统帐号Id (加密存储)
  2017. type: integer
  2018. areacode:
  2019. description: 机构代码
  2020. type: string
  2021. areaid:
  2022. description: 机构Id
  2023. type: integer
  2024. attachment1:
  2025. description: 附件1
  2026. type: string
  2027. attachment2:
  2028. description: 附件2
  2029. type: string
  2030. attachment3:
  2031. description: 附件3
  2032. type: string
  2033. attachment4:
  2034. description: 附件4
  2035. type: string
  2036. attachment5:
  2037. description: 附件5
  2038. type: string
  2039. auditedby:
  2040. description: 审核人
  2041. type: string
  2042. auditime:
  2043. description: 审核时间
  2044. type: string
  2045. bankaccount:
  2046. description: 银行帐号 (加密存储)
  2047. type: string
  2048. bankaccountname:
  2049. description: 收款人名称
  2050. type: string
  2051. bankcardbackphotourl:
  2052. description: 银行卡背面照地址
  2053. type: string
  2054. bankcardfrontphotourl:
  2055. description: 银行卡正面照地址
  2056. type: string
  2057. bankid:
  2058. description: 银行编码
  2059. type: string
  2060. bankname:
  2061. description: 银行名称
  2062. type: string
  2063. bankpictureurl:
  2064. description: 银行卡正面地址
  2065. type: string
  2066. biznature:
  2067. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2068. type: integer
  2069. bizscope:
  2070. description: 企业经营范围(企业)
  2071. type: string
  2072. biztype:
  2073. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2074. type: integer
  2075. brokerid:
  2076. description: 经纪人ID(加密存储)
  2077. type: string
  2078. cardaddress:
  2079. description: 证件地址 (加密存储)
  2080. type: string
  2081. cardbackphotourl:
  2082. description: 背面证件照地址
  2083. type: string
  2084. cardfrontphotourl:
  2085. description: 正面证件照地址
  2086. type: string
  2087. cardnum:
  2088. description: 证件号码 (加密存储)
  2089. type: string
  2090. cardtype:
  2091. description: 证件类型
  2092. type: integer
  2093. cityid:
  2094. description: 市
  2095. type: integer
  2096. company:
  2097. description: 公司(个人)
  2098. type: string
  2099. contactcardbackphotourl:
  2100. description: 联系人证件背面图片地址
  2101. type: string
  2102. contactcardfrontphotourl:
  2103. description: 联系人证件正面图片地址
  2104. type: string
  2105. contactname:
  2106. description: 联系人
  2107. type: string
  2108. countryid:
  2109. description: 国家
  2110. type: integer
  2111. createtime:
  2112. description: 开户申请时间
  2113. type: string
  2114. cusbankid:
  2115. description: 签约类型
  2116. type: string
  2117. cusbankname:
  2118. description: 签约类型名称
  2119. type: string
  2120. customername:
  2121. description: 客户名称(企业名称)
  2122. type: string
  2123. districtid:
  2124. description: 地区
  2125. type: integer
  2126. email:
  2127. description: Email地址(加密存储)
  2128. type: string
  2129. halfbodyphotourl:
  2130. description: 半身照地址
  2131. type: string
  2132. headurl:
  2133. description: 头像地址
  2134. type: string
  2135. ipaddress:
  2136. description: IP地址
  2137. type: string
  2138. isvalidate:
  2139. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2140. type: string
  2141. legalcardbackphotourl:
  2142. description: 法人身份证背面照地址
  2143. type: string
  2144. legalcardfrontphotourl:
  2145. description: 法人身份证正面照地址
  2146. type: string
  2147. legalpersonname:
  2148. description: 法人姓名(企业)
  2149. type: string
  2150. logincode:
  2151. description: 登录帐号 (加密存储)
  2152. type: string
  2153. memberareaid:
  2154. description: 所属会员ID
  2155. type: integer
  2156. mobile2:
  2157. description: 手机号码[明文-尚志]
  2158. type: string
  2159. mobilephone:
  2160. description: 手机号码 (加密存储)
  2161. type: string
  2162. modifiedby:
  2163. description: 修改人帐号
  2164. type: integer
  2165. modifiedtime:
  2166. description: 修改时间
  2167. type: string
  2168. nickname:
  2169. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2170. type: string
  2171. openmode:
  2172. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2173. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2174. type: integer
  2175. otherurl:
  2176. description: 其它图片地址[使用分号分隔]
  2177. type: string
  2178. postalcode:
  2179. description: 邮政编码
  2180. type: string
  2181. provinceid:
  2182. description: 省
  2183. type: integer
  2184. proxystatementurl:
  2185. description: 授权委托书
  2186. type: string
  2187. qq:
  2188. description: QQ(加密存储
  2189. type: string
  2190. referral:
  2191. description: 推荐人编码
  2192. type: string
  2193. remark:
  2194. description: 备注
  2195. type: string
  2196. removebeforestatus:
  2197. description: REMOVEBEFORESTATUS
  2198. type: integer
  2199. sex:
  2200. description: 性别 - 0:女 1:男
  2201. type: integer
  2202. signedstatus:
  2203. description: 账户一号签签约状态
  2204. type: integer
  2205. signpdfurl:
  2206. description: 签约pdf文件
  2207. type: string
  2208. subbranch:
  2209. description: 开户支行
  2210. type: string
  2211. telphone:
  2212. description: 联系电话(加密存储)
  2213. type: string
  2214. userid:
  2215. description: 用户ID(自增ID)
  2216. type: integer
  2217. userinfotype:
  2218. description: 用户信息类型 - 1:个人 2:企业
  2219. type: integer
  2220. username:
  2221. description: 用户姓名
  2222. type: string
  2223. userstate:
  2224. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2225. type: integer
  2226. usertype:
  2227. description: 用户类型 - 1:投资者 2:机构
  2228. type: integer
  2229. videourl:
  2230. description: 视频地址
  2231. type: string
  2232. wechat:
  2233. description: 微信号 (加密存储)
  2234. type: string
  2235. required:
  2236. - userid
  2237. type: object
  2238. erms3.CustomerInfo:
  2239. properties:
  2240. accountids:
  2241. description: 资金账户ID列表
  2242. items:
  2243. type: integer
  2244. type: array
  2245. customername:
  2246. description: 名称(企业名称)
  2247. type: string
  2248. mobile:
  2249. description: 手机号码
  2250. type: string
  2251. userid:
  2252. description: 用户ID
  2253. type: integer
  2254. required:
  2255. - userid
  2256. type: object
  2257. erms3.QryAuditContractRsp:
  2258. properties:
  2259. accountid:
  2260. description: 交易员ID
  2261. type: string
  2262. applystatus:
  2263. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2264. type: integer
  2265. curdeliveryqty:
  2266. description: 未交收量
  2267. type: integer
  2268. customername:
  2269. description: 采购方ID
  2270. type: string
  2271. deliverygoodsid:
  2272. description: 品种ID
  2273. type: string
  2274. deliveryqty:
  2275. description: 交收量
  2276. type: integer
  2277. enumdicname:
  2278. description: 单位名称
  2279. type: string
  2280. matchaccountid:
  2281. description: 业务员ID
  2282. type: string
  2283. matchcustomername:
  2284. description: 销售方ID
  2285. type: string
  2286. pricedqty:
  2287. description: 定价量
  2288. type: number
  2289. signdate:
  2290. description: 签订日期
  2291. type: string
  2292. spotcontractid:
  2293. description: 合同ID
  2294. type: string
  2295. totaldqty:
  2296. description: 合同量
  2297. type: number
  2298. unpricedqty:
  2299. description: 未定价量
  2300. type: number
  2301. wrstandardname:
  2302. description: 商品名称
  2303. type: string
  2304. required:
  2305. - matchcustomername
  2306. - spotcontractid
  2307. type: object
  2308. erms3.QryPendingBizRsp:
  2309. properties:
  2310. accountid:
  2311. description: 现货账户
  2312. type: string
  2313. areaname:
  2314. description: 所属部门
  2315. type: string
  2316. bizid:
  2317. description: 业务ID
  2318. type: string
  2319. bizname:
  2320. description: 业务名称
  2321. type: string
  2322. status:
  2323. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2324. type: integer
  2325. type:
  2326. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  2327. type: integer
  2328. type: object
  2329. erms3.QueryBusinessInfoRsp:
  2330. properties:
  2331. businessid:
  2332. description: 业务ID.
  2333. type: integer
  2334. buyamount:
  2335. description: 采购额.
  2336. type: number
  2337. buyqty:
  2338. description: 采购量.
  2339. type: string
  2340. futurepl:
  2341. description: 期货盈亏.
  2342. type: number
  2343. futureqty:
  2344. description: 期货敞口.
  2345. type: string
  2346. goodsid:
  2347. description: 商品名称/商品代码.
  2348. type: string
  2349. hedgingqty:
  2350. description: 套保量.
  2351. type: string
  2352. sellamount:
  2353. description: 销售额.
  2354. type: number
  2355. sellqty:
  2356. description: 销售量.
  2357. type: string
  2358. spotmarketvalue:
  2359. description: 现货市值.
  2360. type: number
  2361. spotpl:
  2362. description: 浮动权益.
  2363. type: number
  2364. spotqty:
  2365. description: 现货量.
  2366. type: string
  2367. statu:
  2368. description: 状态,0-未结束 1-已结束.
  2369. type: integer
  2370. totalpl:
  2371. description: 总盈亏.
  2372. type: number
  2373. totalqty:
  2374. description: 总敞口.
  2375. type: string
  2376. type:
  2377. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2378. type: integer
  2379. type: object
  2380. erms3.QuerySpotContractAppleFormRsp:
  2381. properties:
  2382. goodses:
  2383. description: 合约列表
  2384. items:
  2385. $ref: '#/definitions/models.GoodsIDAndName'
  2386. type: array
  2387. oppositeusers:
  2388. description: 对方账号列表
  2389. items:
  2390. $ref: '#/definitions/erms3.CustomerInfo'
  2391. type: array
  2392. ouruser:
  2393. $ref: '#/definitions/erms3.CustomerInfo'
  2394. description: 我方账号
  2395. warehouseinfos:
  2396. description: 仓库信息列表
  2397. items:
  2398. $ref: '#/definitions/models.Warehouseinfo'
  2399. type: array
  2400. wrstandards:
  2401. description: 仓单标准列表
  2402. items:
  2403. $ref: '#/definitions/models.WRStandardInfo'
  2404. type: array
  2405. type: object
  2406. erms3.QuerySpotContractInfoRsp:
  2407. properties:
  2408. accountid:
  2409. description: 表示交易员ID.
  2410. type: integer
  2411. curdeliveryqty:
  2412. description: 表示未交收量.
  2413. type: number
  2414. customername:
  2415. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2416. type: string
  2417. deliverygoodsid:
  2418. description: 表示品种ID.
  2419. type: string
  2420. deliveryqty:
  2421. description: 表示交收量.
  2422. type: number
  2423. matchaccountid:
  2424. description: 表示业务员ID.
  2425. type: integer
  2426. matchcustomername:
  2427. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2428. type: string
  2429. priceqty:
  2430. description: 表示定价量.
  2431. type: number
  2432. relatedbizid:
  2433. description: 表示业务ID.
  2434. type: string
  2435. signdate:
  2436. description: 表示签订日期.
  2437. type: string
  2438. spotcontractid:
  2439. description: 合同ID
  2440. type: string
  2441. status:
  2442. description: 表示状态,0-履约中 1-已完成.
  2443. type: integer
  2444. totalqty:
  2445. description: 表示合同量.
  2446. type: number
  2447. unpricedqty:
  2448. description: 表示未定价量.
  2449. type: number
  2450. wrstandardname:
  2451. description: 表示商品ID.
  2452. type: string
  2453. type: object
  2454. erms3.QueryUserInfoAppliesRsp:
  2455. properties:
  2456. biznature:
  2457. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2458. type: integer
  2459. contactname:
  2460. description: 联系人
  2461. type: string
  2462. createtime:
  2463. description: 开户申请时间
  2464. type: string
  2465. userid:
  2466. description: 用户ID(自增ID)
  2467. type: integer
  2468. userinfotype:
  2469. description: 用户信息类型 - 1:个人 2:企业
  2470. type: integer
  2471. username:
  2472. description: 用户姓名
  2473. type: string
  2474. userstate:
  2475. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2476. type: integer
  2477. required:
  2478. - userid
  2479. type: object
  2480. erms3.QueryUserInfosRsp:
  2481. properties:
  2482. biznature:
  2483. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2484. type: integer
  2485. contactname:
  2486. description: 联系人
  2487. type: string
  2488. customername:
  2489. description: 客户名称(企业名称)
  2490. type: string
  2491. userid:
  2492. description: 用户ID
  2493. type: integer
  2494. userinfotype:
  2495. description: 用户信息类型 - 1:个人 2:企业
  2496. type: integer
  2497. userstatus:
  2498. description: 用户状态 - 1:正常 2:注销
  2499. type: integer
  2500. required:
  2501. - userid
  2502. type: object
  2503. erms3.SoptContractDetail:
  2504. properties:
  2505. deliverygoodsdesc:
  2506. description: 现货品种说明
  2507. type: string
  2508. deliverygoodsid:
  2509. description: 现货品种ID
  2510. type: integer
  2511. deliverygoodsname:
  2512. description: 现货品种名称
  2513. type: string
  2514. pointdesc:
  2515. description: 点价描述
  2516. type: string
  2517. producttype:
  2518. description: 产品类型 1:标准仓单 2:等标 3:非标
  2519. type: integer
  2520. producttypename:
  2521. description: 产品类型名称
  2522. type: string
  2523. spotPointOrderVoList:
  2524. description: 点价列表
  2525. items:
  2526. $ref: '#/definitions/erms3.SpotPointOrder'
  2527. type: array
  2528. spotPriceOrderList:
  2529. description: 定价列表
  2530. items:
  2531. $ref: '#/definitions/erms3.SpotPriceOrder'
  2532. type: array
  2533. unitname:
  2534. description: 单位名称
  2535. type: string
  2536. warehouseid:
  2537. description: 仓库ID
  2538. type: integer
  2539. warehousename:
  2540. description: 仓库名称
  2541. type: string
  2542. wrstandardid:
  2543. description: 交易标的ID
  2544. type: integer
  2545. wrstandardname:
  2546. description: 交易标的名称
  2547. type: string
  2548. required:
  2549. - deliverygoodsid
  2550. - producttype
  2551. - unitname
  2552. - warehouseid
  2553. - wrstandardid
  2554. - wrstandardname
  2555. type: object
  2556. erms3.SpotPointOrder:
  2557. properties:
  2558. basic:
  2559. description: 基差
  2560. type: number
  2561. deliveryenddate:
  2562. description: 交收结束日期
  2563. type: string
  2564. deliverystartdate:
  2565. description: 交收开始日期
  2566. type: string
  2567. enddate:
  2568. description: 点价结束日期
  2569. type: string
  2570. goodsid:
  2571. description: 商品ID
  2572. type: integer
  2573. goodsname:
  2574. description: 商品名称
  2575. type: string
  2576. qty:
  2577. description: 数量
  2578. type: number
  2579. startdate:
  2580. description: 点价开始日期
  2581. type: string
  2582. required:
  2583. - basic
  2584. - goodsid
  2585. - qty
  2586. type: object
  2587. erms3.SpotPriceOrder:
  2588. properties:
  2589. amount:
  2590. description: 金额
  2591. type: number
  2592. deliveryenddate:
  2593. description: 交收结束日期
  2594. type: string
  2595. deliverystartdate:
  2596. description: 交收开始日期
  2597. type: string
  2598. price:
  2599. description: 价格
  2600. type: number
  2601. qty:
  2602. description: 数量
  2603. type: number
  2604. required:
  2605. - amount
  2606. - price
  2607. - qty
  2608. type: object
  2609. hsby.GetHsbyMyCountRsp:
  2610. properties:
  2611. myCouponCount:
  2612. description: 我的优惠卷数量
  2613. type: integer
  2614. myOrderDetailListingCount:
  2615. description: 我的订单求购中数量
  2616. type: integer
  2617. myOrderDetailPreCount:
  2618. description: 我的订单抢购中数量
  2619. type: integer
  2620. myPackageUnReceiveCount:
  2621. description: 我的包裹待收货数量
  2622. type: integer
  2623. myPackageUnSendCount:
  2624. description: 我的包裹待发货数量
  2625. type: integer
  2626. myPayOrderCount:
  2627. description: 我的订单待付款数量
  2628. type: integer
  2629. type: object
  2630. hsby.QueryProvincesAndCitiesRsp:
  2631. properties:
  2632. cities:
  2633. description: 市
  2634. items:
  2635. $ref: '#/definitions/models.Division'
  2636. type: array
  2637. province:
  2638. $ref: '#/definitions/models.Division'
  2639. description: 省
  2640. type: object
  2641. models.Clientfixedadconfig:
  2642. properties:
  2643. adsort:
  2644. description: 排序
  2645. type: integer
  2646. adtype:
  2647. description: 广告位类型 - 1:新品抢购(HSBY)
  2648. type: integer
  2649. areauserid:
  2650. description: 所属机构ID
  2651. type: integer
  2652. createdate:
  2653. description: 创建时间
  2654. type: string
  2655. creatorid:
  2656. description: 创建人
  2657. type: integer
  2658. imagepath:
  2659. description: 图片
  2660. type: string
  2661. isshow:
  2662. description: 是否展示 - 0:不展示 1:展示
  2663. type: integer
  2664. modifierid:
  2665. description: 操作人
  2666. type: integer
  2667. recsize:
  2668. description: 推荐尺寸
  2669. type: string
  2670. title:
  2671. description: 标题
  2672. type: string
  2673. updatedate:
  2674. description: 更新时间
  2675. type: string
  2676. urlcontent:
  2677. description: 链接(地址或商品ID)
  2678. type: string
  2679. urltype:
  2680. description: 链接类型 - 1:直接地址 2:商品ID
  2681. type: integer
  2682. required:
  2683. - adsort
  2684. - adtype
  2685. type: object
  2686. models.Division:
  2687. properties:
  2688. autoid:
  2689. description: 自增ID
  2690. type: integer
  2691. divisioncode:
  2692. description: 行政代码
  2693. type: string
  2694. divisionlevel:
  2695. description: 行政级别
  2696. type: string
  2697. divisionname:
  2698. description: 行政名称
  2699. type: string
  2700. modifierid:
  2701. description: 修改人
  2702. type: integer
  2703. modifytime:
  2704. description: 修改时间
  2705. type: string
  2706. parentcode:
  2707. description: 上级行政代码
  2708. type: string
  2709. pathname:
  2710. description: 路径名称
  2711. type: string
  2712. postcode:
  2713. description: 邮政编码
  2714. type: string
  2715. separablename:
  2716. description: 可拆分的全称
  2717. type: string
  2718. shortcode:
  2719. description: 地区简码
  2720. type: string
  2721. required:
  2722. - autoid
  2723. - divisioncode
  2724. type: object
  2725. models.Enumdicitem:
  2726. properties:
  2727. autoid:
  2728. description: 自增ID
  2729. type: integer
  2730. bankmappedvalue:
  2731. description: 银行服务对应值
  2732. type: string
  2733. enumdiccode:
  2734. description: 所属枚举代码
  2735. type: string
  2736. enumdicid:
  2737. description: 所属枚举ID
  2738. type: integer
  2739. enumdicname:
  2740. description: 枚举项名称
  2741. type: string
  2742. enumitemname:
  2743. description: 枚举项值
  2744. type: integer
  2745. enumitemstatus:
  2746. description: 枚举项状态 - 1.启用 2.不启用
  2747. type: integer
  2748. enumitemvalue:
  2749. description: 通用值 - [币种通用简写]
  2750. type: string
  2751. param1:
  2752. description: 参数1[币种:币种小数位]
  2753. type: string
  2754. param2:
  2755. description: 参数1[币种:币种显示单位]
  2756. type: string
  2757. remark:
  2758. description: 备注
  2759. type: string
  2760. required:
  2761. - autoid
  2762. - enumdiccode
  2763. - enumdicid
  2764. - enumitemname
  2765. type: object
  2766. models.GoodsIDAndName:
  2767. properties:
  2768. goodscode:
  2769. description: 商品代码(内部)
  2770. type: string
  2771. goodsid:
  2772. description: 商品ID(自增ID SEQ_GOODS)
  2773. type: integer
  2774. goodsname:
  2775. description: 商品名称
  2776. type: string
  2777. marketid:
  2778. description: 所属市场ID
  2779. type: integer
  2780. required:
  2781. - goodscode
  2782. - goodsid
  2783. - goodsname
  2784. - marketid
  2785. type: object
  2786. models.HsbyBuyMyPayOrder:
  2787. properties:
  2788. agreeunit:
  2789. description: 合约单位
  2790. type: number
  2791. buyaccountid:
  2792. description: 买方账号ID[报价币种]
  2793. type: integer
  2794. buyorderid:
  2795. description: 买方委托单号
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. currencysign:
  2801. description: 货币符号
  2802. type: string
  2803. decimalplace:
  2804. description: 报价小数位
  2805. type: integer
  2806. goodscode:
  2807. description: 商品代码(内部)
  2808. type: string
  2809. goodsid:
  2810. description: 商品ID
  2811. type: integer
  2812. goodsname:
  2813. description: 商品名称
  2814. type: string
  2815. marketid:
  2816. description: 市场ID
  2817. type: integer
  2818. offamount:
  2819. description: 优惠金额
  2820. type: number
  2821. payamount:
  2822. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  2823. type: number
  2824. payflag:
  2825. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  2826. type: integer
  2827. paylimitedtime:
  2828. description: 支付期限
  2829. type: string
  2830. paytime:
  2831. description: 付款时间
  2832. type: string
  2833. picurls1:
  2834. description: 预售商品介绍图片[多张用逗号分隔]
  2835. type: string
  2836. picurls2:
  2837. description: 挂牌商品介绍图片[多张用逗号分隔]
  2838. type: string
  2839. sellaccountid:
  2840. description: 卖方账号ID[报价币种]
  2841. type: integer
  2842. sellorderid:
  2843. description: 卖方委托单号
  2844. type: string
  2845. tradeamount:
  2846. description: 成交金额
  2847. type: number
  2848. tradecharge:
  2849. description: 成交手续费(买方)
  2850. type: number
  2851. tradedate:
  2852. description: 交易日(yyyyMMdd)
  2853. type: string
  2854. tradeid:
  2855. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2856. type: string
  2857. trademode:
  2858. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2859. 21:竞拍-大宗式 22:受托竞价
  2860. type: integer
  2861. tradeprice:
  2862. description: 成交价格
  2863. type: number
  2864. tradeqty:
  2865. description: 成交数量
  2866. type: integer
  2867. vendorname1:
  2868. description: 预售商品供应商名称
  2869. type: string
  2870. vendorname2:
  2871. description: 挂牌商品供应商名称
  2872. type: string
  2873. required:
  2874. - goodscode
  2875. - goodsname
  2876. - tradeid
  2877. - trademode
  2878. type: object
  2879. models.HsbyBuyMyTradeDetail:
  2880. properties:
  2881. accountid:
  2882. description: 账户ID[报价币种]
  2883. type: integer
  2884. agreeunit:
  2885. description: 合约单位
  2886. type: number
  2887. amount:
  2888. description: 金额 = 价格 * 数量 * 合约单位
  2889. type: number
  2890. buyorsell:
  2891. description: 买卖 - 0:买 1:卖
  2892. type: integer
  2893. currencysign:
  2894. description: 货币符号
  2895. type: string
  2896. decimalplace:
  2897. description: 报价小数位
  2898. type: integer
  2899. goodscode:
  2900. description: 商品代码(内部)
  2901. type: string
  2902. goodsid:
  2903. description: 商品ID
  2904. type: integer
  2905. goodsname:
  2906. description: 商品名称
  2907. type: string
  2908. marketid:
  2909. description: 市场ID
  2910. type: integer
  2911. orderid:
  2912. description: 单号(成交单号)
  2913. type: string
  2914. picurls1:
  2915. description: 预售商品介绍图片[多张用逗号分隔]
  2916. type: string
  2917. picurls2:
  2918. description: 挂牌商品介绍图片[多张用逗号分隔]
  2919. type: string
  2920. price:
  2921. description: 价格
  2922. type: number
  2923. qty:
  2924. description: 数量
  2925. type: integer
  2926. time:
  2927. description: 时间
  2928. type: string
  2929. trademode:
  2930. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  2931. 21:竞拍-大宗式 22:受托竞价
  2932. type: integer
  2933. vendorname1:
  2934. description: 预售商品供应商名称
  2935. type: string
  2936. vendorname2:
  2937. description: 挂牌商品供应商名称
  2938. type: string
  2939. required:
  2940. - accountid
  2941. - buyorsell
  2942. - goodscode
  2943. - goodsid
  2944. - goodsname
  2945. - marketid
  2946. - orderid
  2947. - qty
  2948. - time
  2949. - trademode
  2950. type: object
  2951. models.HsbyGoodsOrderDetail:
  2952. properties:
  2953. buyorsell:
  2954. description: 买卖 - 0:买 1:卖
  2955. type: integer
  2956. currencysign:
  2957. description: 货币符号
  2958. type: string
  2959. customername:
  2960. description: 客户名称(企业名称),已脱敏
  2961. type: string
  2962. enableqty:
  2963. description: 可用数量
  2964. type: integer
  2965. goodunit:
  2966. description: 报价单位
  2967. type: string
  2968. orderid:
  2969. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2970. type: string
  2971. orderprice:
  2972. description: 委托价格
  2973. type: number
  2974. ordertime:
  2975. description: 委托时间
  2976. type: string
  2977. required:
  2978. - buyorsell
  2979. - orderid
  2980. - ordertime
  2981. type: object
  2982. models.HsbyListingGoodsDetail:
  2983. properties:
  2984. agreeunit:
  2985. description: 合约单位
  2986. type: number
  2987. buymaxqty:
  2988. description: 购买上限 [71] - 0为不限
  2989. type: integer
  2990. currency:
  2991. description: 货币
  2992. type: string
  2993. currencysign:
  2994. description: 货币符号
  2995. type: string
  2996. decimalplace:
  2997. description: 报价小数位
  2998. type: integer
  2999. desccityid:
  3000. description: 目的地(市)ID
  3001. type: integer
  3002. descprovinceid:
  3003. description: 目的地(省)ID
  3004. type: integer
  3005. goodscode:
  3006. description: 商品代码(内部)
  3007. type: string
  3008. goodsdesc:
  3009. description: 商品详情
  3010. type: string
  3011. goodsid:
  3012. description: 商品ID(自增ID SEQ_GOODS)
  3013. type: integer
  3014. goodsname:
  3015. description: 商品名称
  3016. type: string
  3017. goodsprice:
  3018. description: 商品价格
  3019. type: number
  3020. hotindex:
  3021. description: 景点热度
  3022. type: integer
  3023. last:
  3024. description: 现价
  3025. type: number
  3026. limitdown:
  3027. description: 跌停价
  3028. type: number
  3029. limitup:
  3030. description: 涨停价
  3031. type: number
  3032. lotsize:
  3033. description: 手数最小变动单位
  3034. type: integer
  3035. marketid:
  3036. description: 所属市场ID
  3037. type: integer
  3038. picurls:
  3039. description: 介绍图片[多张用逗号分隔]
  3040. type: string
  3041. quoteminunit:
  3042. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3043. type: integer
  3044. stepvalue:
  3045. description: 价格最小变动单位
  3046. type: number
  3047. trademode:
  3048. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3049. 21:竞拍-大宗式 22:受托竞价
  3050. type: integer
  3051. vendorattr:
  3052. description: 供应商附件(多张,逗号分隔)
  3053. type: string
  3054. vendorname:
  3055. description: 供应商名称
  3056. type: string
  3057. vendorphone:
  3058. description: 供应商客服电话
  3059. type: string
  3060. videourls:
  3061. description: 介绍视频[多张用逗号分隔]
  3062. type: string
  3063. required:
  3064. - goodscode
  3065. - goodsid
  3066. - goodsname
  3067. - marketid
  3068. - trademode
  3069. type: object
  3070. models.HsbyMarketGoods:
  3071. properties:
  3072. accountid:
  3073. description: 账户ID[报价币种]
  3074. type: integer
  3075. agreeunit:
  3076. description: 合约单位
  3077. type: number
  3078. buyorsell:
  3079. description: 买卖 - 0:买 1:卖
  3080. type: integer
  3081. categoryid:
  3082. description: 类别ID(WRCATEGORY)
  3083. type: integer
  3084. currency:
  3085. description: 货币
  3086. type: string
  3087. currencysign:
  3088. description: 货币符号
  3089. type: string
  3090. customername:
  3091. description: 卖家名称
  3092. type: string
  3093. decimalplace:
  3094. description: 报价小数位
  3095. type: integer
  3096. goodscode:
  3097. description: 商品代码(内部)
  3098. type: string
  3099. goodsid:
  3100. description: 商品ID
  3101. type: integer
  3102. goodsname:
  3103. description: 商品名称
  3104. type: string
  3105. hascoupon:
  3106. description: 是否可用优惠卷
  3107. type: boolean
  3108. hotindex:
  3109. description: 景点热度
  3110. type: integer
  3111. marketid:
  3112. description: 市场ID
  3113. type: integer
  3114. orderid:
  3115. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3116. type: string
  3117. orderprice:
  3118. description: 委托价格
  3119. type: number
  3120. orderstatus:
  3121. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3122. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3123. 16:成交失败违约(荷兰式竞拍专用)
  3124. type: integer
  3125. picurls:
  3126. description: 介绍图片[多张用逗号分隔]
  3127. type: string
  3128. quoteminunit:
  3129. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3130. type: integer
  3131. sellUserID:
  3132. description: 卖方UserID
  3133. type: integer
  3134. trademode:
  3135. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3136. 21:竞拍-大宗式 22:受托竞价
  3137. type: integer
  3138. videourls:
  3139. description: 介绍视频[多张用逗号分隔]
  3140. type: string
  3141. required:
  3142. - accountid
  3143. - buyorsell
  3144. - goodscode
  3145. - goodsid
  3146. - goodsname
  3147. - marketid
  3148. - orderid
  3149. - trademode
  3150. type: object
  3151. models.HsbyMarketGoodsDetail:
  3152. properties:
  3153. accountid:
  3154. description: 账户ID[报价币种]
  3155. type: integer
  3156. agreeunit:
  3157. description: 合约单位
  3158. type: number
  3159. buymaxqty:
  3160. description: 购买上限 [71] - 0为不限
  3161. type: integer
  3162. buyorsell:
  3163. description: 买卖 - 0:买 1:卖
  3164. type: integer
  3165. cancelqty:
  3166. description: 撤单数量
  3167. type: integer
  3168. categoryid:
  3169. description: 类别ID(WRCATEGORY)
  3170. type: integer
  3171. currency:
  3172. description: 货币
  3173. type: string
  3174. currencysign:
  3175. description: 货币符号
  3176. type: string
  3177. customername:
  3178. description: 卖家名称
  3179. type: string
  3180. decimalplace:
  3181. description: 报价小数位
  3182. type: integer
  3183. goodscode:
  3184. description: 商品代码(内部)
  3185. type: string
  3186. goodsdesc:
  3187. description: 商品详情
  3188. type: string
  3189. goodsid:
  3190. description: 商品ID
  3191. type: integer
  3192. goodsname:
  3193. description: 商品名称
  3194. type: string
  3195. hotindex:
  3196. description: 景点热度
  3197. type: integer
  3198. lotsize:
  3199. description: 手数最小变动单位
  3200. type: integer
  3201. marketid:
  3202. description: 市场ID
  3203. type: integer
  3204. orderid:
  3205. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3206. type: string
  3207. orderprice:
  3208. description: 委托价格
  3209. type: number
  3210. orderqty:
  3211. description: 委托数量
  3212. type: integer
  3213. orderstatus:
  3214. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3215. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3216. 16:成交失败违约(荷兰式竞拍专用)
  3217. type: integer
  3218. picurls:
  3219. description: 介绍图片[多张用逗号分隔]
  3220. type: string
  3221. quoteminunit:
  3222. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3223. type: integer
  3224. sellUserID:
  3225. description: 卖方UserID
  3226. type: integer
  3227. trademode:
  3228. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3229. 21:竞拍-大宗式 22:受托竞价
  3230. type: integer
  3231. tradeqty:
  3232. description: 成交数量
  3233. type: integer
  3234. vendorattr:
  3235. description: 供应商附件(多张,逗号分隔)
  3236. type: string
  3237. vendorname:
  3238. description: 供应商名称
  3239. type: string
  3240. vendorphone:
  3241. description: 供应商客服电话
  3242. type: string
  3243. videourls:
  3244. description: 介绍视频[多张用逗号分隔]
  3245. type: string
  3246. required:
  3247. - accountid
  3248. - buyorsell
  3249. - goodscode
  3250. - goodsid
  3251. - goodsname
  3252. - marketid
  3253. - orderid
  3254. - orderqty
  3255. - trademode
  3256. type: object
  3257. models.HsbyMarketInfo:
  3258. properties:
  3259. marketid:
  3260. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  3261. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  3262. type: integer
  3263. marketname:
  3264. description: 市场名称
  3265. type: string
  3266. marketstatus:
  3267. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  3268. type: integer
  3269. trademode:
  3270. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3271. 21:竞拍-大宗式 22:受托竞价
  3272. type: integer
  3273. required:
  3274. - marketid
  3275. - marketstatus
  3276. - trademode
  3277. type: object
  3278. models.HsbyMyGoods:
  3279. properties:
  3280. accountid:
  3281. description: 账号Id
  3282. type: integer
  3283. agreeunit:
  3284. description: 合约单位
  3285. type: number
  3286. buyaverageprice:
  3287. description: 持仓均价
  3288. type: number
  3289. buycurholderamount:
  3290. description: 买当前持仓总金额[商品币种]
  3291. type: number
  3292. buycurpositionqty:
  3293. description: 买当前持仓总数量
  3294. type: integer
  3295. buymaxqty:
  3296. description: 购买上限 [71] - 0为不限
  3297. type: integer
  3298. currencysign:
  3299. description: 货币符号
  3300. type: string
  3301. decimalplace:
  3302. description: 报价小数位
  3303. type: integer
  3304. enableqty:
  3305. description: 可用数量
  3306. type: integer
  3307. goodscode:
  3308. description: 商品代码(内部)
  3309. type: string
  3310. goodsid:
  3311. description: 商品Id
  3312. type: integer
  3313. goodsname:
  3314. description: 商品名称
  3315. type: string
  3316. goodsprice:
  3317. description: 商品价格
  3318. type: number
  3319. goodsstatus:
  3320. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  3321. type: integer
  3322. last:
  3323. description: 现价(仅使用于挂牌点选)
  3324. type: number
  3325. limitdown:
  3326. description: 跌停价(仅使用于挂牌点选)
  3327. type: number
  3328. limitup:
  3329. description: 涨停价(仅使用于挂牌点选)
  3330. type: number
  3331. lotsize:
  3332. description: 手数最小变动单位
  3333. type: integer
  3334. marketid:
  3335. description: 所属市场ID
  3336. type: integer
  3337. picurls:
  3338. description: 介绍图片[多张用逗号分隔]
  3339. type: string
  3340. quoteminunit:
  3341. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3342. type: integer
  3343. stepvalue:
  3344. description: 价格最小变动单位
  3345. type: number
  3346. trademode:
  3347. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3348. 21:竞拍-大宗式 22:受托竞价
  3349. type: integer
  3350. required:
  3351. - accountid
  3352. - goodscode
  3353. - goodsid
  3354. - goodsname
  3355. - marketid
  3356. - trademode
  3357. type: object
  3358. models.HsbyMyPackage:
  3359. properties:
  3360. accountid:
  3361. description: 账户ID
  3362. type: integer
  3363. address:
  3364. description: 提货人详细地址
  3365. type: string
  3366. agreeunit:
  3367. description: 合约单位
  3368. type: number
  3369. amount:
  3370. description: 提货金额
  3371. type: number
  3372. auditer:
  3373. description: 审核人
  3374. type: integer
  3375. audittime:
  3376. description: 审核时间
  3377. type: string
  3378. averageprice:
  3379. description: 均价
  3380. type: number
  3381. cardnum:
  3382. description: 提货人证件号码
  3383. type: string
  3384. cardtypeid:
  3385. description: 提货人证件类型
  3386. type: integer
  3387. checkremark:
  3388. description: 审核备注
  3389. type: string
  3390. currencysign:
  3391. description: 货币符号
  3392. type: string
  3393. decimalplace:
  3394. description: 报价小数位
  3395. type: integer
  3396. goodscode:
  3397. description: 商品代码(内部)
  3398. type: string
  3399. goodsid:
  3400. description: 商品ID
  3401. type: integer
  3402. goodsname:
  3403. description: 商品名称
  3404. type: string
  3405. handlestatus:
  3406. description: 处理状态
  3407. type: integer
  3408. marketid:
  3409. description: 市场ID
  3410. type: integer
  3411. phonenum:
  3412. description: 提货人联系方式
  3413. type: string
  3414. picurls:
  3415. description: 介绍图片[多张用逗号分隔]
  3416. type: string
  3417. qty:
  3418. description: 提货数量
  3419. type: number
  3420. recivername:
  3421. description: 提货人姓名
  3422. type: string
  3423. reqtime:
  3424. description: 更新时间
  3425. type: string
  3426. takemode:
  3427. description: 提货方式 - 2:自提 3:配送
  3428. type: integer
  3429. takeorderid:
  3430. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  3431. type: string
  3432. takeorderstatus:
  3433. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  3434. type: integer
  3435. takeremark:
  3436. description: 提货备注
  3437. type: string
  3438. tradedate:
  3439. description: 交易日(yyyyMMdd)
  3440. type: string
  3441. userid:
  3442. description: 用户ID
  3443. type: integer
  3444. vendorname:
  3445. description: 供应商名称
  3446. type: string
  3447. required:
  3448. - goodscode
  3449. - goodsname
  3450. - takeorderid
  3451. type: object
  3452. models.HsbyPreGoods:
  3453. properties:
  3454. agreeunit:
  3455. description: 合约单位
  3456. type: number
  3457. currency:
  3458. description: 货币
  3459. type: string
  3460. currencysign:
  3461. description: 货币符号
  3462. type: string
  3463. decimalplace:
  3464. description: 报价小数位
  3465. type: integer
  3466. enableqty:
  3467. description: 剩余数量
  3468. type: integer
  3469. goodscode:
  3470. description: 商品代码(内部)
  3471. type: string
  3472. goodsid:
  3473. description: 商品ID(自增ID SEQ_GOODS)
  3474. type: integer
  3475. goodsname:
  3476. description: 商品名称
  3477. type: string
  3478. goodsstatus:
  3479. description: 商品状态- 2:未上市 3:上市
  3480. type: integer
  3481. lasttradedate:
  3482. description: 最后交易日期(状态:待退市)
  3483. type: string
  3484. listingdate:
  3485. description: 交易开始日期
  3486. type: string
  3487. marketid:
  3488. description: 所属市场ID
  3489. type: integer
  3490. picurls:
  3491. description: 介绍图片[多张用逗号分隔]
  3492. type: string
  3493. presaledqty:
  3494. description: 已预售量(预售结束时更新)
  3495. type: integer
  3496. presaleqty:
  3497. description: 预售数量
  3498. type: integer
  3499. quoteminunit:
  3500. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3501. type: integer
  3502. refprice:
  3503. description: 参考价格[一口价]
  3504. type: number
  3505. relatedgoodsid:
  3506. description: 关联交易合约ID
  3507. type: integer
  3508. trademode:
  3509. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3510. 21:竞拍-大宗式 22:受托竞价
  3511. type: integer
  3512. videourls:
  3513. description: 介绍视频[多张用逗号分隔]
  3514. type: string
  3515. required:
  3516. - goodscode
  3517. - goodsid
  3518. - goodsname
  3519. - marketid
  3520. - trademode
  3521. type: object
  3522. models.HsbyPreGoodsDetail:
  3523. properties:
  3524. agreeunit:
  3525. description: 合约单位
  3526. type: number
  3527. buymaxqty:
  3528. description: 购买上限 [71] - 0为不限
  3529. type: integer
  3530. currency:
  3531. description: 货币
  3532. type: string
  3533. currencysign:
  3534. description: 货币符号
  3535. type: string
  3536. customername:
  3537. description: 发行单位
  3538. type: string
  3539. decimalplace:
  3540. description: 报价小数位
  3541. type: integer
  3542. desccityid:
  3543. description: 目的地(市)ID
  3544. type: integer
  3545. descprovinceid:
  3546. description: 目的地(省)ID
  3547. type: integer
  3548. enableqty:
  3549. description: 剩余数量
  3550. type: integer
  3551. goodscode:
  3552. description: 商品代码(内部)
  3553. type: string
  3554. goodsdesc:
  3555. description: 商品详情
  3556. type: string
  3557. goodsid:
  3558. description: 商品ID(自增ID SEQ_GOODS)
  3559. type: integer
  3560. goodsname:
  3561. description: 商品名称
  3562. type: string
  3563. goodsstatus:
  3564. description: 商品状态- 2:未上市 3:上市
  3565. type: integer
  3566. goodunit:
  3567. description: 报价单位
  3568. type: string
  3569. lasttradedate:
  3570. description: 最后交易日期(状态:待退市)
  3571. type: string
  3572. listingdate:
  3573. description: 交易开始日期
  3574. type: string
  3575. lotsize:
  3576. description: 手数最小变动单位
  3577. type: integer
  3578. marketid:
  3579. description: 所属市场ID
  3580. type: integer
  3581. picurls:
  3582. description: 介绍图片[多张用逗号分隔]
  3583. type: string
  3584. presaledqty:
  3585. description: 已预售量(预售结束时更新)
  3586. type: integer
  3587. presaleqty:
  3588. description: 预售数量
  3589. type: integer
  3590. quoteminunit:
  3591. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3592. type: integer
  3593. refprice:
  3594. description: 参考价格[一口价]
  3595. type: number
  3596. relatedgoodsid:
  3597. description: 关联交易合约ID
  3598. type: integer
  3599. stepvalue:
  3600. description: 价格最小变动单位
  3601. type: number
  3602. trademode:
  3603. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3604. 21:竞拍-大宗式 22:受托竞价
  3605. type: integer
  3606. vendorattr:
  3607. description: 供应商附件(多张,逗号分隔)
  3608. type: string
  3609. vendorname:
  3610. description: 供应商名称
  3611. type: string
  3612. vendorphone:
  3613. description: 供应商客服电话
  3614. type: string
  3615. videourls:
  3616. description: 介绍视频[多张用逗号分隔]
  3617. type: string
  3618. required:
  3619. - goodscode
  3620. - goodsid
  3621. - goodsname
  3622. - marketid
  3623. - trademode
  3624. type: object
  3625. models.HsbySellCollectionOrder:
  3626. properties:
  3627. agreeunit:
  3628. description: 合约单位
  3629. type: number
  3630. buyaccountid:
  3631. description: 买方账号ID[报价币种]
  3632. type: integer
  3633. buyorderid:
  3634. description: 买方委托单号
  3635. type: string
  3636. createtime:
  3637. description: 创建时间
  3638. type: string
  3639. currencysign:
  3640. description: 货币符号
  3641. type: string
  3642. decimalplace:
  3643. description: 报价小数位
  3644. type: integer
  3645. goodscode:
  3646. description: 商品代码(内部)
  3647. type: string
  3648. goodsid:
  3649. description: 商品ID
  3650. type: integer
  3651. goodsname:
  3652. description: 商品名称
  3653. type: string
  3654. marketid:
  3655. description: 市场ID
  3656. type: integer
  3657. offamount:
  3658. description: 优惠金额
  3659. type: number
  3660. payamount:
  3661. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  3662. type: number
  3663. payflag:
  3664. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  3665. type: integer
  3666. paylimitedtime:
  3667. description: 支付期限
  3668. type: string
  3669. paytime:
  3670. description: 付款时间
  3671. type: string
  3672. picurls:
  3673. description: 商品介绍图片[多张用逗号分隔]
  3674. type: string
  3675. sellaccountid:
  3676. description: 卖方账号ID[报价币种]
  3677. type: integer
  3678. sellorderid:
  3679. description: 卖方委托单号
  3680. type: string
  3681. tradeamount:
  3682. description: 成交金额
  3683. type: number
  3684. tradecharge:
  3685. description: 成交手续费(买方)
  3686. type: number
  3687. tradedate:
  3688. description: 交易日(yyyyMMdd)
  3689. type: string
  3690. tradeid:
  3691. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3692. type: string
  3693. trademode:
  3694. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3695. 21:竞拍-大宗式 22:受托竞价
  3696. type: integer
  3697. tradeprice:
  3698. description: 成交价格
  3699. type: number
  3700. tradeqty:
  3701. description: 成交数量
  3702. type: integer
  3703. required:
  3704. - goodscode
  3705. - goodsname
  3706. - tradeid
  3707. - trademode
  3708. type: object
  3709. models.HsbySellMyDetail:
  3710. properties:
  3711. accountid:
  3712. description: 账户ID[报价币种]
  3713. type: integer
  3714. agreeunit:
  3715. description: 合约单位
  3716. type: number
  3717. buyorsell:
  3718. description: 买卖 - 0:买 1:卖
  3719. type: integer
  3720. currencysign:
  3721. description: 货币符号
  3722. type: string
  3723. decimalplace:
  3724. description: 报价小数位
  3725. type: integer
  3726. goodscode:
  3727. description: 商品代码(内部)
  3728. type: string
  3729. goodsid:
  3730. description: 商品ID
  3731. type: integer
  3732. goodsname:
  3733. description: 商品名称
  3734. type: string
  3735. marketid:
  3736. description: 市场ID
  3737. type: integer
  3738. orderid:
  3739. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  3740. type: string
  3741. ordertype:
  3742. description: 单据类型:0 - 发布中, 1 - 已完成
  3743. type: integer
  3744. picurls:
  3745. description: 介绍图片[多张用逗号分隔]
  3746. type: string
  3747. price:
  3748. description: 价格
  3749. type: number
  3750. qty:
  3751. description: 数量
  3752. type: integer
  3753. time:
  3754. description: 时间
  3755. type: string
  3756. trademode:
  3757. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3758. 21:竞拍-大宗式 22:受托竞价
  3759. type: integer
  3760. vendorname:
  3761. description: 供应商名称
  3762. type: string
  3763. required:
  3764. - accountid
  3765. - buyorsell
  3766. - goodscode
  3767. - goodsid
  3768. - goodsname
  3769. - marketid
  3770. - orderid
  3771. - time
  3772. - trademode
  3773. type: object
  3774. models.HsbyTopGoods:
  3775. properties:
  3776. agreeunit:
  3777. description: 合约单位
  3778. type: number
  3779. currency:
  3780. description: 货币
  3781. type: string
  3782. currencysign:
  3783. description: 货币符号
  3784. type: string
  3785. decimalplace:
  3786. description: 报价小数位
  3787. type: integer
  3788. goodscode:
  3789. description: 商品代码(内部)
  3790. type: string
  3791. goodsid:
  3792. description: 商品ID(自增ID SEQ_GOODS)
  3793. type: integer
  3794. goodsname:
  3795. description: 商品名称
  3796. type: string
  3797. hotindex:
  3798. description: 景点热度
  3799. type: integer
  3800. last:
  3801. description: 现价
  3802. type: number
  3803. marketid:
  3804. description: 所属市场ID
  3805. type: integer
  3806. picurls:
  3807. description: 介绍图片[多张用逗号分隔]
  3808. type: string
  3809. quoteminunit:
  3810. description: 行情最小变动单位 [整数,报价小数位一起使用]
  3811. type: integer
  3812. trademode:
  3813. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3814. 21:竞拍-大宗式 22:受托竞价
  3815. type: integer
  3816. videourls:
  3817. description: 介绍视频[多张用逗号分隔]
  3818. type: string
  3819. required:
  3820. - goodscode
  3821. - goodsid
  3822. - goodsname
  3823. - marketid
  3824. - trademode
  3825. type: object
  3826. models.HybsMyBuyOrderDetail:
  3827. properties:
  3828. accountid:
  3829. description: 账户ID[报价币种]
  3830. type: integer
  3831. agreeunit:
  3832. description: 合约单位
  3833. type: number
  3834. buyorsell:
  3835. description: 买卖 - 0:买 1:卖
  3836. type: integer
  3837. cancelqty:
  3838. description: 撤单数量
  3839. type: integer
  3840. currencysign:
  3841. description: 货币符号
  3842. type: string
  3843. decimalplace:
  3844. description: 报价小数位
  3845. type: integer
  3846. goodscode:
  3847. description: 商品代码(内部)
  3848. type: string
  3849. goodsid:
  3850. description: 商品ID
  3851. type: integer
  3852. goodsname:
  3853. description: 商品名称
  3854. type: string
  3855. listingselecttype:
  3856. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  3857. type: integer
  3858. marketid:
  3859. description: 市场ID
  3860. type: integer
  3861. mybuystatus:
  3862. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  3863. type: integer
  3864. orderamount:
  3865. description: 委托金额
  3866. type: number
  3867. orderid:
  3868. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  3869. type: string
  3870. orderprice:
  3871. description: 委托价格
  3872. type: number
  3873. orderqty:
  3874. description: 委托数量
  3875. type: integer
  3876. orderstatus:
  3877. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  3878. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  3879. 16:成交失败违约(荷兰式竞拍专用)
  3880. type: integer
  3881. ordertime:
  3882. description: 委托时间
  3883. type: string
  3884. picurls1:
  3885. description: 预售商品介绍图片[多张用逗号分隔]
  3886. type: string
  3887. picurls2:
  3888. description: 挂牌商品介绍图片[多张用逗号分隔]
  3889. type: string
  3890. trademode:
  3891. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  3892. 21:竞拍-大宗式 22:受托竞价
  3893. type: integer
  3894. tradeqty:
  3895. description: 成交数量
  3896. type: integer
  3897. vendorname1:
  3898. description: 预售商品供应商名称
  3899. type: string
  3900. vendorname2:
  3901. description: 挂牌商品供应商名称
  3902. type: string
  3903. required:
  3904. - accountid
  3905. - buyorsell
  3906. - goodscode
  3907. - goodsid
  3908. - goodsname
  3909. - marketid
  3910. - orderid
  3911. - orderqty
  3912. - ordertime
  3913. - trademode
  3914. type: object
  3915. models.Marketrun:
  3916. properties:
  3917. afternexttradedate:
  3918. description: 下下交易日
  3919. type: string
  3920. clearquoteflag:
  3921. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  3922. type: integer
  3923. lastreckondate:
  3924. description: 最新交易日(结算成功)
  3925. type: string
  3926. machinedate:
  3927. description: 机器时间
  3928. type: string
  3929. manualflag:
  3930. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  3931. type: integer
  3932. marketid:
  3933. description: 市场ID
  3934. type: integer
  3935. nexttradedate:
  3936. description: 下一交易日
  3937. type: string
  3938. pretradedate:
  3939. description: 上一交易日
  3940. type: string
  3941. reckonflag:
  3942. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  3943. type: integer
  3944. runstatus:
  3945. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  3946. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  3947. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  3948. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  3949. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  3950. 62.今日免清算
  3951. type: integer
  3952. sectionid:
  3953. description: 时间段号[多时段时用]
  3954. type: integer
  3955. tradedate:
  3956. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  3957. type: string
  3958. tradedate2:
  3959. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  3960. type: string
  3961. updatetime:
  3962. description: 更新时间
  3963. type: string
  3964. required:
  3965. - marketid
  3966. - nexttradedate
  3967. - reckonflag
  3968. - runstatus
  3969. - tradedate
  3970. - tradedate2
  3971. type: object
  3972. models.Messageboard:
  3973. properties:
  3974. createtime:
  3975. description: 创建时间
  3976. type: string
  3977. message:
  3978. description: 留言信息
  3979. type: string
  3980. messageboardid:
  3981. description: 留言簿ID(SEQ_MessageBoard)
  3982. type: integer
  3983. userid:
  3984. description: 用户ID
  3985. type: integer
  3986. required:
  3987. - messageboardid
  3988. type: object
  3989. models.MyCoupon:
  3990. properties:
  3991. accountid:
  3992. description: 资金账户ID
  3993. type: integer
  3994. areauserid:
  3995. description: 所属机构
  3996. type: integer
  3997. conditionvalue:
  3998. description: 条件阈值(可为0)
  3999. type: number
  4000. couponcategroy:
  4001. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  4002. type: integer
  4003. couponname:
  4004. description: 优惠券名称
  4005. type: string
  4006. coupontypeid:
  4007. description: 优惠券类型ID
  4008. type: string
  4009. couponvalue:
  4010. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  4011. type: number
  4012. curfreezeqty:
  4013. description: 期末冻结数量
  4014. type: integer
  4015. curqty:
  4016. description: 期末数量
  4017. type: integer
  4018. isgeneral:
  4019. description: 是否通用券 - 0:否 1:是
  4020. type: integer
  4021. isunusable:
  4022. description: 是否不可用
  4023. type: boolean
  4024. limitedflag:
  4025. description: 是否指定商品 - 0:不限 1:限制
  4026. type: integer
  4027. limitedgoodsids:
  4028. description: 指定商品IDs[逗号分隔,前后加逗号]
  4029. type: string
  4030. orifreezeqty:
  4031. description: 期初冻结数量
  4032. type: integer
  4033. oriqty:
  4034. description: 期初数量
  4035. type: integer
  4036. reasontype:
  4037. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  4038. type: integer
  4039. todaydecrease:
  4040. description: 今日减少
  4041. type: integer
  4042. todayincrease:
  4043. description: 今日增加
  4044. type: integer
  4045. userid:
  4046. description: 用户ID
  4047. type: integer
  4048. userscope:
  4049. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  4050. type: string
  4051. required:
  4052. - accountid
  4053. - coupontypeid
  4054. type: object
  4055. models.MyCouponHold:
  4056. properties:
  4057. accountid:
  4058. description: 资金账户ID
  4059. type: integer
  4060. conditionvalue:
  4061. description: 条件阈值(可为0)
  4062. type: number
  4063. couponcategroy:
  4064. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  4065. type: integer
  4066. couponholdid:
  4067. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  4068. type: string
  4069. couponname:
  4070. description: 优惠券名称
  4071. type: string
  4072. coupontypeid:
  4073. description: 优惠券类型ID - SEQ_COUPONTYPE
  4074. type: string
  4075. couponvalue:
  4076. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  4077. type: number
  4078. createtime:
  4079. description: 创建时间
  4080. type: string
  4081. enddate:
  4082. description: 结束日期
  4083. type: string
  4084. giveapplyid:
  4085. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  4086. type: integer
  4087. holdstatus:
  4088. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  4089. type: integer
  4090. isgeneral:
  4091. description: 是否通用券 - 0:否 1:是
  4092. type: integer
  4093. limitedflag:
  4094. description: 是否指定商品 - 0:不限 1:限制
  4095. type: integer
  4096. limitedgoodsids:
  4097. description: 指定商品IDs[逗号分隔]
  4098. type: string
  4099. qty:
  4100. description: 数量(按1平铺)
  4101. type: integer
  4102. startdate:
  4103. description: 开始日期
  4104. type: string
  4105. userid:
  4106. description: 用户ID
  4107. type: integer
  4108. userscope:
  4109. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  4110. type: string
  4111. required:
  4112. - couponholdid
  4113. type: object
  4114. models.MyUsedCoupon:
  4115. properties:
  4116. accountid:
  4117. description: 资金账户ID(买方)
  4118. type: integer
  4119. conditionvalue:
  4120. description: 条件阈值(可为0)
  4121. type: number
  4122. couponcategroy:
  4123. description: 种类 - 1:现金券 2:折扣券
  4124. type: integer
  4125. couponname:
  4126. description: 优惠券名称
  4127. type: string
  4128. coupontypeid:
  4129. description: 优惠券类型ID(买方)
  4130. type: string
  4131. couponvalue:
  4132. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  4133. type: number
  4134. createtime:
  4135. description: 创建时间
  4136. type: string
  4137. goodsid:
  4138. description: 商品ID
  4139. type: integer
  4140. handlestatus:
  4141. description: 处理状态
  4142. type: integer
  4143. marketid:
  4144. description: 市场ID
  4145. type: integer
  4146. offamount:
  4147. description: 优惠金额
  4148. type: number
  4149. orderid:
  4150. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4151. type: string
  4152. sellaccountid:
  4153. description: 资金账户ID(卖方)
  4154. type: integer
  4155. tradeamount:
  4156. description: 成交金额
  4157. type: number
  4158. tradeid:
  4159. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4160. type: string
  4161. usedqty:
  4162. description: 使用数量
  4163. type: integer
  4164. required:
  4165. - coupontypeid
  4166. - orderid
  4167. type: object
  4168. models.OperationPrimaryMenu:
  4169. properties:
  4170. Children:
  4171. description: 二级功能菜单
  4172. items:
  4173. $ref: '#/definitions/models.OperationSecondaryMenu'
  4174. type: array
  4175. Key:
  4176. description: 菜单KEY
  4177. type: string
  4178. Label:
  4179. description: 菜单标题
  4180. type: string
  4181. type: object
  4182. models.OperationSecondaryMenu:
  4183. properties:
  4184. Key:
  4185. description: 菜单KEY
  4186. type: string
  4187. Label:
  4188. description: 菜单标题
  4189. type: string
  4190. TabList:
  4191. description: 三级功能菜单
  4192. items:
  4193. $ref: '#/definitions/models.OperationTabMenu'
  4194. type: array
  4195. type: object
  4196. models.OperationTabMenu:
  4197. properties:
  4198. Key:
  4199. description: 菜单KEY
  4200. type: string
  4201. Label:
  4202. description: 菜单标题
  4203. type: string
  4204. type: object
  4205. models.QuotePrimaryMenu:
  4206. properties:
  4207. Index:
  4208. description: 序号
  4209. type: integer
  4210. Key:
  4211. description: 键名
  4212. type: string
  4213. Name:
  4214. description: 菜单名称
  4215. type: string
  4216. SubMenus:
  4217. description: 子菜单
  4218. items:
  4219. $ref: '#/definitions/models.QuoteSecondaryMenu'
  4220. type: array
  4221. SubTitleType:
  4222. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  4223. type: integer
  4224. TradeModes:
  4225. description: 包含市场交易类型
  4226. type: string
  4227. type: object
  4228. models.QuoteSecondaryMenu:
  4229. properties:
  4230. ExExchangeCode:
  4231. description: 外部交易所代码
  4232. type: string
  4233. ExExchangeID:
  4234. description: 外部交易所ID
  4235. type: integer
  4236. GoodsGroupIDs:
  4237. description: 商品组ID列表
  4238. items:
  4239. type: integer
  4240. type: array
  4241. Index:
  4242. description: 序号
  4243. type: integer
  4244. MarketID:
  4245. description: 市场ID
  4246. type: integer
  4247. MenuTitle:
  4248. description: 菜单标题(市场名称或外部交易所名称)
  4249. type: string
  4250. TradeMode:
  4251. description: 交易模式
  4252. type: integer
  4253. type: object
  4254. models.SearchGoods:
  4255. properties:
  4256. goodscode:
  4257. description: 商品代码(内部)
  4258. type: string
  4259. goodsid:
  4260. description: 商品ID(自增ID SEQ_GOODS)
  4261. type: integer
  4262. goodsname:
  4263. description: 商品名称
  4264. type: string
  4265. marketid:
  4266. description: 所属市场ID
  4267. type: integer
  4268. marketname:
  4269. description: 市场名称
  4270. type: string
  4271. trademode:
  4272. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4273. 21:竞拍-大宗式 22:受托竞价
  4274. type: integer
  4275. required:
  4276. - goodscode
  4277. - goodsid
  4278. - goodsname
  4279. - marketid
  4280. - trademode
  4281. type: object
  4282. models.Szdz2imageconfig:
  4283. properties:
  4284. configid:
  4285. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  4286. type: integer
  4287. imagepath:
  4288. description: 图片
  4289. type: string
  4290. imagetype:
  4291. description: 类型 - 1:App首页轮播 2:我的
  4292. type: integer
  4293. sort:
  4294. description: 排序
  4295. type: integer
  4296. title:
  4297. description: 标题
  4298. type: string
  4299. url:
  4300. description: 链接
  4301. type: string
  4302. required:
  4303. - configid
  4304. type: object
  4305. models.Szdz3convertconfig:
  4306. properties:
  4307. canin:
  4308. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  4309. type: integer
  4310. canout:
  4311. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  4312. type: integer
  4313. converttype:
  4314. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  4315. 6:交易转花生米(不设置)
  4316. type: integer
  4317. createtime:
  4318. description: 创建时间
  4319. type: string
  4320. creatorid:
  4321. description: 创建人
  4322. type: integer
  4323. daymaxvalue:
  4324. description: 当日最大转入限制
  4325. type: number
  4326. freezedays:
  4327. description: 冻结天数 [5:花生米转交易]
  4328. type: integer
  4329. innergoodsid:
  4330. description: 内部商品ID[交易]
  4331. type: integer
  4332. inratio:
  4333. description: 目标值
  4334. type: integer
  4335. modifierid:
  4336. description: 修改人
  4337. type: integer
  4338. modifytime:
  4339. description: 修改时间
  4340. type: string
  4341. outergoodscode:
  4342. description: 外部商品代码[JD\PD]
  4343. type: string
  4344. outratio:
  4345. description: 源值
  4346. type: integer
  4347. pddecimalplace:
  4348. description: PD小数位
  4349. type: integer
  4350. timemaxvalue:
  4351. description: 单次最大转入限制
  4352. type: number
  4353. timeminvalue:
  4354. description: 单次最小转入限制
  4355. type: number
  4356. required:
  4357. - converttype
  4358. - innergoodsid
  4359. - outergoodscode
  4360. type: object
  4361. models.Szdz3searchwhitelist:
  4362. properties:
  4363. createtime:
  4364. description: 创建时间
  4365. type: string
  4366. creatorid:
  4367. description: 创建人
  4368. type: integer
  4369. modifierid:
  4370. description: 修改人
  4371. type: integer
  4372. modifytime:
  4373. description: 修改时间
  4374. type: string
  4375. userid:
  4376. description: 用户ID
  4377. type: integer
  4378. required:
  4379. - userid
  4380. type: object
  4381. models.Tablecolumnconfig:
  4382. properties:
  4383. aligntype:
  4384. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  4385. type: integer
  4386. autoid:
  4387. description: AutoID
  4388. type: integer
  4389. columnfield:
  4390. description: 列字段
  4391. type: string
  4392. columntitle:
  4393. description: 列Title
  4394. type: string
  4395. columnwidth:
  4396. description: 列宽
  4397. type: string
  4398. formatterstring:
  4399. description: 格式化字符
  4400. type: string
  4401. formattertype:
  4402. description: 格式化类型
  4403. type: string
  4404. groupname:
  4405. description: 表头分组名称
  4406. type: string
  4407. isshow:
  4408. description: 是否显示 - 0:不显示 1:显示
  4409. type: integer
  4410. needsummary:
  4411. description: 是否需要汇总 - 0:不需要 1:需要
  4412. type: integer
  4413. orderindex:
  4414. description: 顺序
  4415. type: integer
  4416. remark:
  4417. description: 备注
  4418. type: string
  4419. summarytype:
  4420. description: 汇总类型 - 1:加总 2:最后一个
  4421. type: integer
  4422. tablekey:
  4423. description: 列表Key
  4424. type: string
  4425. required:
  4426. - autoid
  4427. type: object
  4428. models.Useraccount:
  4429. properties:
  4430. accountname:
  4431. description: 账户名称(机构名称)
  4432. type: string
  4433. accountstatus:
  4434. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  4435. type: integer
  4436. auditremark:
  4437. description: 审核备注
  4438. type: string
  4439. audittime:
  4440. description: 审核时间
  4441. type: string
  4442. audituserid:
  4443. description: 审核人
  4444. type: integer
  4445. broker:
  4446. description: 所属经纪人ID
  4447. type: integer
  4448. canceltime:
  4449. description: 销户时间
  4450. type: string
  4451. canceluserid:
  4452. description: 销户人
  4453. type: integer
  4454. createtime:
  4455. description: 创建时间
  4456. type: string
  4457. creatorid:
  4458. description: 创建人
  4459. type: integer
  4460. hasauth:
  4461. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4462. type: integer
  4463. isanonymous:
  4464. description: 是否匿名下单 - 0:否 1:是
  4465. type: integer
  4466. maxinvestornum:
  4467. description: 最大用户数(经纪会员下投资者个数)
  4468. type: integer
  4469. memberuserid:
  4470. description: 所属会员ID
  4471. type: integer
  4472. modifierid:
  4473. description: 修改人
  4474. type: integer
  4475. modifyremark:
  4476. description: 变更备注
  4477. type: string
  4478. modifystatus:
  4479. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4480. type: integer
  4481. modifytime:
  4482. description: 修改时间
  4483. type: string
  4484. parentuserid:
  4485. description: 所属机构ID
  4486. type: integer
  4487. reckonaccountid:
  4488. description: 默认结算资金账号ID(机构分润使用) 作废
  4489. type: integer
  4490. refercount:
  4491. description: 推荐总人数
  4492. type: integer
  4493. refereeuserid:
  4494. description: 推荐人ID
  4495. type: integer
  4496. refernum:
  4497. description: 推荐码
  4498. type: string
  4499. subarealevelpath:
  4500. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4501. type: string
  4502. userid:
  4503. description: 用户ID
  4504. type: integer
  4505. usertype:
  4506. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4507. type: integer
  4508. required:
  4509. - userid
  4510. type: object
  4511. models.Userfavoritegoods:
  4512. properties:
  4513. goodsid:
  4514. description: 商品ID
  4515. type: integer
  4516. required:
  4517. - goodsid
  4518. type: object
  4519. models.Userinfo:
  4520. properties:
  4521. address:
  4522. description: 地址
  4523. type: string
  4524. attachment1:
  4525. description: 附件1
  4526. type: string
  4527. attachment2:
  4528. description: 附件2
  4529. type: string
  4530. bankaccount:
  4531. description: 银行帐号 (加密存储)
  4532. type: string
  4533. bankaccountname:
  4534. description: 收款人名称
  4535. type: string
  4536. bankcardfrontphotourl:
  4537. description: 银行卡正面照地址
  4538. type: string
  4539. bankid:
  4540. description: 银行编码
  4541. type: string
  4542. bankname:
  4543. description: 银行名称
  4544. type: string
  4545. biznature:
  4546. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  4547. type: integer
  4548. bizscope:
  4549. description: 企业经营范围(企业)
  4550. type: string
  4551. cardbackphotourl:
  4552. description: 证件背面图片地址
  4553. type: string
  4554. cardfrontphotourl:
  4555. description: 证件正面图片地址
  4556. type: string
  4557. cardnum:
  4558. description: 证件号码(加密存储)
  4559. type: string
  4560. cardtypeid:
  4561. description: 证件类型ID
  4562. type: integer
  4563. cityid:
  4564. description: 市
  4565. type: integer
  4566. company:
  4567. description: 公司(个人)
  4568. type: string
  4569. contactname:
  4570. description: 联系人
  4571. type: string
  4572. countryid:
  4573. description: 国家
  4574. type: integer
  4575. createtime:
  4576. description: 创建时间
  4577. type: string
  4578. creatorid:
  4579. description: 创建人
  4580. type: integer
  4581. customername:
  4582. description: 客户名称(企业名称)
  4583. type: string
  4584. districtid:
  4585. description: 地区
  4586. type: integer
  4587. email:
  4588. description: 邮件(加密存储)
  4589. type: string
  4590. fax:
  4591. description: 传真(加密存储)
  4592. type: string
  4593. halfbodyphotourl:
  4594. description: 半身照地址
  4595. type: string
  4596. hasencrypt:
  4597. description: 数据是否已加密 - 0:未加密 1:已加密
  4598. type: integer
  4599. headurl:
  4600. description: 头像地址
  4601. type: string
  4602. legalcardbackphotourl:
  4603. description: 法人身份证背面照地址
  4604. type: string
  4605. legalcardfrontphotourl:
  4606. description: 法人身份证正面照地址
  4607. type: string
  4608. legalpersonname:
  4609. description: 法人姓名(企业)
  4610. type: string
  4611. mobile:
  4612. description: 手机号码(加密存储)
  4613. type: string
  4614. mobile2:
  4615. description: 手机号码[明文-尚志]
  4616. type: string
  4617. modifierid:
  4618. description: 修改人
  4619. type: integer
  4620. modifiertime:
  4621. description: 修改时间
  4622. type: string
  4623. needinvoice:
  4624. description: 是否需要发票 - 0:不需要 1:需要
  4625. type: integer
  4626. nickname:
  4627. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  4628. type: string
  4629. openmode:
  4630. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  4631. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  4632. type: integer
  4633. otherurl:
  4634. description: 其它图片地址[使用分号分隔]
  4635. type: string
  4636. postalcode:
  4637. description: 邮政编码
  4638. type: string
  4639. provinceid:
  4640. description: 省
  4641. type: integer
  4642. qq:
  4643. description: QQ(加密存储
  4644. type: string
  4645. remark:
  4646. description: 备注
  4647. type: string
  4648. sex:
  4649. description: '用户性别 0: 女 1: 男'
  4650. type: integer
  4651. signpdfurl:
  4652. description: 签约pdf文件
  4653. type: string
  4654. telphone:
  4655. description: 联系电话(加密存储)
  4656. type: string
  4657. userid:
  4658. description: 用户ID
  4659. type: integer
  4660. userinfotype:
  4661. description: 用户信息类型 - 1:个人 2:企业
  4662. type: integer
  4663. userstatus:
  4664. description: 用户状态 - 1:正常 2:注销
  4665. type: integer
  4666. usertype:
  4667. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  4668. type: integer
  4669. wechat:
  4670. description: 微信(加密存储)
  4671. type: string
  4672. wskhinfo:
  4673. description: 开户申请信息(JSON)
  4674. type: string
  4675. required:
  4676. - userid
  4677. type: object
  4678. models.WRCategoryTree:
  4679. properties:
  4680. areauserid:
  4681. description: 所属机构
  4682. type: integer
  4683. categorydesc:
  4684. description: 类别描述
  4685. type: string
  4686. categoryid:
  4687. description: 类别ID(SEQ_WRCATEGORY)
  4688. type: integer
  4689. categoryname:
  4690. description: 类别名称
  4691. type: string
  4692. iconurl:
  4693. description: 图标地址
  4694. type: string
  4695. orderindex:
  4696. description: 顺序
  4697. type: integer
  4698. parentcategoryid:
  4699. description: 父类别ID
  4700. type: integer
  4701. subcategory:
  4702. description: 子分类
  4703. items:
  4704. $ref: '#/definitions/models.WRCategoryTree'
  4705. type: array
  4706. required:
  4707. - categoryid
  4708. type: object
  4709. models.WRStandardInfo:
  4710. properties:
  4711. createtime:
  4712. description: 创建时间
  4713. type: string
  4714. creatorid:
  4715. description: 创建人
  4716. type: integer
  4717. deliverygoodsid:
  4718. description: 品种ID
  4719. type: integer
  4720. deliverygoodsname:
  4721. description: 交割商品名称
  4722. type: string
  4723. factoryitemjson:
  4724. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  4725. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  4726. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  4727. 逗号分隔'
  4728. type: string
  4729. isvalid:
  4730. description: 是否有效 - 0:无效 1:有效
  4731. type: integer
  4732. minivalue:
  4733. description: 最小变动值
  4734. type: integer
  4735. minivaluedp:
  4736. description: 最小变动值小数位
  4737. type: integer
  4738. realminivalue:
  4739. description: 实际最小变动值
  4740. type: integer
  4741. realminivaluedp:
  4742. description: 实际最小变动值小数位
  4743. type: integer
  4744. unitid:
  4745. description: 单位ID
  4746. type: integer
  4747. unitname:
  4748. description: 单位
  4749. type: string
  4750. updatetime:
  4751. description: 更新时间
  4752. type: string
  4753. updatorid:
  4754. description: 更新人
  4755. type: integer
  4756. wrsstatus:
  4757. description: 状态 - 作废 - 0:未激活 1:正常
  4758. type: integer
  4759. wrstandardcode:
  4760. description: 仓单标准代码
  4761. type: string
  4762. wrstandardid:
  4763. description: 仓单标准ID(SEQ_WRSTANDARD)
  4764. type: integer
  4765. wrstandardname:
  4766. description: 仓单标准名称
  4767. type: string
  4768. required:
  4769. - wrstandardid
  4770. type: object
  4771. models.Warehouseinfo:
  4772. properties:
  4773. address:
  4774. description: 详细地址
  4775. type: string
  4776. areauserid:
  4777. description: 所属机构
  4778. type: integer
  4779. autoid:
  4780. description: 自增ID
  4781. type: integer
  4782. cityid:
  4783. description: 市
  4784. type: integer
  4785. contactname:
  4786. description: 联系人
  4787. type: string
  4788. contactnum:
  4789. description: 联系电话
  4790. type: string
  4791. countryid:
  4792. description: 国家
  4793. type: integer
  4794. createtime:
  4795. description: 创建时间
  4796. type: string
  4797. districtid:
  4798. description: 区
  4799. type: integer
  4800. hasvideo:
  4801. description: 是否有视频 - 0:无 1:有
  4802. type: integer
  4803. provinceid:
  4804. description: 省
  4805. type: integer
  4806. remark:
  4807. description: 审核备注
  4808. type: string
  4809. videourl:
  4810. description: 视频地址
  4811. type: string
  4812. warehousecode:
  4813. description: 仓库代码
  4814. type: string
  4815. warehousename:
  4816. description: 仓库名称
  4817. type: string
  4818. warehousestatus:
  4819. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  4820. type: integer
  4821. warehousetype:
  4822. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4823. type: integer
  4824. required:
  4825. - autoid
  4826. - warehousecode
  4827. type: object
  4828. order.QueryHisTradeDetailRsp:
  4829. properties:
  4830. accountid:
  4831. description: 账户ID[报价币种]
  4832. type: integer
  4833. buildtype:
  4834. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  4835. type: integer
  4836. buyorsell:
  4837. description: 方向 - 0:买 1:卖
  4838. type: integer
  4839. charge:
  4840. description: 手续费
  4841. type: number
  4842. closecharge:
  4843. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4844. type: number
  4845. closeexchagechargevalue:
  4846. description: 平仓交易所手续费设置值
  4847. type: number
  4848. closefeealgorithm:
  4849. description: 平仓手续费收取方式 1:比率 2:固定
  4850. type: integer
  4851. closememberchargevalue:
  4852. description: 平仓会员手续费设置值
  4853. type: number
  4854. closepl:
  4855. description: 平仓盈亏
  4856. type: number
  4857. closepl2:
  4858. description: 平仓盈亏[逐笔]
  4859. type: number
  4860. closeqty:
  4861. description: 平仓数量(先建后平操作 需要记录)
  4862. type: integer
  4863. creditamount:
  4864. description: 授信金额
  4865. type: number
  4866. gcaccountid:
  4867. description: 账户ID[合约币种]
  4868. type: integer
  4869. goodscode:
  4870. description: 商品代码
  4871. type: string
  4872. goodsid:
  4873. description: 商品ID
  4874. type: integer
  4875. goodsname:
  4876. description: 商品名称
  4877. type: string
  4878. histradedate:
  4879. description: 历史交易日
  4880. type: string
  4881. intclosepl:
  4882. description: 整型盈亏(用于交易结算试算平衡-收益权)
  4883. type: integer
  4884. isconfirmexercise:
  4885. description: 是否确认行权- 0:否 1:是
  4886. type: integer
  4887. ismain:
  4888. description: 是否主单 - 0:不是 1:是
  4889. type: integer
  4890. ispreexercise:
  4891. description: 是否预申报- 0:否 1:是
  4892. type: integer
  4893. isreckoned:
  4894. description: 是否结算 - 0:未结算 1:已结算
  4895. type: integer
  4896. isvaliddata:
  4897. description: 是否有效 - 0:无效 1:有效
  4898. type: integer
  4899. listingselecttype:
  4900. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  4901. type: integer
  4902. marketid:
  4903. description: 市场ID
  4904. type: integer
  4905. marketname:
  4906. description: 市场名称
  4907. type: string
  4908. matchaccountid:
  4909. description: 对手账号id
  4910. type: integer
  4911. memberuserid:
  4912. description: 会员id 个人投资者 需要填写
  4913. type: integer
  4914. opencharge:
  4915. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  4916. type: number
  4917. openexchagechargevalue:
  4918. description: 建仓交易所手续费设置值
  4919. type: number
  4920. openfeealgorithm:
  4921. description: 建仓手续费收取方式 1:比率 2:固定
  4922. type: integer
  4923. openmemberchargevalue:
  4924. description: 建仓会员手续费设置值
  4925. type: number
  4926. openqty:
  4927. description: 开仓数量(先建后平操作 需要记录)
  4928. type: integer
  4929. optiontype:
  4930. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  4931. type: integer
  4932. orderid:
  4933. description: 委托单号
  4934. type: string
  4935. performanceplanid:
  4936. description: 履约计划ID[期权]
  4937. type: integer
  4938. performancestatus:
  4939. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  4940. type: integer
  4941. preexerciseprice:
  4942. description: 预申报价格
  4943. type: number
  4944. premium:
  4945. description: 权利金 - [持仓单的权利金]
  4946. type: number
  4947. relatedouttradeid:
  4948. description: 关联外部成交单ID
  4949. type: integer
  4950. status:
  4951. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  4952. type: integer
  4953. tradeamount:
  4954. description: 成交金额[账户币种,用于所有权]
  4955. type: number
  4956. tradedate:
  4957. description: 交易日(yyyyMMdd)
  4958. type: string
  4959. tradeid:
  4960. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4961. type: string
  4962. trademode:
  4963. description: 交易模式
  4964. type: integer
  4965. tradeprice:
  4966. description: 成交价格
  4967. type: number
  4968. tradeproperty:
  4969. description: 交易属性
  4970. type: integer
  4971. tradeqty:
  4972. description: 成交数量
  4973. type: integer
  4974. tradetime:
  4975. description: 成交时间
  4976. type: string
  4977. tradetype:
  4978. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  4979. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  4980. type: integer
  4981. required:
  4982. - accountid
  4983. - buyorsell
  4984. - goodsid
  4985. - histradedate
  4986. - marketid
  4987. - memberuserid
  4988. - orderid
  4989. - tradeamount
  4990. - tradedate
  4991. - tradeid
  4992. - tradeprice
  4993. - tradeqty
  4994. - tradetime
  4995. type: object
  4996. order.QueryHisTradeOrderDetailRsp:
  4997. properties:
  4998. accountid:
  4999. description: 账户ID[报价币种]
  5000. type: integer
  5001. buildtype:
  5002. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5003. type: integer
  5004. buyorsell:
  5005. description: 买卖 - 0:买 1:卖
  5006. type: integer
  5007. cancelorderid:
  5008. description: 撤单单号(撤单时填写)
  5009. type: string
  5010. cancelqty:
  5011. description: 撤单数量
  5012. type: integer
  5013. clientordertime:
  5014. description: 客户端委托时间
  5015. type: string
  5016. clientticket:
  5017. description: 客户端流水号
  5018. type: string
  5019. clienttype:
  5020. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  5021. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5022. type: integer
  5023. closeexchagechargevalue:
  5024. description: 平仓交易所手续费设置值
  5025. type: number
  5026. closefeealgorithm:
  5027. description: 平仓手续费收取方式 1:比率 2:固定
  5028. type: integer
  5029. closefreezecharge:
  5030. description: 平仓冻结手续费(先建后平操作,需要记录)
  5031. type: number
  5032. closememberchargevalue:
  5033. description: 平仓会员手续费设置值
  5034. type: number
  5035. closeqty:
  5036. description: 平仓数量(先建后平操作 需要记录)
  5037. type: integer
  5038. closetradeqty:
  5039. description: 平仓成交数量(先建后平操作,需要记录)
  5040. type: integer
  5041. closeunfreezecharge:
  5042. description: 平仓解冻手续费(先建后平操作,需要记录)
  5043. type: number
  5044. delistingtype:
  5045. description: 摘牌类型 - 1:价格最优 2:点选成交
  5046. type: integer
  5047. freezecharge:
  5048. description: 冻结手续费
  5049. type: number
  5050. freezemargin:
  5051. description: 冻结保证金(冻结交易金额)
  5052. type: number
  5053. gcaccountid:
  5054. description: 账户ID[合约币种]
  5055. type: integer
  5056. goodscode:
  5057. description: 商品代码
  5058. type: string
  5059. goodsid:
  5060. description: 商品ID
  5061. type: integer
  5062. goodsname:
  5063. description: 商品名称
  5064. type: string
  5065. histradedate:
  5066. description: 历史交易日
  5067. type: string
  5068. isconfirmexercise:
  5069. description: 是否确认行权- 0:否 1:是
  5070. type: integer
  5071. ispreexercise:
  5072. description: 是否预申报- 0:否 1:是
  5073. type: integer
  5074. isvaliddata:
  5075. description: 是否有效 - 0:无效 1:有效
  5076. type: integer
  5077. listingselecttype:
  5078. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5079. type: integer
  5080. marginalgorithm:
  5081. description: 保证金收取方式 1:比率 2:固定
  5082. type: integer
  5083. marginvalue:
  5084. description: 即市保证金设置值
  5085. type: number
  5086. marketid:
  5087. description: 市场ID
  5088. type: integer
  5089. marketmaxsub:
  5090. description: 市价最大偏移范围
  5091. type: number
  5092. marketname:
  5093. description: 市场名称
  5094. type: string
  5095. memberuserid:
  5096. description: 所属会员UserID
  5097. type: integer
  5098. openexchagechargevalue:
  5099. description: 建仓交易所手续费设置值
  5100. type: number
  5101. openfeealgorithm:
  5102. description: 建仓手续费收取方式 1:比率 2:固定
  5103. type: integer
  5104. openfreezecharge:
  5105. description: 开仓冻结手续费(先建后平操作,需要记录)
  5106. type: number
  5107. openmemberchargevalue:
  5108. description: 建仓会员手续费设置值
  5109. type: number
  5110. openqty:
  5111. description: 开仓数量(先建后平操作,需要记录)
  5112. type: integer
  5113. opentradeqty:
  5114. description: 开仓成交数量(先建后平操作,需要记录)
  5115. type: integer
  5116. openunfreezecharge:
  5117. description: 开仓解冻手续费(先建后平操作,需要记录)
  5118. type: number
  5119. operatetype:
  5120. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5121. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5122. 15:管理端协议转让
  5123. type: integer
  5124. operatorid:
  5125. description: 登录账号(LoginID)
  5126. type: integer
  5127. optiontype:
  5128. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5129. type: integer
  5130. orderid:
  5131. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5132. type: string
  5133. orderprice:
  5134. description: 委托价格
  5135. type: number
  5136. orderqty:
  5137. description: 委托数量
  5138. type: integer
  5139. ordersrc:
  5140. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5141. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5142. type: integer
  5143. orderstatus:
  5144. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5145. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5146. 16:成交失败违约(荷兰式竞拍专用)
  5147. type: integer
  5148. ordertime:
  5149. description: 委托时间
  5150. type: string
  5151. preexerciseprice:
  5152. description: 预申报价格
  5153. type: number
  5154. premium:
  5155. description: 权利金
  5156. type: number
  5157. preorderid:
  5158. description: 关联预埋单号(止盈止损单时填写)
  5159. type: string
  5160. pricemode:
  5161. description: '取价方式 - 1:市价 2: 限价'
  5162. type: integer
  5163. quoteid:
  5164. description: 报价单ID
  5165. type: integer
  5166. relatedid:
  5167. description: 关联单号(交割单)
  5168. type: string
  5169. retcode:
  5170. description: 错误代码
  5171. type: integer
  5172. sessionid:
  5173. description: 会话ID
  5174. type: integer
  5175. tradedate:
  5176. description: 交易日(yyyyMMdd)
  5177. type: string
  5178. trademode:
  5179. description: 交易模式
  5180. type: integer
  5181. tradeproperty:
  5182. description: 交易属性
  5183. type: integer
  5184. tradeqty:
  5185. description: 成交数量
  5186. type: integer
  5187. unfreezecharge:
  5188. description: 解冻手续费
  5189. type: number
  5190. unfreezemargin:
  5191. description: 解冻保证金
  5192. type: number
  5193. updatetime:
  5194. description: 更新时间
  5195. type: string
  5196. uuid:
  5197. description: 发起端唯一id
  5198. type: string
  5199. validtime:
  5200. description: 有效期限
  5201. type: string
  5202. validtype:
  5203. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5204. type: integer
  5205. volumetype:
  5206. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5207. type: integer
  5208. required:
  5209. - accountid
  5210. - buildtype
  5211. - buyorsell
  5212. - goodsid
  5213. - histradedate
  5214. - marketid
  5215. - memberuserid
  5216. - operatetype
  5217. - orderid
  5218. - orderqty
  5219. - ordertime
  5220. - pricemode
  5221. - tradedate
  5222. - validtype
  5223. type: object
  5224. order.QueryTradeDetailRsp:
  5225. properties:
  5226. accountid:
  5227. description: 账户ID[报价币种]
  5228. type: integer
  5229. buildtype:
  5230. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  5231. type: integer
  5232. buyorsell:
  5233. description: 方向 - 0:买 1:卖
  5234. type: integer
  5235. charge:
  5236. description: 手续费
  5237. type: number
  5238. closecharge:
  5239. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5240. type: number
  5241. closeexchagechargevalue:
  5242. description: 平仓交易所手续费设置值
  5243. type: number
  5244. closefeealgorithm:
  5245. description: 平仓手续费收取方式 1:比率 2:固定
  5246. type: integer
  5247. closememberchargevalue:
  5248. description: 平仓会员手续费设置值
  5249. type: number
  5250. closepl:
  5251. description: 平仓盈亏
  5252. type: number
  5253. closepl2:
  5254. description: 平仓盈亏[逐笔]
  5255. type: number
  5256. closeqty:
  5257. description: 平仓数量(先建后平操作 需要记录)
  5258. type: integer
  5259. creditamount:
  5260. description: 授信金额
  5261. type: number
  5262. gcaccountid:
  5263. description: 账户ID[合约币种]
  5264. type: integer
  5265. goodscode:
  5266. description: 商品代码
  5267. type: string
  5268. goodsid:
  5269. description: 商品ID
  5270. type: integer
  5271. goodsname:
  5272. description: 商品名称
  5273. type: string
  5274. intclosepl:
  5275. description: 整型盈亏(用于交易结算试算平衡-收益权)
  5276. type: integer
  5277. isconfirmexercise:
  5278. description: 是否确认行权- 0:否 1:是
  5279. type: integer
  5280. ismain:
  5281. description: 是否主单 - 0:不是 1:是
  5282. type: integer
  5283. ispreexercise:
  5284. description: 是否预申报- 0:否 1:是
  5285. type: integer
  5286. isreckoned:
  5287. description: 是否结算 - 0:未结算 1:已结算
  5288. type: integer
  5289. listingselecttype:
  5290. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5291. type: integer
  5292. marketid:
  5293. description: 市场ID
  5294. type: integer
  5295. marketname:
  5296. description: 市场名称
  5297. type: string
  5298. matchaccountid:
  5299. description: 对手账号id
  5300. type: integer
  5301. memberuserid:
  5302. description: 会员id 个人投资者 需要填写
  5303. type: integer
  5304. opencharge:
  5305. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  5306. type: number
  5307. openexchagechargevalue:
  5308. description: 建仓交易所手续费设置值
  5309. type: number
  5310. openfeealgorithm:
  5311. description: 建仓手续费收取方式 1:比率 2:固定
  5312. type: integer
  5313. openmemberchargevalue:
  5314. description: 建仓会员手续费设置值
  5315. type: number
  5316. openqty:
  5317. description: 开仓数量(先建后平操作 需要记录)
  5318. type: integer
  5319. optiontype:
  5320. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  5321. type: integer
  5322. orderid:
  5323. description: 委托单号
  5324. type: string
  5325. performanceplanid:
  5326. description: 履约计划ID[期权]
  5327. type: integer
  5328. performancestatus:
  5329. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  5330. type: integer
  5331. preexerciseprice:
  5332. description: 预申报价格
  5333. type: number
  5334. premium:
  5335. description: 权利金 - [持仓单的权利金]
  5336. type: number
  5337. relatedouttradeid:
  5338. description: 关联外部成交单ID
  5339. type: integer
  5340. status:
  5341. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  5342. type: integer
  5343. tradeamount:
  5344. description: 成交金额[账户币种,用于所有权]
  5345. type: number
  5346. tradedate:
  5347. description: 交易日(yyyyMMdd)
  5348. type: string
  5349. tradeid:
  5350. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5351. type: string
  5352. trademode:
  5353. description: 交易模式
  5354. type: integer
  5355. tradeprice:
  5356. description: 成交价格
  5357. type: number
  5358. tradeproperty:
  5359. description: 交易属性
  5360. type: integer
  5361. tradeqty:
  5362. description: 成交数量
  5363. type: integer
  5364. tradetime:
  5365. description: 成交时间
  5366. type: string
  5367. tradetype:
  5368. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  5369. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  5370. type: integer
  5371. required:
  5372. - accountid
  5373. - buyorsell
  5374. - goodsid
  5375. - marketid
  5376. - memberuserid
  5377. - orderid
  5378. - tradeamount
  5379. - tradedate
  5380. - tradeid
  5381. - tradeprice
  5382. - tradeqty
  5383. - tradetime
  5384. type: object
  5385. order.QueryTradeOrderDetailRsp:
  5386. properties:
  5387. accountid:
  5388. description: 账户ID[报价币种]
  5389. type: integer
  5390. buildtype:
  5391. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  5392. type: integer
  5393. buyorsell:
  5394. description: 买卖 - 0:买 1:卖
  5395. type: integer
  5396. cancelorderid:
  5397. description: 撤单单号(撤单时填写)
  5398. type: string
  5399. cancelqty:
  5400. description: 撤单数量
  5401. type: integer
  5402. clienttype:
  5403. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  5404. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  5405. type: integer
  5406. closefreezecharge:
  5407. description: 平仓冻结手续费(先建后平操作,需要记录)
  5408. type: number
  5409. closeqty:
  5410. description: 平仓数量(先建后平操作 需要记录)
  5411. type: integer
  5412. closetradeqty:
  5413. description: 平仓成交数量(先建后平操作,需要记录)
  5414. type: integer
  5415. closeunfreezecharge:
  5416. description: 平仓解冻手续费(先建后平操作,需要记录)
  5417. type: number
  5418. delistingtype:
  5419. description: 摘牌类型 - 1:价格最优 2:点选成交
  5420. type: integer
  5421. enableqty:
  5422. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  5423. type: integer
  5424. freezecharge:
  5425. description: 冻结手续费
  5426. type: number
  5427. freezemargin:
  5428. description: 冻结保证金(冻结交易金额)
  5429. type: number
  5430. goodscode:
  5431. description: 商品代码
  5432. type: string
  5433. goodsid:
  5434. description: 商品ID
  5435. type: integer
  5436. goodsname:
  5437. description: 商品名称
  5438. type: string
  5439. listingselecttype:
  5440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5441. type: integer
  5442. marketid:
  5443. description: 市场ID
  5444. type: integer
  5445. marketname:
  5446. description: 市场名称
  5447. type: string
  5448. openfreezecharge:
  5449. description: 开仓冻结手续费(先建后平操作,需要记录)
  5450. type: number
  5451. openqty:
  5452. description: 开仓数量(先建后平操作,需要记录)
  5453. type: integer
  5454. opentradeqty:
  5455. description: 开仓成交数量(先建后平操作,需要记录)
  5456. type: integer
  5457. openunfreezecharge:
  5458. description: 开仓解冻手续费(先建后平操作,需要记录)
  5459. type: number
  5460. operatetype:
  5461. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  5462. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  5463. 15:管理端协议转让
  5464. type: integer
  5465. operatorid:
  5466. description: 登录账号(LoginID)
  5467. type: integer
  5468. orderid:
  5469. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5470. type: string
  5471. orderprice:
  5472. description: 委托价格
  5473. type: number
  5474. orderqty:
  5475. description: 委托数量
  5476. type: integer
  5477. ordersrc:
  5478. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  5479. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  5480. type: integer
  5481. orderstatus:
  5482. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5483. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5484. 16:成交失败违约(荷兰式竞拍专用)
  5485. type: integer
  5486. ordertime:
  5487. description: 委托时间
  5488. type: string
  5489. preorderid:
  5490. description: 关联预埋单号(止盈止损单时填写)
  5491. type: string
  5492. pricemode:
  5493. description: '取价方式 - 1:市价 2: 限价'
  5494. type: integer
  5495. relatedid:
  5496. description: 关联单号(交割单)
  5497. type: string
  5498. tradedate:
  5499. description: 交易日(yyyyMMdd)
  5500. type: string
  5501. trademode:
  5502. description: 交易模式
  5503. type: integer
  5504. tradeqty:
  5505. description: 成交数量
  5506. type: integer
  5507. unfreezecharge:
  5508. description: 解冻手续费
  5509. type: number
  5510. unfreezemargin:
  5511. description: 解冻保证金
  5512. type: number
  5513. validtime:
  5514. description: 有效期限
  5515. type: string
  5516. validtype:
  5517. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  5518. type: integer
  5519. volumetype:
  5520. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  5521. type: integer
  5522. required:
  5523. - accountid
  5524. - buildtype
  5525. - buyorsell
  5526. - goodsid
  5527. - marketid
  5528. - operatetype
  5529. - orderqty
  5530. - ordertime
  5531. - pricemode
  5532. - tradedate
  5533. - validtype
  5534. type: object
  5535. order.QueryTradePositionRsp:
  5536. properties:
  5537. accountid:
  5538. description: 资金账户
  5539. type: integer
  5540. agreeunit:
  5541. description: 合约单位
  5542. type: number
  5543. averageprice:
  5544. description: 持仓均价
  5545. type: number
  5546. buyorsell:
  5547. description: 方向 - 0:买 1:卖
  5548. type: integer
  5549. closetotalqty:
  5550. description: 平仓总数量
  5551. type: integer
  5552. curholderamount:
  5553. description: 当前持仓总金额[商品币种]
  5554. type: number
  5555. curpositionqty:
  5556. description: 当前持仓总数量
  5557. type: integer
  5558. currencyid:
  5559. description: 报价货币ID
  5560. type: integer
  5561. curtdposition:
  5562. description: 期末今日头寸
  5563. type: integer
  5564. decimalplace:
  5565. description: 报价小数位
  5566. type: integer
  5567. enableqty:
  5568. description: 可用量
  5569. type: integer
  5570. fretdposition:
  5571. description: 冻结今日头寸
  5572. type: integer
  5573. frozenqty:
  5574. description: 持仓冻结数量
  5575. type: integer
  5576. goodscode:
  5577. description: 商品代码
  5578. type: string
  5579. goodsid:
  5580. description: 商品Id
  5581. type: integer
  5582. goodsname:
  5583. description: 商品名称
  5584. type: string
  5585. goodunit:
  5586. description: 报价单位
  5587. type: string
  5588. goodunitid:
  5589. description: 报价单位ID
  5590. type: integer
  5591. holderamount:
  5592. description: 期初持仓总金额[商品币种]
  5593. type: number
  5594. marketid:
  5595. description: 所属市场ID
  5596. type: integer
  5597. openreqqty:
  5598. description: 开仓申请数量(用于比较最大持仓数量)
  5599. type: integer
  5600. opentotalqty:
  5601. description: 开仓总数量
  5602. type: integer
  5603. otherfrozenqty:
  5604. description: 持仓其他冻结数量(交割冻结)
  5605. type: integer
  5606. positionqty:
  5607. description: 期初持仓数量
  5608. type: integer
  5609. tnqty:
  5610. description: T+N冻结总量
  5611. type: integer
  5612. tnusedqty:
  5613. description: T+N使用量(可以使用T+N的冻结数量)
  5614. type: integer
  5615. trademode:
  5616. description: 交易模式
  5617. type: integer
  5618. usedmargin:
  5619. description: 占用保证金[商品币种]
  5620. type: number
  5621. required:
  5622. - goodsid
  5623. type: object
  5624. quote.HistoryData:
  5625. properties:
  5626. c:
  5627. description: 收盘价
  5628. type: number
  5629. h:
  5630. description: 最高价
  5631. type: number
  5632. hv:
  5633. description: 持仓量
  5634. type: integer
  5635. l:
  5636. description: 最低价
  5637. type: number
  5638. o:
  5639. description: 开盘价
  5640. type: number
  5641. s:
  5642. description: 结算价,日线周期(包括)以上才有
  5643. type: number
  5644. ts:
  5645. description: 时间
  5646. type: string
  5647. tt:
  5648. description: 总金额
  5649. type: number
  5650. tv:
  5651. description: 总量
  5652. type: integer
  5653. type: object
  5654. quote.QueryTSDataRsp:
  5655. properties:
  5656. decimalPlace:
  5657. description: 小数位
  5658. type: integer
  5659. endTime:
  5660. description: 结束时间
  5661. type: string
  5662. goodsCode:
  5663. description: 商品代码
  5664. type: string
  5665. historyDatas:
  5666. description: 历史数据
  5667. items:
  5668. $ref: '#/definitions/quote.HistoryData'
  5669. type: array
  5670. preSettle:
  5671. description: 昨结
  5672. type: number
  5673. startTime:
  5674. description: 开始时间
  5675. type: string
  5676. tradeDate:
  5677. description: 交易日
  5678. type: string
  5679. type: object
  5680. szdz.QueryConvertLogRsp:
  5681. properties:
  5682. accountid:
  5683. description: 资金账户ID
  5684. type: integer
  5685. clientticket:
  5686. description: 客户端流水号
  5687. type: string
  5688. converttype:
  5689. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  5690. type: integer
  5691. createtime:
  5692. description: 记账时间
  5693. type: string
  5694. daymaxvalue:
  5695. description: 配置当日最大转入限制
  5696. type: number
  5697. daymaxvalue2:
  5698. description: 配置当日最大转入限制(转入)
  5699. type: number
  5700. goodscode:
  5701. description: 商品代码
  5702. type: string
  5703. goodsname:
  5704. description: 商品名称
  5705. type: string
  5706. handlestatus:
  5707. description: 处理状态
  5708. type: integer
  5709. innergoodsid:
  5710. description: 内部商品ID
  5711. type: integer
  5712. inratio:
  5713. description: 配置转入比值
  5714. type: integer
  5715. invalue:
  5716. description: 目标值
  5717. type: number
  5718. logid:
  5719. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5720. type: integer
  5721. mobile:
  5722. description: 手机号码(加密存储)
  5723. type: string
  5724. outergoodscode:
  5725. description: 外部商品代码[JD\PD]
  5726. type: string
  5727. outratio:
  5728. description: 配置转出比值
  5729. type: integer
  5730. outvalue:
  5731. description: 源值
  5732. type: number
  5733. pddecimalplace:
  5734. description: PD小数位
  5735. type: integer
  5736. qty:
  5737. description: 数量
  5738. type: string
  5739. remark:
  5740. description: 备注
  5741. type: string
  5742. sessionid:
  5743. description: 会话ID
  5744. type: integer
  5745. timemaxvalue:
  5746. description: 配置单次最大转入限制
  5747. type: number
  5748. timemaxvalue2:
  5749. description: 配置单次最大转入限制(转入)
  5750. type: number
  5751. timeminvalue:
  5752. description: 配置单次最小数量限制
  5753. type: number
  5754. timeminvalue2:
  5755. description: 配置单次最小数量限制(转入)
  5756. type: number
  5757. tradedate:
  5758. description: 交易日(yyyyMMdd)
  5759. type: string
  5760. userid:
  5761. description: 用户ID
  5762. type: integer
  5763. required:
  5764. - logid
  5765. type: object
  5766. szdz.QueryGoodsPickupRsp:
  5767. properties:
  5768. accountid:
  5769. description: 账户ID
  5770. type: integer
  5771. address:
  5772. description: 提货人详细地址
  5773. type: string
  5774. auditer:
  5775. description: 审核人
  5776. type: integer
  5777. audittime:
  5778. description: 审核时间
  5779. type: string
  5780. cardnum:
  5781. description: 提货人证件号码
  5782. type: string
  5783. cardtypeid:
  5784. description: 提货人证件类型
  5785. type: integer
  5786. checkremark:
  5787. description: 审核备注
  5788. type: string
  5789. goodscode:
  5790. description: 商品代码
  5791. type: string
  5792. goodsid:
  5793. description: 商品ID
  5794. type: integer
  5795. goodsname:
  5796. description: 商品名称
  5797. type: string
  5798. handlestatus:
  5799. description: 处理状态
  5800. type: integer
  5801. marketid:
  5802. description: 市场ID
  5803. type: integer
  5804. phonenum:
  5805. description: 提货人联系方式
  5806. type: string
  5807. qty:
  5808. description: 提货数量
  5809. type: number
  5810. recivername:
  5811. description: 提货人姓名
  5812. type: string
  5813. reqtime:
  5814. description: 更新时间
  5815. type: string
  5816. takemode:
  5817. description: 提货方式 - 2:自提 3:配送
  5818. type: integer
  5819. takeorderid:
  5820. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5821. type: string
  5822. takeorderstatus:
  5823. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5824. type: integer
  5825. takeremark:
  5826. description: 提货备注
  5827. type: string
  5828. tradedate:
  5829. description: 交易日(yyyyMMdd)
  5830. type: string
  5831. userid:
  5832. description: 用户ID
  5833. type: integer
  5834. required:
  5835. - takeorderid
  5836. type: object
  5837. szdz.QueryRecieptOrderRsp:
  5838. properties:
  5839. accountName:
  5840. description: 所属账号名称(已脱敏)
  5841. type: string
  5842. accountid:
  5843. description: 资金账号
  5844. type: integer
  5845. buyorsell:
  5846. description: 方向 - 0:买 1:卖
  5847. type: integer
  5848. enableqty:
  5849. description: 可摘数量
  5850. type: integer
  5851. goodscode:
  5852. description: 商品代码
  5853. type: string
  5854. goodsid:
  5855. description: 商品ID
  5856. type: integer
  5857. goodsname:
  5858. description: 商品名称
  5859. type: string
  5860. orderid:
  5861. description: 委托单号
  5862. type: string
  5863. orderprice:
  5864. description: 委托价格
  5865. type: number
  5866. ordertime:
  5867. description: 委托时间
  5868. type: string
  5869. tradedate:
  5870. description: 交易日(yyyyMMdd)
  5871. type: string
  5872. required:
  5873. - ordertime
  5874. type: object
  5875. szdz.QuerySZDZTradePositionRsp:
  5876. properties:
  5877. accountid:
  5878. description: 账号Id
  5879. type: integer
  5880. agreeunit:
  5881. description: 合约单位
  5882. type: number
  5883. averageprice:
  5884. description: 持仓均价
  5885. type: number
  5886. buyorsell:
  5887. description: 方向 - 0:买 1:卖
  5888. type: integer
  5889. closetotalqty:
  5890. description: 平仓总数量
  5891. type: integer
  5892. curholderamount:
  5893. description: 当前持仓总金额
  5894. type: number
  5895. curpositionqty:
  5896. description: 当前持仓总数量
  5897. type: integer
  5898. currencyid:
  5899. description: 报价货币ID
  5900. type: integer
  5901. curtdposition:
  5902. description: 期末今日头寸
  5903. type: integer
  5904. decimalplace:
  5905. description: 报价小数位
  5906. type: integer
  5907. enableqty:
  5908. description: 可用量
  5909. type: integer
  5910. fretdposition:
  5911. description: 冻结今日头寸
  5912. type: integer
  5913. frozenqty:
  5914. description: 持仓冻结数量
  5915. type: integer
  5916. goodscode:
  5917. description: 商品代码(内部)
  5918. type: string
  5919. goodsid:
  5920. description: 商品Id
  5921. type: integer
  5922. goodsname:
  5923. description: 商品名称
  5924. type: string
  5925. goodunit:
  5926. description: 报价单位
  5927. type: string
  5928. goodunitid:
  5929. description: 报价单位ID
  5930. type: integer
  5931. holderamount:
  5932. description: 期初持仓总金额
  5933. type: number
  5934. marketid:
  5935. description: 市场ID
  5936. type: integer
  5937. openreqqty:
  5938. description: 开仓申请数量
  5939. type: integer
  5940. opentotalqty:
  5941. description: 开仓总数量
  5942. type: integer
  5943. otherfrozenqty:
  5944. description: 持仓其他冻结数量(交割冻结)
  5945. type: integer
  5946. positionqty:
  5947. description: 期初持仓数量
  5948. type: integer
  5949. szdz3freezqty:
  5950. description: 尚志大宗转换冻结总数量
  5951. type: integer
  5952. tnqty:
  5953. description: T+N冻结总量
  5954. type: integer
  5955. tnusedqty:
  5956. description: T+N使用量
  5957. type: integer
  5958. trademode:
  5959. description: 交易模式
  5960. type: integer
  5961. usedmargin:
  5962. description: 占用保证金
  5963. type: number
  5964. type: object
  5965. taaccount.QueryAmountLogRsp:
  5966. properties:
  5967. OPERATETYPENAME:
  5968. description: 资金操作类型名称
  5969. type: string
  5970. accountid:
  5971. description: 资金账户ID
  5972. type: integer
  5973. agoodscode:
  5974. description: 竞拍商品代码
  5975. type: string
  5976. agoodsname:
  5977. description: 竞拍商品名称
  5978. type: string
  5979. amount:
  5980. description: 资金金额
  5981. type: number
  5982. amountadjusttype:
  5983. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  5984. type: integer
  5985. autoid:
  5986. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  5987. type: integer
  5988. balance:
  5989. description: 期初余额
  5990. type: number
  5991. businesscode:
  5992. description: 业务编号
  5993. type: integer
  5994. createtime:
  5995. description: 发生时间
  5996. type: string
  5997. currencyid:
  5998. description: 币种ID
  5999. type: integer
  6000. currentbalance:
  6001. description: 期末余额(变动后金额)
  6002. type: number
  6003. dgoodscode:
  6004. description: 交割商品代码
  6005. type: string
  6006. dgoodsname:
  6007. description: 交割商品名称
  6008. type: string
  6009. goodscode:
  6010. description: 商品代码
  6011. type: string
  6012. goodsid:
  6013. description: 商品ID
  6014. type: integer
  6015. goodsname:
  6016. description: 商品名称
  6017. type: string
  6018. marketid:
  6019. description: 市场ID
  6020. type: integer
  6021. marketname:
  6022. description: 市场名称
  6023. type: string
  6024. moneyticket:
  6025. description: 资金流水号:银行端流水号
  6026. type: integer
  6027. operatetype:
  6028. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  6029. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  6030. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  6031. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  6032. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  6033. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  6034. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  6035. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  6036. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  6037. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  6038. type: integer
  6039. relationorderid:
  6040. description: 关联单号
  6041. type: string
  6042. remark:
  6043. description: 备注
  6044. type: string
  6045. trademode:
  6046. description: 交易模式
  6047. type: integer
  6048. required:
  6049. - accountid
  6050. - amount
  6051. - amountadjusttype
  6052. - autoid
  6053. - balance
  6054. - createtime
  6055. - currentbalance
  6056. - operatetype
  6057. type: object
  6058. taaccount.QueryHisAmountLogRsp:
  6059. properties:
  6060. OPERATETYPENAME:
  6061. description: 资金操作类型名称
  6062. type: string
  6063. accountid:
  6064. description: 资金账户ID
  6065. type: integer
  6066. agoodscode:
  6067. description: 竞拍商品代码
  6068. type: string
  6069. agoodsname:
  6070. description: 竞拍商品名称
  6071. type: string
  6072. amount:
  6073. description: 资金金额
  6074. type: number
  6075. amountadjusttype:
  6076. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  6077. type: integer
  6078. autoid:
  6079. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  6080. type: integer
  6081. balance:
  6082. description: 期初余额
  6083. type: number
  6084. businesscode:
  6085. description: 业务编号
  6086. type: integer
  6087. createtime:
  6088. description: 发生时间
  6089. type: string
  6090. currencyid:
  6091. description: 币种ID
  6092. type: integer
  6093. currentbalance:
  6094. description: 期末余额(变动后金额)
  6095. type: number
  6096. dgoodscode:
  6097. description: 交割商品代码
  6098. type: string
  6099. dgoodsname:
  6100. description: 交割商品名称
  6101. type: string
  6102. goodscode:
  6103. description: 商品代码
  6104. type: string
  6105. goodsid:
  6106. description: 商品ID
  6107. type: integer
  6108. goodsname:
  6109. description: 商品名称
  6110. type: string
  6111. histradedate:
  6112. description: 历史交易日
  6113. type: string
  6114. isvaliddata:
  6115. description: 是否有效 - 0:无效 1:有效
  6116. type: integer
  6117. marketid:
  6118. description: 市场ID
  6119. type: integer
  6120. marketname:
  6121. description: 市场名称
  6122. type: string
  6123. moneyticket:
  6124. description: 资金流水号:银行端流水号
  6125. type: integer
  6126. operatetype:
  6127. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  6128. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  6129. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  6130. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  6131. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  6132. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  6133. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  6134. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  6135. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  6136. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  6137. type: integer
  6138. relationorderid:
  6139. description: 关联单号
  6140. type: string
  6141. remark:
  6142. description: 备注
  6143. type: string
  6144. trademode:
  6145. description: 交易模式
  6146. type: integer
  6147. required:
  6148. - accountid
  6149. - amount
  6150. - amountadjusttype
  6151. - autoid
  6152. - balance
  6153. - createtime
  6154. - currentbalance
  6155. - histradedate
  6156. - operatetype
  6157. type: object
  6158. trade.QueryRecieptOrderRsp:
  6159. properties:
  6160. accountName:
  6161. description: 所属账号名称(已脱敏)
  6162. type: string
  6163. accountid:
  6164. description: 资金账号
  6165. type: integer
  6166. buyorsell:
  6167. description: 方向 - 0:买 1:卖
  6168. type: integer
  6169. enableqty:
  6170. description: 可摘数量
  6171. type: integer
  6172. goodscode:
  6173. description: 商品代码
  6174. type: string
  6175. goodsid:
  6176. description: 商品ID
  6177. type: integer
  6178. goodsname:
  6179. description: 商品名称
  6180. type: string
  6181. orderid:
  6182. description: 委托单号
  6183. type: string
  6184. orderprice:
  6185. description: 委托价格
  6186. type: number
  6187. ordertime:
  6188. description: 委托时间
  6189. type: string
  6190. tradedate:
  6191. description: 交易日(yyyyMMdd)
  6192. type: string
  6193. required:
  6194. - ordertime
  6195. type: object
  6196. info:
  6197. contact: {}
  6198. description: 新的查询服务,替代原通用查询服务。
  6199. termsOfService: http://muchinfo.cn
  6200. title: MTP2.0 查询服务 API
  6201. version: "1.0"
  6202. paths:
  6203. /CPTrade/QueryCPTradeMyBidInfos:
  6204. get:
  6205. parameters:
  6206. - description: 资金账户
  6207. in: query
  6208. name: accountid
  6209. required: true
  6210. type: integer
  6211. - description: 预售市场ID
  6212. in: query
  6213. name: marketid
  6214. type: integer
  6215. - description: 预售商品ID
  6216. in: query
  6217. name: goodsid
  6218. type: integer
  6219. produces:
  6220. - application/json
  6221. responses:
  6222. "200":
  6223. description: OK
  6224. schema:
  6225. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  6226. "500":
  6227. description: Internal Server Error
  6228. schema:
  6229. $ref: '#/definitions/app.Response'
  6230. security:
  6231. - ApiKeyAuth: []
  6232. summary: 查询产能预售我的出价信息
  6233. tags:
  6234. - 产能预售
  6235. /CPTrade/QueryCPTradeOrderDetail:
  6236. get:
  6237. parameters:
  6238. - description: 预售商品ID
  6239. in: query
  6240. name: goodsid
  6241. type: integer
  6242. - description: 预售市场ID
  6243. in: query
  6244. name: marketid
  6245. type: integer
  6246. - description: 预售商品ID列表 - 格式:1,2,3
  6247. in: query
  6248. name: goodsids
  6249. type: string
  6250. produces:
  6251. - application/json
  6252. responses:
  6253. "200":
  6254. description: OK
  6255. schema:
  6256. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  6257. "500":
  6258. description: Internal Server Error
  6259. schema:
  6260. $ref: '#/definitions/app.Response'
  6261. security:
  6262. - ApiKeyAuth: []
  6263. summary: 查询产能预售委托单信息
  6264. tags:
  6265. - 产能预售
  6266. /CPTrade/QueryMyCPTradeGoods:
  6267. get:
  6268. parameters:
  6269. - description: 资金账户
  6270. in: query
  6271. name: accountid
  6272. required: true
  6273. type: integer
  6274. produces:
  6275. - application/json
  6276. responses:
  6277. "200":
  6278. description: OK
  6279. schema:
  6280. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  6281. "500":
  6282. description: Internal Server Error
  6283. schema:
  6284. $ref: '#/definitions/app.Response'
  6285. security:
  6286. - ApiKeyAuth: []
  6287. summary: 查询我的预售信息
  6288. tags:
  6289. - 产能预售
  6290. /CPTrade/QueryPositionCancel:
  6291. get:
  6292. parameters:
  6293. - description: 账户ID
  6294. in: query
  6295. name: userid
  6296. required: true
  6297. type: integer
  6298. - description: 注销ID
  6299. in: query
  6300. name: cancelid
  6301. type: integer
  6302. - description: 资金账户ID
  6303. in: query
  6304. name: accountid
  6305. type: integer
  6306. produces:
  6307. - application/json
  6308. responses:
  6309. "200":
  6310. description: OK
  6311. schema:
  6312. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  6313. "500":
  6314. description: Internal Server Error
  6315. schema:
  6316. $ref: '#/definitions/app.Response'
  6317. security:
  6318. - ApiKeyAuth: []
  6319. summary: 查询远期订单注销申请信息
  6320. tags:
  6321. - 产能预售
  6322. /CPTrade/QueryPreasleApply:
  6323. get:
  6324. parameters:
  6325. - description: 账户ID
  6326. in: query
  6327. name: userid
  6328. required: true
  6329. type: integer
  6330. - description: 申请ID
  6331. in: query
  6332. name: applyid
  6333. type: integer
  6334. - description: 资金账户ID
  6335. in: query
  6336. name: accountid
  6337. type: integer
  6338. produces:
  6339. - application/json
  6340. responses:
  6341. "200":
  6342. description: OK
  6343. schema:
  6344. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  6345. "500":
  6346. description: Internal Server Error
  6347. schema:
  6348. $ref: '#/definitions/app.Response'
  6349. security:
  6350. - ApiKeyAuth: []
  6351. summary: 查询产能预售申请信息
  6352. tags:
  6353. - 产能预售
  6354. /CPTrade/QueryPresaleGoodsEx:
  6355. get:
  6356. parameters:
  6357. - description: 预售商品ID
  6358. in: query
  6359. name: goodsid
  6360. type: integer
  6361. - description: 预售市场ID
  6362. in: query
  6363. name: marketid
  6364. type: integer
  6365. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  6366. in: query
  6367. name: presalemode
  6368. type: integer
  6369. - description: 预售商品ID列表 - 格式:1,2,3
  6370. in: query
  6371. name: goodsids
  6372. type: string
  6373. - description: 预售商品代码
  6374. in: query
  6375. name: goodscode
  6376. type: string
  6377. produces:
  6378. - application/json
  6379. responses:
  6380. "200":
  6381. description: OK
  6382. schema:
  6383. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  6384. "500":
  6385. description: Internal Server Error
  6386. schema:
  6387. $ref: '#/definitions/app.Response'
  6388. security:
  6389. - ApiKeyAuth: []
  6390. summary: 查询产能预售商品扩展信息
  6391. tags:
  6392. - 产能预售
  6393. /CPTrade/QueryUserGoodsData:
  6394. get:
  6395. parameters:
  6396. - description: 资金账户ID
  6397. in: query
  6398. name: accountid
  6399. required: true
  6400. type: integer
  6401. produces:
  6402. - application/json
  6403. responses:
  6404. "200":
  6405. description: OK
  6406. schema:
  6407. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  6408. "500":
  6409. description: Internal Server Error
  6410. schema:
  6411. $ref: '#/definitions/app.Response'
  6412. security:
  6413. - ApiKeyAuth: []
  6414. summary: 查询远期订单信息
  6415. tags:
  6416. - 产能预售
  6417. /Common/GetAllEnums:
  6418. get:
  6419. produces:
  6420. - application/json
  6421. responses:
  6422. "200":
  6423. description: OK
  6424. schema:
  6425. $ref: '#/definitions/models.Enumdicitem'
  6426. "500":
  6427. description: Internal Server Error
  6428. schema:
  6429. $ref: '#/definitions/app.Response'
  6430. summary: 获取所有枚举信息
  6431. tags:
  6432. - 通用服务
  6433. /Common/GetServerTime:
  6434. get:
  6435. produces:
  6436. - application/json
  6437. responses:
  6438. "200":
  6439. description: OK
  6440. schema:
  6441. $ref: '#/definitions/app.Response'
  6442. "500":
  6443. description: Internal Server Error
  6444. schema:
  6445. $ref: '#/definitions/app.Response'
  6446. summary: 获取服务器时间
  6447. tags:
  6448. - 通用服务
  6449. /Common/NoticeReaded:
  6450. post:
  6451. parameters:
  6452. - description: 登录账号
  6453. in: query
  6454. name: loginID
  6455. required: true
  6456. type: integer
  6457. - description: 通知公告ID
  6458. in: query
  6459. name: noticeID
  6460. required: true
  6461. type: integer
  6462. produces:
  6463. - application/json
  6464. responses:
  6465. "200":
  6466. description: OK
  6467. schema:
  6468. $ref: '#/definitions/app.Response'
  6469. "500":
  6470. description: Internal Server Error
  6471. schema:
  6472. $ref: '#/definitions/app.Response'
  6473. security:
  6474. - ApiKeyAuth: []
  6475. summary: 通知公告设置已读请求
  6476. tags:
  6477. - 通用服务
  6478. /Common/QueryImageConfigs:
  6479. get:
  6480. parameters:
  6481. - description: 类型 - 1:App首页轮播 2:我的
  6482. in: query
  6483. name: imageType
  6484. type: integer
  6485. produces:
  6486. - application/json
  6487. responses:
  6488. "200":
  6489. description: OK
  6490. schema:
  6491. $ref: '#/definitions/models.Szdz2imageconfig'
  6492. "500":
  6493. description: Internal Server Error
  6494. schema:
  6495. $ref: '#/definitions/app.Response'
  6496. summary: 查询轮播图配置信息
  6497. tags:
  6498. - 通用服务
  6499. /Common/QueryNotice:
  6500. get:
  6501. parameters:
  6502. - description: 页码
  6503. in: query
  6504. name: page
  6505. type: integer
  6506. - description: 每页条数
  6507. in: query
  6508. name: pagesize
  6509. type: integer
  6510. - description: 登录账号
  6511. in: query
  6512. name: loginID
  6513. required: true
  6514. type: integer
  6515. - description: 消息类型 - 1:公告通知 2:系统消息
  6516. in: query
  6517. name: msgType
  6518. type: integer
  6519. - description: 是否只获取未读信息
  6520. in: query
  6521. name: onlyUnRead
  6522. type: boolean
  6523. produces:
  6524. - application/json
  6525. responses:
  6526. "200":
  6527. description: OK
  6528. schema:
  6529. $ref: '#/definitions/common.QueryNoticeRsp'
  6530. "500":
  6531. description: Internal Server Error
  6532. schema:
  6533. $ref: '#/definitions/app.Response'
  6534. security:
  6535. - ApiKeyAuth: []
  6536. summary: 通知公告系统消息查询
  6537. tags:
  6538. - 通用服务
  6539. /Common/QueryProvincesAndCities:
  6540. get:
  6541. parameters:
  6542. - description: 省ID
  6543. in: query
  6544. name: provinceID
  6545. type: integer
  6546. produces:
  6547. - application/json
  6548. responses:
  6549. "200":
  6550. description: OK
  6551. schema:
  6552. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  6553. "500":
  6554. description: Internal Server Error
  6555. schema:
  6556. $ref: '#/definitions/app.Response'
  6557. summary: 查询省市信息(不包括区)
  6558. tags:
  6559. - 通用服务
  6560. /Common/QueryTableDefine:
  6561. get:
  6562. parameters:
  6563. - description: 表key
  6564. in: query
  6565. name: tableKey
  6566. type: string
  6567. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  6568. in: query
  6569. name: tableType
  6570. type: integer
  6571. produces:
  6572. - application/json
  6573. responses:
  6574. "200":
  6575. description: OK
  6576. schema:
  6577. $ref: '#/definitions/common.QueryTableDefineRsp'
  6578. "500":
  6579. description: Internal Server Error
  6580. schema:
  6581. $ref: '#/definitions/app.Response'
  6582. summary: 查询交易端列表头信息
  6583. tags:
  6584. - 通用服务
  6585. /Common/QueryTraderMenu:
  6586. get:
  6587. parameters:
  6588. - description: 登录账号
  6589. in: query
  6590. name: loginid
  6591. required: true
  6592. type: integer
  6593. produces:
  6594. - application/json
  6595. responses:
  6596. "200":
  6597. description: OK
  6598. schema:
  6599. $ref: '#/definitions/common.QueryTraderMenuRsp'
  6600. "500":
  6601. description: Internal Server Error
  6602. schema:
  6603. $ref: '#/definitions/app.Response'
  6604. summary: 查询交易端菜单
  6605. tags:
  6606. - 通用服务
  6607. /Delivery/QueryDeliveryRelation:
  6608. get:
  6609. parameters:
  6610. - description: 商品ID
  6611. in: query
  6612. name: goodsid
  6613. type: integer
  6614. - description: 品种ID
  6615. in: query
  6616. name: deliverygoodsid
  6617. type: integer
  6618. - description: 市场ID
  6619. in: query
  6620. name: marketid
  6621. type: integer
  6622. produces:
  6623. - application/json
  6624. responses:
  6625. "200":
  6626. description: OK
  6627. schema:
  6628. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  6629. "500":
  6630. description: Internal Server Error
  6631. schema:
  6632. $ref: '#/definitions/app.Response'
  6633. security:
  6634. - ApiKeyAuth: []
  6635. summary: 查询商品交割关系表
  6636. tags:
  6637. - 交割服务
  6638. /Ermcp/QueryBusinessDj:
  6639. get:
  6640. parameters:
  6641. - description: 用户ID
  6642. in: query
  6643. name: UserId
  6644. required: true
  6645. type: integer
  6646. - description: 现货合同ID, 不填则查所有
  6647. in: query
  6648. name: relatedid
  6649. type: string
  6650. produces:
  6651. - application/json
  6652. responses:
  6653. "200":
  6654. description: OK
  6655. schema:
  6656. items:
  6657. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  6658. type: array
  6659. "500":
  6660. description: Internal Server Error
  6661. schema:
  6662. $ref: '#/definitions/app.Response'
  6663. security:
  6664. - ApiKeyAuth: []
  6665. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  6666. tags:
  6667. - 企业风险管理(app)
  6668. /Ermcp/QueryBusinessFp:
  6669. get:
  6670. parameters:
  6671. - description: 用户ID
  6672. in: query
  6673. name: UserId
  6674. required: true
  6675. type: integer
  6676. - description: 现货合同ID, 不填则查所有
  6677. in: query
  6678. name: relatedid
  6679. type: string
  6680. produces:
  6681. - application/json
  6682. responses:
  6683. "200":
  6684. description: OK
  6685. schema:
  6686. items:
  6687. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  6688. type: array
  6689. "500":
  6690. description: Internal Server Error
  6691. schema:
  6692. $ref: '#/definitions/app.Response'
  6693. security:
  6694. - ApiKeyAuth: []
  6695. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  6696. tags:
  6697. - 企业风险管理(app)
  6698. /Ermcp/QueryBusinessJs:
  6699. get:
  6700. parameters:
  6701. - description: 用户ID
  6702. in: query
  6703. name: UserId
  6704. required: true
  6705. type: integer
  6706. - description: 现货合同ID, 不填则查所有
  6707. in: query
  6708. name: relatedid
  6709. type: string
  6710. produces:
  6711. - application/json
  6712. responses:
  6713. "200":
  6714. description: OK
  6715. schema:
  6716. items:
  6717. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  6718. type: array
  6719. "500":
  6720. description: Internal Server Error
  6721. schema:
  6722. $ref: '#/definitions/app.Response'
  6723. security:
  6724. - ApiKeyAuth: []
  6725. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  6726. tags:
  6727. - 企业风险管理(app)
  6728. /Ermcp/QueryBusinessKx:
  6729. get:
  6730. parameters:
  6731. - description: 用户ID
  6732. in: query
  6733. name: UserId
  6734. required: true
  6735. type: integer
  6736. - description: 现货合同ID, 不填则查所有
  6737. in: query
  6738. name: relatedid
  6739. type: string
  6740. produces:
  6741. - application/json
  6742. responses:
  6743. "200":
  6744. description: OK
  6745. schema:
  6746. items:
  6747. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  6748. type: array
  6749. "500":
  6750. description: Internal Server Error
  6751. schema:
  6752. $ref: '#/definitions/app.Response'
  6753. security:
  6754. - ApiKeyAuth: []
  6755. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  6756. tags:
  6757. - 企业风险管理(app)
  6758. /Ermcp/QueryChangeLog:
  6759. get:
  6760. parameters:
  6761. - description: 用户ID
  6762. in: query
  6763. name: RelatedId
  6764. required: true
  6765. type: string
  6766. produces:
  6767. - application/json
  6768. responses:
  6769. "200":
  6770. description: OK
  6771. schema:
  6772. items:
  6773. $ref: '#/definitions/ermcp.QryOPLogRsp'
  6774. type: array
  6775. "500":
  6776. description: Internal Server Error
  6777. schema:
  6778. $ref: '#/definitions/app.Response'
  6779. security:
  6780. - ApiKeyAuth: []
  6781. summary: 查询变更记录
  6782. tags:
  6783. - 企业风险管理(app)
  6784. /Ermcp/QueryContract:
  6785. get:
  6786. parameters:
  6787. - description: 用户ID
  6788. in: query
  6789. name: userId
  6790. required: true
  6791. type: integer
  6792. - description: 合同类型 1-采购, -1-销售
  6793. in: query
  6794. name: contracttype
  6795. required: true
  6796. type: integer
  6797. - description: 查询类型 1-全部 2-待点价 3-履约结算
  6798. in: query
  6799. name: querytype
  6800. required: true
  6801. type: integer
  6802. produces:
  6803. - application/json
  6804. responses:
  6805. "200":
  6806. description: OK
  6807. schema:
  6808. items:
  6809. $ref: '#/definitions/ermcp.QryErmcpRsp'
  6810. type: array
  6811. "500":
  6812. description: Internal Server Error
  6813. schema:
  6814. $ref: '#/definitions/app.Response'
  6815. security:
  6816. - ApiKeyAuth: []
  6817. summary: 查询合同(采购和销售)
  6818. tags:
  6819. - 企业风险管理(app)
  6820. /Ermcp/QueryHedgePlan:
  6821. get:
  6822. parameters:
  6823. - description: 用户ID
  6824. in: query
  6825. name: userId
  6826. required: true
  6827. type: integer
  6828. - description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6829. in: query
  6830. name: HedgePlanStatus
  6831. required: true
  6832. type: integer
  6833. produces:
  6834. - application/json
  6835. responses:
  6836. "200":
  6837. description: OK
  6838. schema:
  6839. items:
  6840. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  6841. type: array
  6842. "500":
  6843. description: Internal Server Error
  6844. schema:
  6845. $ref: '#/definitions/app.Response'
  6846. security:
  6847. - ApiKeyAuth: []
  6848. summary: 查询套保计划
  6849. tags:
  6850. - 企业风险管理(app)
  6851. /Ermcp/QuerySpotContract:
  6852. get:
  6853. parameters:
  6854. - description: 用户ID
  6855. in: query
  6856. name: userId
  6857. required: true
  6858. type: integer
  6859. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  6860. in: query
  6861. name: QueryType
  6862. required: true
  6863. type: integer
  6864. produces:
  6865. - application/json
  6866. responses:
  6867. "200":
  6868. description: OK
  6869. schema:
  6870. items:
  6871. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  6872. type: array
  6873. "500":
  6874. description: Internal Server Error
  6875. schema:
  6876. $ref: '#/definitions/app.Response'
  6877. security:
  6878. - ApiKeyAuth: []
  6879. summary: 查询现货合同(对应现货合同菜单)
  6880. tags:
  6881. - 企业风险管理(app)
  6882. /Ermcp/QueryUserInfo:
  6883. get:
  6884. parameters:
  6885. - description: 所属机构用户ID
  6886. in: query
  6887. name: MemberUserID
  6888. required: true
  6889. type: integer
  6890. - description: 账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6891. in: query
  6892. name: AccountStatus
  6893. required: true
  6894. type: string
  6895. produces:
  6896. - application/json
  6897. responses:
  6898. "200":
  6899. description: OK
  6900. schema:
  6901. items:
  6902. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  6903. type: array
  6904. "500":
  6905. description: Internal Server Error
  6906. schema:
  6907. $ref: '#/definitions/app.Response'
  6908. security:
  6909. - ApiKeyAuth: []
  6910. summary: 查询客户资料
  6911. tags:
  6912. - 企业风险管理(app)
  6913. /Ermcp/QueryWrStandard:
  6914. get:
  6915. parameters:
  6916. - description: 所属机构ID
  6917. in: query
  6918. name: userid
  6919. required: true
  6920. type: integer
  6921. produces:
  6922. - application/json
  6923. responses:
  6924. "200":
  6925. description: OK
  6926. schema:
  6927. items:
  6928. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  6929. type: array
  6930. "500":
  6931. description: Internal Server Error
  6932. schema:
  6933. $ref: '#/definitions/app.Response'
  6934. security:
  6935. - ApiKeyAuth: []
  6936. summary: 查询现货商品
  6937. tags:
  6938. - 企业风险管理(app)
  6939. /Erms2/QueryArbitrageStrategy:
  6940. get:
  6941. parameters:
  6942. - description: 账户ID
  6943. in: query
  6944. name: userid
  6945. required: true
  6946. type: integer
  6947. - description: 商品组ID(品种ID)
  6948. in: query
  6949. name: goodsgroupid
  6950. type: string
  6951. produces:
  6952. - application/json
  6953. responses:
  6954. "200":
  6955. description: OK
  6956. schema:
  6957. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  6958. "500":
  6959. description: Internal Server Error
  6960. schema:
  6961. $ref: '#/definitions/app.Response'
  6962. security:
  6963. - ApiKeyAuth: []
  6964. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  6965. tags:
  6966. - 风险管理
  6967. /Erms2/QueryInnerTradeDetail:
  6968. get:
  6969. parameters:
  6970. - description: 资金账户
  6971. in: query
  6972. name: accountid
  6973. required: true
  6974. type: integer
  6975. produces:
  6976. - application/json
  6977. responses:
  6978. "200":
  6979. description: OK
  6980. schema:
  6981. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  6982. "500":
  6983. description: Internal Server Error
  6984. schema:
  6985. $ref: '#/definitions/app.Response'
  6986. security:
  6987. - ApiKeyAuth: []
  6988. summary: 查询内部成交单信息
  6989. tags:
  6990. - 风险管理
  6991. /Erms2/QuerySpotContract:
  6992. get:
  6993. parameters:
  6994. - description: 策略申请ID
  6995. in: query
  6996. name: asapplyid
  6997. required: true
  6998. type: integer
  6999. - description: 现货合同ID
  7000. in: query
  7001. name: spotcontractid
  7002. type: integer
  7003. produces:
  7004. - application/json
  7005. responses:
  7006. "200":
  7007. description: OK
  7008. schema:
  7009. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  7010. "500":
  7011. description: Internal Server Error
  7012. schema:
  7013. $ref: '#/definitions/app.Response'
  7014. security:
  7015. - ApiKeyAuth: []
  7016. summary: 查询现货合同表信息(指定策略ID、未结束的)
  7017. tags:
  7018. - 风险管理
  7019. /Erms3/AddErms2ASApply:
  7020. post:
  7021. parameters:
  7022. - description: 申请参数
  7023. in: body
  7024. name: jsonBody
  7025. required: true
  7026. schema:
  7027. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  7028. produces:
  7029. - application/json
  7030. responses:
  7031. "200":
  7032. description: OK
  7033. schema:
  7034. $ref: '#/definitions/app.Response'
  7035. "500":
  7036. description: Internal Server Error
  7037. schema:
  7038. $ref: '#/definitions/app.Response'
  7039. security:
  7040. - ApiKeyAuth: []
  7041. summary: 新增期现套利业务申请
  7042. tags:
  7043. - 风险管理v3
  7044. /Erms3/AddErms2SpotTradeApply:
  7045. post:
  7046. parameters:
  7047. - description: 申请参数
  7048. in: body
  7049. name: jsonBody
  7050. required: true
  7051. schema:
  7052. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  7053. produces:
  7054. - application/json
  7055. responses:
  7056. "200":
  7057. description: OK
  7058. schema:
  7059. $ref: '#/definitions/app.Response'
  7060. "500":
  7061. description: Internal Server Error
  7062. schema:
  7063. $ref: '#/definitions/app.Response'
  7064. security:
  7065. - ApiKeyAuth: []
  7066. summary: 新增现货贸易业务申请
  7067. tags:
  7068. - 风险管理v3
  7069. /Erms3/AddSpotContractApply:
  7070. post:
  7071. parameters:
  7072. - description: 申请参数
  7073. in: body
  7074. name: jsonBody
  7075. required: true
  7076. schema:
  7077. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  7078. produces:
  7079. - application/json
  7080. responses:
  7081. "200":
  7082. description: OK
  7083. schema:
  7084. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  7085. "500":
  7086. description: Internal Server Error
  7087. schema:
  7088. $ref: '#/definitions/app.Response'
  7089. security:
  7090. - ApiKeyAuth: []
  7091. summary: 新增现货合同申请
  7092. tags:
  7093. - 风险管理v3
  7094. /Erms3/AddUserInfoApply:
  7095. post:
  7096. parameters:
  7097. - description: 申请参数
  7098. in: body
  7099. name: jsonBody
  7100. required: true
  7101. schema:
  7102. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  7103. produces:
  7104. - application/json
  7105. responses:
  7106. "200":
  7107. description: OK
  7108. schema:
  7109. $ref: '#/definitions/app.Response'
  7110. "500":
  7111. description: Internal Server Error
  7112. schema:
  7113. $ref: '#/definitions/app.Response'
  7114. security:
  7115. - ApiKeyAuth: []
  7116. summary: 新增客户申请
  7117. tags:
  7118. - 风险管理v3
  7119. /Erms3/QueryBusinessInfo:
  7120. get:
  7121. parameters:
  7122. - description: 资金账号ID列表,用逗号分隔
  7123. in: query
  7124. name: accountids
  7125. required: true
  7126. type: string
  7127. - description: 状态,0为未结束 1为已结束
  7128. in: query
  7129. name: status
  7130. required: true
  7131. type: integer
  7132. produces:
  7133. - application/json
  7134. responses:
  7135. "200":
  7136. description: OK
  7137. schema:
  7138. items:
  7139. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  7140. type: array
  7141. "500":
  7142. description: Internal Server Error
  7143. schema:
  7144. $ref: '#/definitions/app.Response'
  7145. security:
  7146. - ApiKeyAuth: []
  7147. summary: 查询业务表单数据
  7148. tags:
  7149. - 风险管理v3
  7150. /Erms3/QueryPendingAuditContract:
  7151. get:
  7152. parameters:
  7153. - description: 资金账号ID列表,逗号隔开
  7154. in: query
  7155. name: accountids
  7156. required: true
  7157. type: string
  7158. - description: 合同类型 1-采购 -1-销售
  7159. in: query
  7160. name: contracttype
  7161. required: true
  7162. type: integer
  7163. - description: 合同模式 1-普通 2-回购
  7164. in: query
  7165. name: contractmode
  7166. required: true
  7167. type: integer
  7168. produces:
  7169. - application/json
  7170. responses:
  7171. "200":
  7172. description: OK
  7173. schema:
  7174. items:
  7175. $ref: '#/definitions/erms3.QryAuditContractRsp'
  7176. type: array
  7177. "500":
  7178. description: Internal Server Error
  7179. schema:
  7180. $ref: '#/definitions/app.Response'
  7181. security:
  7182. - ApiKeyAuth: []
  7183. summary: 查询待审核合同
  7184. tags:
  7185. - 风险管理v3
  7186. /Erms3/QueryPendingBusiness:
  7187. get:
  7188. parameters:
  7189. - description: 资金账号ID列表,逗号隔开
  7190. in: query
  7191. name: accountids
  7192. required: true
  7193. type: string
  7194. produces:
  7195. - application/json
  7196. responses:
  7197. "200":
  7198. description: OK
  7199. schema:
  7200. items:
  7201. $ref: '#/definitions/erms3.QryPendingBizRsp'
  7202. type: array
  7203. "500":
  7204. description: Internal Server Error
  7205. schema:
  7206. $ref: '#/definitions/app.Response'
  7207. security:
  7208. - ApiKeyAuth: []
  7209. summary: 查询待审核基差贸易业务
  7210. tags:
  7211. - 风险管理v3
  7212. /Erms3/QuerySpotContractAppleForm:
  7213. get:
  7214. parameters:
  7215. - description: 登录账号
  7216. in: query
  7217. name: loginID
  7218. required: true
  7219. type: integer
  7220. produces:
  7221. - application/json
  7222. responses:
  7223. "200":
  7224. description: OK
  7225. schema:
  7226. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  7227. "500":
  7228. description: Internal Server Error
  7229. schema:
  7230. $ref: '#/definitions/app.Response'
  7231. security:
  7232. - ApiKeyAuth: []
  7233. summary: 查询合同申请表单数据
  7234. tags:
  7235. - 风险管理v3
  7236. /Erms3/QuerySpotContractDetail:
  7237. get:
  7238. parameters:
  7239. - description: 资金账号ID列表,用逗号分隔
  7240. in: query
  7241. name: accountids
  7242. required: true
  7243. type: string
  7244. - description: 合同类型,1为采购合同 -1为销售合同
  7245. in: query
  7246. name: contracttype
  7247. required: true
  7248. type: integer
  7249. - description: 合同模式,1为普通合同 2为回购销售合同
  7250. in: query
  7251. name: contractmode
  7252. required: true
  7253. type: integer
  7254. - description: 状态,0为履约中 1为已完成
  7255. in: query
  7256. name: status
  7257. required: true
  7258. type: integer
  7259. produces:
  7260. - application/json
  7261. responses:
  7262. "200":
  7263. description: OK
  7264. schema:
  7265. items:
  7266. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  7267. type: array
  7268. "500":
  7269. description: Internal Server Error
  7270. schema:
  7271. $ref: '#/definitions/app.Response'
  7272. security:
  7273. - ApiKeyAuth: []
  7274. summary: 查询合同详细信息
  7275. tags:
  7276. - 风险管理v3
  7277. /Erms3/QueryUserInfoApplies:
  7278. get:
  7279. parameters:
  7280. - description: 页码
  7281. in: query
  7282. name: page
  7283. type: integer
  7284. - description: 每页条数
  7285. in: query
  7286. name: pagesize
  7287. type: integer
  7288. - description: 客户名称,支持模糊查询
  7289. in: query
  7290. name: userName
  7291. type: string
  7292. produces:
  7293. - application/json
  7294. responses:
  7295. "200":
  7296. description: OK
  7297. schema:
  7298. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  7299. "500":
  7300. description: Internal Server Error
  7301. schema:
  7302. $ref: '#/definitions/app.Response'
  7303. security:
  7304. - ApiKeyAuth: []
  7305. summary: 客户申请信息查询
  7306. tags:
  7307. - 风险管理v3
  7308. /Erms3/QueryUserInfos:
  7309. get:
  7310. parameters:
  7311. - description: 页码
  7312. in: query
  7313. name: page
  7314. type: integer
  7315. - description: 每页条数
  7316. in: query
  7317. name: pagesize
  7318. type: integer
  7319. - description: 客户名称,支持模糊查询
  7320. in: query
  7321. name: userName
  7322. type: string
  7323. produces:
  7324. - application/json
  7325. responses:
  7326. "200":
  7327. description: OK
  7328. schema:
  7329. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  7330. "500":
  7331. description: Internal Server Error
  7332. schema:
  7333. $ref: '#/definitions/app.Response'
  7334. security:
  7335. - ApiKeyAuth: []
  7336. summary: 客户信息查询
  7337. tags:
  7338. - 风险管理v3
  7339. /HSBY/GetHsbyMyCount:
  7340. get:
  7341. description: 说明: 不包括已完成的数量。
  7342. parameters:
  7343. - description: 资金账户列表,格式:1,2,3
  7344. in: query
  7345. name: accountIDs
  7346. required: true
  7347. type: string
  7348. produces:
  7349. - application/json
  7350. responses:
  7351. "200":
  7352. description: OK
  7353. schema:
  7354. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  7355. "500":
  7356. description: Internal Server Error
  7357. schema:
  7358. $ref: '#/definitions/app.Response'
  7359. security:
  7360. - ApiKeyAuth: []
  7361. summary: 获取我的订单与包裹数量
  7362. tags:
  7363. - 定制【海商报业】
  7364. /HSBY/QueryClientFixedADConfigs:
  7365. get:
  7366. produces:
  7367. - application/json
  7368. responses:
  7369. "200":
  7370. description: OK
  7371. schema:
  7372. $ref: '#/definitions/models.Clientfixedadconfig'
  7373. "500":
  7374. description: Internal Server Error
  7375. schema:
  7376. $ref: '#/definitions/app.Response'
  7377. security:
  7378. - ApiKeyAuth: []
  7379. summary: 获取终端固定广告配置
  7380. tags:
  7381. - 定制【海商报业】
  7382. /HSBY/QueryHsbyBuyMyTradeDetail:
  7383. get:
  7384. parameters:
  7385. - description: 页码
  7386. in: query
  7387. name: page
  7388. type: integer
  7389. - description: 每页条数
  7390. in: query
  7391. name: pagesize
  7392. type: integer
  7393. - description: 资金账户列表,格式:1,2,3
  7394. in: query
  7395. name: accountIDs
  7396. required: true
  7397. type: string
  7398. produces:
  7399. - application/json
  7400. responses:
  7401. "200":
  7402. description: OK
  7403. schema:
  7404. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  7405. "500":
  7406. description: Internal Server Error
  7407. schema:
  7408. $ref: '#/definitions/app.Response'
  7409. security:
  7410. - ApiKeyAuth: []
  7411. summary: 查询"我的订单 - 已完成"单据信息
  7412. tags:
  7413. - 定制【海商报业】
  7414. /HSBY/QueryHsbyGoodsOrderDetails:
  7415. get:
  7416. description: 说明:查询结果已按委托价格和委托时间排序
  7417. parameters:
  7418. - description: 商品ID
  7419. in: query
  7420. name: goodsID
  7421. required: true
  7422. type: integer
  7423. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  7424. in: query
  7425. name: accountIDs
  7426. type: string
  7427. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  7428. in: query
  7429. name: buyOrSell
  7430. type: integer
  7431. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  7432. in: query
  7433. name: price
  7434. type: number
  7435. - description: 档位,不传则默认为3档
  7436. in: query
  7437. name: speed
  7438. type: integer
  7439. produces:
  7440. - application/json
  7441. responses:
  7442. "200":
  7443. description: OK
  7444. schema:
  7445. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  7446. "500":
  7447. description: Internal Server Error
  7448. schema:
  7449. $ref: '#/definitions/app.Response'
  7450. security:
  7451. - ApiKeyAuth: []
  7452. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  7453. tags:
  7454. - 定制【海商报业】
  7455. /HSBY/QueryHsbyListingGoodsDetail:
  7456. get:
  7457. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  7458. parameters:
  7459. - description: 商品ID
  7460. in: query
  7461. name: goodsID
  7462. required: true
  7463. type: integer
  7464. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  7465. in: query
  7466. name: accountID
  7467. type: integer
  7468. produces:
  7469. - application/json
  7470. responses:
  7471. "200":
  7472. description: OK
  7473. schema:
  7474. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  7475. "500":
  7476. description: Internal Server Error
  7477. schema:
  7478. $ref: '#/definitions/app.Response'
  7479. security:
  7480. - ApiKeyAuth: []
  7481. summary: 查询二级市场(挂牌点选)商品信息详情
  7482. tags:
  7483. - 定制【海商报业】
  7484. /HSBY/QueryHsbyMarketGoodsDetail:
  7485. get:
  7486. parameters:
  7487. - description: 委托单号
  7488. in: query
  7489. name: orderID
  7490. required: true
  7491. type: integer
  7492. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  7493. in: query
  7494. name: accountID
  7495. type: integer
  7496. produces:
  7497. - application/json
  7498. responses:
  7499. "200":
  7500. description: OK
  7501. schema:
  7502. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  7503. "500":
  7504. description: Internal Server Error
  7505. schema:
  7506. $ref: '#/definitions/app.Response'
  7507. security:
  7508. - ApiKeyAuth: []
  7509. summary: 查询三级市场(商城)商品信息详情
  7510. tags:
  7511. - 定制【海商报业】
  7512. /HSBY/QueryHsbyMarketGoodses:
  7513. get:
  7514. parameters:
  7515. - description: 页码
  7516. in: query
  7517. name: page
  7518. type: integer
  7519. - description: 每页条数
  7520. in: query
  7521. name: pagesize
  7522. type: integer
  7523. - description: 市场ID列表,格式:1,2,3
  7524. in: query
  7525. name: marketIDs
  7526. required: true
  7527. type: string
  7528. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  7529. in: query
  7530. name: accountID
  7531. required: true
  7532. type: integer
  7533. - description: 类别ID
  7534. in: query
  7535. name: categoryID
  7536. type: integer
  7537. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  7538. in: query
  7539. name: goodsIDs
  7540. type: string
  7541. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  7542. in: query
  7543. name: couponTypeID
  7544. type: integer
  7545. produces:
  7546. - application/json
  7547. responses:
  7548. "200":
  7549. description: OK
  7550. schema:
  7551. $ref: '#/definitions/models.HsbyMarketGoods'
  7552. "500":
  7553. description: Internal Server Error
  7554. schema:
  7555. $ref: '#/definitions/app.Response'
  7556. security:
  7557. - ApiKeyAuth: []
  7558. summary: 查询特卖商品列表(三级商城)
  7559. tags:
  7560. - 定制【海商报业】
  7561. /HSBY/QueryHsbyMarkets:
  7562. get:
  7563. produces:
  7564. - application/json
  7565. responses:
  7566. "200":
  7567. description: OK
  7568. schema:
  7569. $ref: '#/definitions/models.HsbyMarketInfo'
  7570. "500":
  7571. description: Internal Server Error
  7572. schema:
  7573. $ref: '#/definitions/app.Response'
  7574. security:
  7575. - ApiKeyAuth: []
  7576. summary: 查询海商报业相关市场信息
  7577. tags:
  7578. - 定制【海商报业】
  7579. /HSBY/QueryHsbyMyBuyOrderDetails:
  7580. get:
  7581. description: 说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;
  7582. parameters:
  7583. - description: 资金账户列表,格式:1,2,3
  7584. in: query
  7585. name: accountIDs
  7586. required: true
  7587. type: string
  7588. - description: '''我的订单''状态, 1:抢购中 2:求购中 3:已完成;不传则为''全部'''
  7589. in: query
  7590. name: myBuyStatus
  7591. type: integer
  7592. produces:
  7593. - application/json
  7594. responses:
  7595. "200":
  7596. description: OK
  7597. schema:
  7598. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  7599. "500":
  7600. description: Internal Server Error
  7601. schema:
  7602. $ref: '#/definitions/app.Response'
  7603. security:
  7604. - ApiKeyAuth: []
  7605. summary: 查询“我的订单”信息
  7606. tags:
  7607. - 定制【海商报业】
  7608. /HSBY/QueryHsbyMyGoods:
  7609. get:
  7610. parameters:
  7611. - description: 资金账户列表,格式:1,2,3
  7612. in: query
  7613. name: accountIDs
  7614. required: true
  7615. type: string
  7616. produces:
  7617. - application/json
  7618. responses:
  7619. "200":
  7620. description: OK
  7621. schema:
  7622. $ref: '#/definitions/models.HsbyMyGoods'
  7623. "500":
  7624. description: Internal Server Error
  7625. schema:
  7626. $ref: '#/definitions/app.Response'
  7627. security:
  7628. - ApiKeyAuth: []
  7629. summary: 查询“我的商品”信息
  7630. tags:
  7631. - 定制【海商报业】
  7632. /HSBY/QueryHsbyMyPackages:
  7633. get:
  7634. parameters:
  7635. - description: 资金账户列表,格式:1,2,3
  7636. in: query
  7637. name: accountIDs
  7638. required: true
  7639. type: string
  7640. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7641. in: query
  7642. name: takeOrderStatus
  7643. type: integer
  7644. produces:
  7645. - application/json
  7646. responses:
  7647. "200":
  7648. description: OK
  7649. schema:
  7650. $ref: '#/definitions/models.HsbyMyPackage'
  7651. "500":
  7652. description: Internal Server Error
  7653. schema:
  7654. $ref: '#/definitions/app.Response'
  7655. security:
  7656. - ApiKeyAuth: []
  7657. summary: 查询我的包裹信息
  7658. tags:
  7659. - 定制【海商报业】
  7660. /HSBY/QueryHsbyPreGoodsDetail:
  7661. get:
  7662. parameters:
  7663. - description: 商品ID
  7664. in: query
  7665. name: goodsID
  7666. required: true
  7667. type: integer
  7668. - description: 资金账户,主要用于获取预售商品购买上限
  7669. in: query
  7670. name: accountID
  7671. type: integer
  7672. produces:
  7673. - application/json
  7674. responses:
  7675. "200":
  7676. description: OK
  7677. schema:
  7678. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  7679. "500":
  7680. description: Internal Server Error
  7681. schema:
  7682. $ref: '#/definitions/app.Response'
  7683. security:
  7684. - ApiKeyAuth: []
  7685. summary: 查询一级市场(预售)商品信息详情
  7686. tags:
  7687. - 定制【海商报业】
  7688. /HSBY/QueryHsbyPreGoodses:
  7689. get:
  7690. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  7691. parameters:
  7692. - description: 页码
  7693. in: query
  7694. name: page
  7695. type: integer
  7696. - description: 每页条数
  7697. in: query
  7698. name: pagesize
  7699. type: integer
  7700. - description: 市场ID列表,格式:1,2,3
  7701. in: query
  7702. name: marketIDs
  7703. required: true
  7704. type: string
  7705. - description: 目的地(省)ID
  7706. in: query
  7707. name: descProvinceID
  7708. type: integer
  7709. - description: 目的地(市)ID
  7710. in: query
  7711. name: descCityID
  7712. type: integer
  7713. produces:
  7714. - application/json
  7715. responses:
  7716. "200":
  7717. description: OK
  7718. schema:
  7719. $ref: '#/definitions/models.HsbyPreGoods'
  7720. "500":
  7721. description: Internal Server Error
  7722. schema:
  7723. $ref: '#/definitions/app.Response'
  7724. security:
  7725. - ApiKeyAuth: []
  7726. summary: 查询新品上市商品列表(一级市场预售)
  7727. tags:
  7728. - 定制【海商报业】
  7729. /HSBY/QueryHsbySellMyDetails:
  7730. get:
  7731. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  7732. parameters:
  7733. - description: 页码
  7734. in: query
  7735. name: page
  7736. type: integer
  7737. - description: 每页条数
  7738. in: query
  7739. name: pagesize
  7740. type: integer
  7741. - description: 资金账户列表,格式:1,2,3
  7742. in: query
  7743. name: accountIDs
  7744. required: true
  7745. type: string
  7746. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  7747. in: query
  7748. name: orderType
  7749. type: integer
  7750. produces:
  7751. - application/json
  7752. responses:
  7753. "200":
  7754. description: OK
  7755. schema:
  7756. $ref: '#/definitions/models.HsbySellMyDetail'
  7757. "500":
  7758. description: Internal Server Error
  7759. schema:
  7760. $ref: '#/definitions/app.Response'
  7761. security:
  7762. - ApiKeyAuth: []
  7763. summary: 查询"我的闲置"单据信息
  7764. tags:
  7765. - 定制【海商报业】
  7766. /HSBY/QueryHsbyTopGoodses:
  7767. get:
  7768. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  7769. parameters:
  7770. - description: 页码
  7771. in: query
  7772. name: page
  7773. type: integer
  7774. - description: 每页条数
  7775. in: query
  7776. name: pagesize
  7777. type: integer
  7778. - description: 市场ID列表,格式:1,2,3
  7779. in: query
  7780. name: marketIDs
  7781. required: true
  7782. type: string
  7783. - description: 目的地(省)ID
  7784. in: query
  7785. name: descProvinceID
  7786. type: integer
  7787. - description: 目的地(市)ID
  7788. in: query
  7789. name: descCityID
  7790. type: integer
  7791. produces:
  7792. - application/json
  7793. responses:
  7794. "200":
  7795. description: OK
  7796. schema:
  7797. $ref: '#/definitions/models.HsbyTopGoods'
  7798. "500":
  7799. description: Internal Server Error
  7800. schema:
  7801. $ref: '#/definitions/app.Response'
  7802. security:
  7803. - ApiKeyAuth: []
  7804. summary: 查询热卖商品列表(二级市场挂牌点选)
  7805. tags:
  7806. - 定制【海商报业】
  7807. /HSBY/QueryMyCollectionOrders:
  7808. get:
  7809. parameters:
  7810. - description: 页码
  7811. in: query
  7812. name: page
  7813. type: integer
  7814. - description: 每页条数
  7815. in: query
  7816. name: pagesize
  7817. type: integer
  7818. - description: 资金账户,格式:1,2,3
  7819. in: query
  7820. name: accountIDs
  7821. required: true
  7822. type: string
  7823. produces:
  7824. - application/json
  7825. responses:
  7826. "200":
  7827. description: OK
  7828. schema:
  7829. $ref: '#/definitions/models.HsbySellCollectionOrder'
  7830. "500":
  7831. description: Internal Server Error
  7832. schema:
  7833. $ref: '#/definitions/app.Response'
  7834. security:
  7835. - ApiKeyAuth: []
  7836. summary: 我的闲置中收款信息查询
  7837. tags:
  7838. - 定制【海商报业】
  7839. /HSBY/QueryMyCouponHolds:
  7840. get:
  7841. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  7842. parameters:
  7843. - description: 资金账户列表,格式:1,2,3
  7844. in: query
  7845. name: accountIDs
  7846. required: true
  7847. type: string
  7848. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  7849. in: query
  7850. name: holdStatus
  7851. type: string
  7852. produces:
  7853. - application/json
  7854. responses:
  7855. "200":
  7856. description: OK
  7857. schema:
  7858. $ref: '#/definitions/models.MyCouponHold'
  7859. "500":
  7860. description: Internal Server Error
  7861. schema:
  7862. $ref: '#/definitions/app.Response'
  7863. security:
  7864. - ApiKeyAuth: []
  7865. summary: 我的优惠卷持仓查询
  7866. tags:
  7867. - 定制【海商报业】
  7868. /HSBY/QueryMyCoupons:
  7869. get:
  7870. parameters:
  7871. - description: 资金账户列表,格式:1,2,3
  7872. in: query
  7873. name: accountIDs
  7874. required: true
  7875. type: string
  7876. - description: 商品ID, 一般与sellUserID配套传入
  7877. in: query
  7878. name: goodsID
  7879. type: integer
  7880. - description: 卖方UserID
  7881. in: query
  7882. name: sellUserID
  7883. type: integer
  7884. produces:
  7885. - application/json
  7886. responses:
  7887. "200":
  7888. description: OK
  7889. schema:
  7890. $ref: '#/definitions/models.MyCoupon'
  7891. "500":
  7892. description: Internal Server Error
  7893. schema:
  7894. $ref: '#/definitions/app.Response'
  7895. security:
  7896. - ApiKeyAuth: []
  7897. summary: 我的优惠卷查询
  7898. tags:
  7899. - 定制【海商报业】
  7900. /HSBY/QueryMyPayOrders:
  7901. get:
  7902. parameters:
  7903. - description: 页码
  7904. in: query
  7905. name: page
  7906. type: integer
  7907. - description: 每页条数
  7908. in: query
  7909. name: pagesize
  7910. type: integer
  7911. - description: 资金账户列表,格式:1,2,3
  7912. in: query
  7913. name: accountIDs
  7914. required: true
  7915. type: string
  7916. - description: 买方委托单号
  7917. in: query
  7918. name: buyOrderID
  7919. type: integer
  7920. - description: 卖方委托单号
  7921. in: query
  7922. name: sellOrderID
  7923. type: integer
  7924. produces:
  7925. - application/json
  7926. responses:
  7927. "200":
  7928. description: OK
  7929. schema:
  7930. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  7931. "500":
  7932. description: Internal Server Error
  7933. schema:
  7934. $ref: '#/definitions/app.Response'
  7935. security:
  7936. - ApiKeyAuth: []
  7937. summary: 获取我的订单中待付款信息
  7938. tags:
  7939. - 定制【海商报业】
  7940. /HSBY/QueryMyUsedCoupon:
  7941. get:
  7942. parameters:
  7943. - description: 资金账户列表,格式:1,2,3
  7944. in: query
  7945. name: accountIDs
  7946. required: true
  7947. type: string
  7948. produces:
  7949. - application/json
  7950. responses:
  7951. "200":
  7952. description: OK
  7953. schema:
  7954. $ref: '#/definitions/models.MyUsedCoupon'
  7955. "500":
  7956. description: Internal Server Error
  7957. schema:
  7958. $ref: '#/definitions/app.Response'
  7959. security:
  7960. - ApiKeyAuth: []
  7961. summary: 已使用优惠卷查询
  7962. tags:
  7963. - 定制【海商报业】
  7964. /HSBY/QueryProvincesAndCities:
  7965. get:
  7966. description: 查询结果只包括二级市场商品已关连的省市信息。
  7967. parameters:
  7968. - description: 省ID
  7969. in: query
  7970. name: provinceID
  7971. type: integer
  7972. produces:
  7973. - application/json
  7974. responses:
  7975. "200":
  7976. description: OK
  7977. schema:
  7978. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  7979. "500":
  7980. description: Internal Server Error
  7981. schema:
  7982. $ref: '#/definitions/app.Response'
  7983. security:
  7984. - ApiKeyAuth: []
  7985. summary: 查询省市信息(不包括区)
  7986. tags:
  7987. - 定制【海商报业】
  7988. /HSBY/SetHsbyMyPackagesStatus:
  7989. post:
  7990. parameters:
  7991. - description: 提货单号
  7992. in: query
  7993. name: takeOrderID
  7994. required: true
  7995. type: string
  7996. - description: 资金账号
  7997. in: query
  7998. name: accountID
  7999. required: true
  8000. type: integer
  8001. produces:
  8002. - application/json
  8003. responses:
  8004. "200":
  8005. description: OK
  8006. schema:
  8007. $ref: '#/definitions/app.Response'
  8008. "500":
  8009. description: Internal Server Error
  8010. schema:
  8011. $ref: '#/definitions/app.Response'
  8012. security:
  8013. - ApiKeyAuth: []
  8014. summary: 设置我的包裹已收货状态
  8015. tags:
  8016. - 定制【海商报业】
  8017. /Market/QueryMarketRun:
  8018. get:
  8019. parameters:
  8020. - description: 市场ID,不传返回所有
  8021. in: query
  8022. name: marketID
  8023. type: integer
  8024. produces:
  8025. - application/json
  8026. responses:
  8027. "200":
  8028. description: OK
  8029. schema:
  8030. $ref: '#/definitions/models.Marketrun'
  8031. "500":
  8032. description: Internal Server Error
  8033. schema:
  8034. $ref: '#/definitions/app.Response'
  8035. security:
  8036. - ApiKeyAuth: []
  8037. summary: 查询市场运行信息
  8038. tags:
  8039. - 通用市场
  8040. /Order/QueryHisTradeDetail:
  8041. get:
  8042. parameters:
  8043. - description: 资金账户 - 格式:1,2,3
  8044. in: query
  8045. name: accountID
  8046. required: true
  8047. type: string
  8048. - description: 成交单号
  8049. in: query
  8050. name: tradeID
  8051. type: integer
  8052. - description: 委托单号
  8053. in: query
  8054. name: orderID
  8055. type: integer
  8056. - description: 交易模式 - 格式:1,2,3
  8057. in: query
  8058. name: tradeMode
  8059. type: string
  8060. - description: 委托单据类型
  8061. in: query
  8062. name: buildType
  8063. type: integer
  8064. - description: 成交类别 - 格式:1,2,3
  8065. in: query
  8066. name: tradeType
  8067. type: string
  8068. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8069. in: query
  8070. name: startDate
  8071. type: string
  8072. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8073. in: query
  8074. name: endDate
  8075. type: string
  8076. produces:
  8077. - application/json
  8078. responses:
  8079. "200":
  8080. description: OK
  8081. schema:
  8082. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  8083. "500":
  8084. description: Internal Server Error
  8085. schema:
  8086. $ref: '#/definitions/app.Response'
  8087. security:
  8088. - ApiKeyAuth: []
  8089. summary: 历史成交单查询(合约市场)
  8090. tags:
  8091. - 通用单据
  8092. /Order/QueryHisTradeOrderDetail:
  8093. get:
  8094. parameters:
  8095. - description: 资金账户 - 格式:1,2,3
  8096. in: query
  8097. name: accountID
  8098. required: true
  8099. type: string
  8100. - description: 交易模式 - 格式:1,2,3
  8101. in: query
  8102. name: tradeMode
  8103. type: string
  8104. - description: 委托状态 - 格式:1,2,3
  8105. in: query
  8106. name: orderStatus
  8107. type: string
  8108. - description: 委托单号
  8109. in: query
  8110. name: orderID
  8111. type: integer
  8112. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8113. in: query
  8114. name: startDate
  8115. type: string
  8116. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8117. in: query
  8118. name: endDate
  8119. type: string
  8120. produces:
  8121. - application/json
  8122. responses:
  8123. "200":
  8124. description: OK
  8125. schema:
  8126. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  8127. "500":
  8128. description: Internal Server Error
  8129. schema:
  8130. $ref: '#/definitions/app.Response'
  8131. security:
  8132. - ApiKeyAuth: []
  8133. summary: 历史委托单查询请求(合约市场)
  8134. tags:
  8135. - 通用单据
  8136. /Order/QueryTradeDetail:
  8137. get:
  8138. parameters:
  8139. - description: 资金账户 - 格式:1,2,3
  8140. in: query
  8141. name: accountID
  8142. required: true
  8143. type: string
  8144. - description: 成交单号
  8145. in: query
  8146. name: tradeID
  8147. type: integer
  8148. - description: 委托单号
  8149. in: query
  8150. name: orderID
  8151. type: integer
  8152. - description: 交易模式 - 格式:1,2,3
  8153. in: query
  8154. name: tradeMode
  8155. type: string
  8156. - description: 委托单据类型
  8157. in: query
  8158. name: buildType
  8159. type: integer
  8160. - description: 成交类别 - 格式:1,2,3
  8161. in: query
  8162. name: tradeType
  8163. type: string
  8164. produces:
  8165. - application/json
  8166. responses:
  8167. "200":
  8168. description: OK
  8169. schema:
  8170. $ref: '#/definitions/order.QueryTradeDetailRsp'
  8171. "500":
  8172. description: Internal Server Error
  8173. schema:
  8174. $ref: '#/definitions/app.Response'
  8175. security:
  8176. - ApiKeyAuth: []
  8177. summary: 成交单查询(合约市场)
  8178. tags:
  8179. - 通用单据
  8180. /Order/QueryTradeOrderDetail:
  8181. get:
  8182. parameters:
  8183. - description: 资金账户 - 格式:1,2,3
  8184. in: query
  8185. name: accountID
  8186. required: true
  8187. type: string
  8188. - description: 交易模式 - 格式:1,2,3
  8189. in: query
  8190. name: tradeMode
  8191. type: string
  8192. - description: 委托状态 - 格式:1,2,3
  8193. in: query
  8194. name: orderStatus
  8195. type: string
  8196. - description: 委托单号
  8197. in: query
  8198. name: orderID
  8199. type: integer
  8200. produces:
  8201. - application/json
  8202. responses:
  8203. "200":
  8204. description: OK
  8205. schema:
  8206. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  8207. "500":
  8208. description: Internal Server Error
  8209. schema:
  8210. $ref: '#/definitions/app.Response'
  8211. security:
  8212. - ApiKeyAuth: []
  8213. summary: 委托单查询请求(合约市场)
  8214. tags:
  8215. - 通用单据
  8216. /Order/QueryTradePosition:
  8217. get:
  8218. parameters:
  8219. - description: 资金账户 - 格式:1,2,3
  8220. in: query
  8221. name: accountID
  8222. required: true
  8223. type: string
  8224. - description: 交易模式 - 格式:1,2,3
  8225. in: query
  8226. name: tradeMode
  8227. type: string
  8228. produces:
  8229. - application/json
  8230. responses:
  8231. "200":
  8232. description: OK
  8233. schema:
  8234. $ref: '#/definitions/order.QueryTradePositionRsp'
  8235. "500":
  8236. description: Internal Server Error
  8237. schema:
  8238. $ref: '#/definitions/app.Response'
  8239. security:
  8240. - ApiKeyAuth: []
  8241. summary: 持仓汇总查询(合约市场)
  8242. tags:
  8243. - 通用单据
  8244. /Quote/QueryHistoryDatas:
  8245. get:
  8246. parameters:
  8247. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  8248. 日线 10: Tik'
  8249. in: query
  8250. name: cycleType
  8251. required: true
  8252. type: integer
  8253. - description: 商品代码
  8254. in: query
  8255. name: goodsCode
  8256. required: true
  8257. type: string
  8258. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  8259. in: query
  8260. name: startTime
  8261. type: string
  8262. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  8263. in: query
  8264. name: endTime
  8265. type: string
  8266. - description: 条数
  8267. in: query
  8268. name: count
  8269. type: integer
  8270. - description: 是否按时间顺序排序(默认为时间倒序排序)
  8271. in: query
  8272. name: isAsc
  8273. type: boolean
  8274. produces:
  8275. - application/json
  8276. responses:
  8277. "200":
  8278. description: OK
  8279. schema:
  8280. $ref: '#/definitions/quote.HistoryData'
  8281. "500":
  8282. description: Internal Server Error
  8283. schema:
  8284. $ref: '#/definitions/app.Response'
  8285. security:
  8286. - ApiKeyAuth: []
  8287. summary: 查询行情历史数据
  8288. tags:
  8289. - 行情服务
  8290. /Quote/QueryTSData:
  8291. get:
  8292. parameters:
  8293. - description: 商品代码
  8294. in: query
  8295. name: GoodsCode
  8296. required: true
  8297. type: string
  8298. produces:
  8299. - application/json
  8300. responses:
  8301. "200":
  8302. description: OK
  8303. schema:
  8304. $ref: '#/definitions/quote.QueryTSDataRsp'
  8305. "500":
  8306. description: Internal Server Error
  8307. schema:
  8308. $ref: '#/definitions/app.Response'
  8309. summary: 分时图数据查询
  8310. tags:
  8311. - 行情服务
  8312. /SZDZ/QueryConvertConfig:
  8313. get:
  8314. parameters:
  8315. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  8316. 6:交易转花生米(不设置)
  8317. in: query
  8318. name: convertType
  8319. type: integer
  8320. - description: 外部商品代码[JD\PD]
  8321. in: query
  8322. name: outerGoodsCode
  8323. type: string
  8324. - description: 内部商品ID列表[交易],格式:1,2,3
  8325. in: query
  8326. name: innerGoodsIDs
  8327. type: string
  8328. produces:
  8329. - application/json
  8330. responses:
  8331. "200":
  8332. description: OK
  8333. schema:
  8334. $ref: '#/definitions/models.Szdz3convertconfig'
  8335. "500":
  8336. description: Internal Server Error
  8337. schema:
  8338. $ref: '#/definitions/app.Response'
  8339. security:
  8340. - ApiKeyAuth: []
  8341. summary: 查询交易系统转换设置
  8342. tags:
  8343. - 定制【尚志大宗】
  8344. /SZDZ/QueryConvertLog:
  8345. get:
  8346. parameters:
  8347. - description: 资金账户 - 格式:1,2,3
  8348. in: query
  8349. name: accountID
  8350. required: true
  8351. type: string
  8352. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8353. in: query
  8354. name: startDate
  8355. type: string
  8356. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  8357. in: query
  8358. name: endDate
  8359. type: string
  8360. produces:
  8361. - application/json
  8362. responses:
  8363. "200":
  8364. description: OK
  8365. schema:
  8366. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  8367. "500":
  8368. description: Internal Server Error
  8369. schema:
  8370. $ref: '#/definitions/app.Response'
  8371. security:
  8372. - ApiKeyAuth: []
  8373. summary: 交易系统转换流水查询
  8374. tags:
  8375. - 定制【尚志大宗】
  8376. /SZDZ/QueryGoodsPickup:
  8377. get:
  8378. parameters:
  8379. - description: 资金账户 - 格式:1,2,3
  8380. in: query
  8381. name: accountID
  8382. required: true
  8383. type: string
  8384. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8385. in: query
  8386. name: takeOrderStatus
  8387. type: integer
  8388. produces:
  8389. - application/json
  8390. responses:
  8391. "200":
  8392. description: OK
  8393. schema:
  8394. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  8395. "500":
  8396. description: Internal Server Error
  8397. schema:
  8398. $ref: '#/definitions/app.Response'
  8399. security:
  8400. - ApiKeyAuth: []
  8401. summary: 商品提货单查询
  8402. tags:
  8403. - 定制【尚志大宗】
  8404. /SZDZ/QueryRecieptOrder:
  8405. get:
  8406. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8407. parameters:
  8408. - description: 页码
  8409. in: query
  8410. name: page
  8411. type: integer
  8412. - description: 每页条数
  8413. in: query
  8414. name: pagesize
  8415. type: integer
  8416. - description: 商品ID
  8417. in: query
  8418. name: goodsID
  8419. required: true
  8420. type: integer
  8421. - description: 所属账户名称
  8422. in: query
  8423. name: accountName
  8424. type: string
  8425. - description: 市场ID
  8426. in: query
  8427. name: marketID
  8428. type: integer
  8429. - description: 方向 - 0:买 1:卖
  8430. in: query
  8431. name: buyorsell
  8432. required: true
  8433. type: integer
  8434. produces:
  8435. - application/json
  8436. responses:
  8437. "200":
  8438. description: OK
  8439. schema:
  8440. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  8441. "500":
  8442. description: Internal Server Error
  8443. schema:
  8444. $ref: '#/definitions/app.Response'
  8445. security:
  8446. - ApiKeyAuth: []
  8447. summary: 点选挂牌委托单据查询(摘牌大厅)
  8448. tags:
  8449. - 定制【尚志大宗】
  8450. /SZDZ/QuerySZDZTradePosition:
  8451. get:
  8452. parameters:
  8453. - description: 资金账户
  8454. in: query
  8455. name: accountID
  8456. required: true
  8457. type: integer
  8458. produces:
  8459. - application/json
  8460. responses:
  8461. "200":
  8462. description: OK
  8463. schema:
  8464. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  8465. "500":
  8466. description: Internal Server Error
  8467. schema:
  8468. $ref: '#/definitions/app.Response'
  8469. security:
  8470. - ApiKeyAuth: []
  8471. summary: 持仓汇总查询(尚志大宗)
  8472. tags:
  8473. - 定制【尚志大宗】
  8474. /SZDZ/SearchWhite:
  8475. get:
  8476. parameters:
  8477. - description: 用户ID
  8478. in: query
  8479. name: userID
  8480. required: true
  8481. type: integer
  8482. produces:
  8483. - application/json
  8484. responses:
  8485. "200":
  8486. description: OK
  8487. schema:
  8488. $ref: '#/definitions/models.Szdz3searchwhitelist'
  8489. "500":
  8490. description: Internal Server Error
  8491. schema:
  8492. $ref: '#/definitions/app.Response'
  8493. security:
  8494. - ApiKeyAuth: []
  8495. summary: 搜索白名单
  8496. tags:
  8497. - 定制【尚志大宗】
  8498. /Search/SearchGoodses:
  8499. get:
  8500. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  8501. parameters:
  8502. - description: 检索内容
  8503. in: query
  8504. name: content
  8505. required: true
  8506. type: string
  8507. - description: 交易模式,格式:1,2,3
  8508. in: query
  8509. name: tradeModes
  8510. type: string
  8511. produces:
  8512. - application/json
  8513. responses:
  8514. "200":
  8515. description: OK
  8516. schema:
  8517. $ref: '#/definitions/models.SearchGoods'
  8518. "500":
  8519. description: Internal Server Error
  8520. schema:
  8521. $ref: '#/definitions/app.Response'
  8522. summary: 检索商品信息
  8523. tags:
  8524. - 检索服务
  8525. /TaAccount/QueryAmountLog:
  8526. get:
  8527. parameters:
  8528. - description: 页码
  8529. in: query
  8530. name: page
  8531. type: integer
  8532. - description: 每页条数
  8533. in: query
  8534. name: pagesize
  8535. type: integer
  8536. - description: 资金账户 - 格式:1,2,3
  8537. in: query
  8538. name: accountID
  8539. required: true
  8540. type: string
  8541. - description: 资金操作类型 - 格式:1,2,3
  8542. in: query
  8543. name: OperateType
  8544. type: string
  8545. produces:
  8546. - application/json
  8547. responses:
  8548. "200":
  8549. description: OK
  8550. schema:
  8551. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  8552. "500":
  8553. description: Internal Server Error
  8554. schema:
  8555. $ref: '#/definitions/app.Response'
  8556. security:
  8557. - ApiKeyAuth: []
  8558. summary: 资金流水查询(当前)
  8559. tags:
  8560. - 资金账户
  8561. /TaAccount/QueryHisAmountLog:
  8562. get:
  8563. parameters:
  8564. - description: 页码
  8565. in: query
  8566. name: page
  8567. type: integer
  8568. - description: 每页条数
  8569. in: query
  8570. name: pagesize
  8571. type: integer
  8572. - description: 资金账户 - 格式:1,2,3
  8573. in: query
  8574. name: accountID
  8575. required: true
  8576. type: string
  8577. - description: 资金操作类型 - 格式:1,2,3
  8578. in: query
  8579. name: OperateType
  8580. type: string
  8581. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  8582. in: query
  8583. name: startDate
  8584. type: string
  8585. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  8586. in: query
  8587. name: endDate
  8588. type: string
  8589. produces:
  8590. - application/json
  8591. responses:
  8592. "200":
  8593. description: OK
  8594. schema:
  8595. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  8596. "500":
  8597. description: Internal Server Error
  8598. schema:
  8599. $ref: '#/definitions/app.Response'
  8600. security:
  8601. - ApiKeyAuth: []
  8602. summary: 资金流水查询(历史)
  8603. tags:
  8604. - 资金账户
  8605. /Trade/QueryRecieptOrder:
  8606. get:
  8607. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  8608. parameters:
  8609. - description: 页码
  8610. in: query
  8611. name: page
  8612. type: integer
  8613. - description: 每页条数
  8614. in: query
  8615. name: pagesize
  8616. type: integer
  8617. - description: 商品ID
  8618. in: query
  8619. name: goodsID
  8620. required: true
  8621. type: integer
  8622. - description: 所属账户名称
  8623. in: query
  8624. name: accountName
  8625. type: string
  8626. - description: 市场ID
  8627. in: query
  8628. name: marketID
  8629. type: integer
  8630. - description: 方向 - 0:买 1:卖
  8631. in: query
  8632. name: buyorsell
  8633. required: true
  8634. type: integer
  8635. produces:
  8636. - application/json
  8637. responses:
  8638. "200":
  8639. description: OK
  8640. schema:
  8641. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  8642. "500":
  8643. description: Internal Server Error
  8644. schema:
  8645. $ref: '#/definitions/app.Response'
  8646. security:
  8647. - ApiKeyAuth: []
  8648. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  8649. tags:
  8650. - 通用交易
  8651. /User/AddMessageBoard:
  8652. post:
  8653. parameters:
  8654. - description: 用户ID
  8655. in: query
  8656. name: userID
  8657. required: true
  8658. type: integer
  8659. - description: 留言信息
  8660. in: query
  8661. name: message
  8662. required: true
  8663. type: string
  8664. produces:
  8665. - application/json
  8666. responses:
  8667. "200":
  8668. description: OK
  8669. schema:
  8670. $ref: '#/definitions/app.Response'
  8671. "500":
  8672. description: Internal Server Error
  8673. schema:
  8674. $ref: '#/definitions/app.Response'
  8675. security:
  8676. - ApiKeyAuth: []
  8677. summary: 添加用户留言板信息
  8678. tags:
  8679. - 用户信息
  8680. /User/AddUserFavoriteGoods:
  8681. post:
  8682. parameters:
  8683. - description: 用户ID
  8684. in: query
  8685. name: userID
  8686. required: true
  8687. type: integer
  8688. - description: 商品ID
  8689. in: query
  8690. name: goodsID
  8691. required: true
  8692. type: integer
  8693. produces:
  8694. - application/json
  8695. responses:
  8696. "200":
  8697. description: OK
  8698. schema:
  8699. $ref: '#/definitions/app.Response'
  8700. "500":
  8701. description: Internal Server Error
  8702. schema:
  8703. $ref: '#/definitions/app.Response'
  8704. security:
  8705. - ApiKeyAuth: []
  8706. summary: 添加用户商品收藏信息
  8707. tags:
  8708. - 用户信息
  8709. /User/GetLoginID:
  8710. get:
  8711. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  8712. parameters:
  8713. - description: 登录代码
  8714. in: query
  8715. name: username
  8716. required: true
  8717. type: string
  8718. produces:
  8719. - application/json
  8720. responses:
  8721. "200":
  8722. description: OK
  8723. schema:
  8724. $ref: '#/definitions/app.Response'
  8725. "500":
  8726. description: Internal Server Error
  8727. schema:
  8728. $ref: '#/definitions/app.Response'
  8729. summary: 获取登录ID
  8730. tags:
  8731. - 用户信息
  8732. /User/GetUserAccount:
  8733. get:
  8734. parameters:
  8735. - description: 用户ID
  8736. in: query
  8737. name: userID
  8738. required: true
  8739. type: integer
  8740. produces:
  8741. - application/json
  8742. responses:
  8743. "200":
  8744. description: OK
  8745. schema:
  8746. $ref: '#/definitions/models.Useraccount'
  8747. "500":
  8748. description: Internal Server Error
  8749. schema:
  8750. $ref: '#/definitions/app.Response'
  8751. security:
  8752. - ApiKeyAuth: []
  8753. summary: 获取用户账号信息
  8754. tags:
  8755. - 用户信息
  8756. /User/GetUserAuthStatus:
  8757. get:
  8758. parameters:
  8759. - description: 用户ID
  8760. in: query
  8761. name: userID
  8762. required: true
  8763. type: integer
  8764. produces:
  8765. - application/json
  8766. responses:
  8767. "200":
  8768. description: OK
  8769. schema:
  8770. $ref: '#/definitions/app.Response'
  8771. "500":
  8772. description: Internal Server Error
  8773. schema:
  8774. $ref: '#/definitions/app.Response'
  8775. security:
  8776. - ApiKeyAuth: []
  8777. summary: 获取用户实名认证状态
  8778. tags:
  8779. - 用户信息
  8780. /User/QueryMessageBoard:
  8781. get:
  8782. parameters:
  8783. - description: 用户ID
  8784. in: query
  8785. name: userID
  8786. required: true
  8787. type: integer
  8788. produces:
  8789. - application/json
  8790. responses:
  8791. "200":
  8792. description: OK
  8793. schema:
  8794. $ref: '#/definitions/models.Messageboard'
  8795. "500":
  8796. description: Internal Server Error
  8797. schema:
  8798. $ref: '#/definitions/app.Response'
  8799. security:
  8800. - ApiKeyAuth: []
  8801. summary: 获取用户留言板信息
  8802. tags:
  8803. - 用户信息
  8804. /User/QueryUserFavoriteGoodses:
  8805. get:
  8806. parameters:
  8807. - description: 用户ID
  8808. in: query
  8809. name: userID
  8810. required: true
  8811. type: integer
  8812. produces:
  8813. - application/json
  8814. responses:
  8815. "200":
  8816. description: OK
  8817. schema:
  8818. $ref: '#/definitions/models.Userfavoritegoods'
  8819. "500":
  8820. description: Internal Server Error
  8821. schema:
  8822. $ref: '#/definitions/app.Response'
  8823. security:
  8824. - ApiKeyAuth: []
  8825. summary: 获取用户商品收藏信息
  8826. tags:
  8827. - 用户信息
  8828. /User/QueryUserInfo:
  8829. get:
  8830. parameters:
  8831. - description: 用户ID
  8832. in: query
  8833. name: userID
  8834. required: true
  8835. type: integer
  8836. produces:
  8837. - application/json
  8838. responses:
  8839. "200":
  8840. description: OK
  8841. schema:
  8842. $ref: '#/definitions/models.Userinfo'
  8843. "500":
  8844. description: Internal Server Error
  8845. schema:
  8846. $ref: '#/definitions/app.Response'
  8847. security:
  8848. - ApiKeyAuth: []
  8849. summary: 获取用户信息
  8850. tags:
  8851. - 用户信息
  8852. /User/QueryUserReferNum:
  8853. get:
  8854. parameters:
  8855. - description: 用户ID
  8856. in: query
  8857. name: userID
  8858. required: true
  8859. type: integer
  8860. produces:
  8861. - application/json
  8862. responses:
  8863. "200":
  8864. description: OK
  8865. schema:
  8866. $ref: '#/definitions/app.Response'
  8867. "500":
  8868. description: Internal Server Error
  8869. schema:
  8870. $ref: '#/definitions/app.Response'
  8871. summary: 获取用户邀请码
  8872. tags:
  8873. - 用户信息
  8874. /User/RemoveUserFavoriteGoods:
  8875. post:
  8876. parameters:
  8877. - description: 用户ID
  8878. in: query
  8879. name: userID
  8880. required: true
  8881. type: integer
  8882. - description: 商品ID
  8883. in: query
  8884. name: goodsID
  8885. required: true
  8886. type: integer
  8887. produces:
  8888. - application/json
  8889. responses:
  8890. "200":
  8891. description: OK
  8892. schema:
  8893. $ref: '#/definitions/app.Response'
  8894. "500":
  8895. description: Internal Server Error
  8896. schema:
  8897. $ref: '#/definitions/app.Response'
  8898. security:
  8899. - ApiKeyAuth: []
  8900. summary: 移除用户商品收藏信息
  8901. tags:
  8902. - 用户信息
  8903. /WR/GetWRCategoryInfo:
  8904. get:
  8905. produces:
  8906. - application/json
  8907. responses:
  8908. "200":
  8909. description: OK
  8910. schema:
  8911. $ref: '#/definitions/models.WRCategoryTree'
  8912. "500":
  8913. description: Internal Server Error
  8914. schema:
  8915. $ref: '#/definitions/app.Response'
  8916. summary: 获取现货分类信息
  8917. tags:
  8918. - 仓单服务
  8919. /WRTrade/GetAllDeliveryGoods:
  8920. get:
  8921. produces:
  8922. - application/json
  8923. - application/json
  8924. responses:
  8925. "200":
  8926. description: OK
  8927. schema:
  8928. $ref: '#/definitions/app.Response'
  8929. "500":
  8930. description: Internal Server Error
  8931. schema:
  8932. $ref: '#/definitions/app.Response'
  8933. security:
  8934. - ApiKeyAuth: []
  8935. - ApiKeyAuth: []
  8936. summary: 获取带仓单分类的种类信息
  8937. tags:
  8938. - 仓单贸易
  8939. - 仓单贸易
  8940. securityDefinitions:
  8941. ApiKeyAuth:
  8942. in: header
  8943. name: Authorization
  8944. type: apiKey
  8945. swagger: "2.0"