swagger.json 437 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118
  1. {
  2. "swagger": "2.0",
  3. "info": {
  4. "description": "新的查询服务,替代原通用查询服务。",
  5. "title": "MTP2.0 查询服务 API",
  6. "termsOfService": "http://muchinfo.cn",
  7. "contact": {},
  8. "version": "1.0"
  9. },
  10. "basePath": "/api",
  11. "paths": {
  12. "/CPTrade/QueryCPTradeMyBidInfos": {
  13. "get": {
  14. "security": [
  15. {
  16. "ApiKeyAuth": []
  17. }
  18. ],
  19. "produces": [
  20. "application/json"
  21. ],
  22. "tags": [
  23. "产能预售"
  24. ],
  25. "summary": "查询产能预售我的出价信息",
  26. "parameters": [
  27. {
  28. "type": "integer",
  29. "description": "资金账户",
  30. "name": "accountid",
  31. "in": "query",
  32. "required": true
  33. },
  34. {
  35. "type": "integer",
  36. "description": "预售市场ID",
  37. "name": "marketid",
  38. "in": "query"
  39. },
  40. {
  41. "type": "integer",
  42. "description": "预售商品ID",
  43. "name": "goodsid",
  44. "in": "query"
  45. }
  46. ],
  47. "responses": {
  48. "200": {
  49. "description": "OK",
  50. "schema": {
  51. "$ref": "#/definitions/cptrade.QueryCPTradeMyBidRsp"
  52. }
  53. },
  54. "500": {
  55. "description": "Internal Server Error",
  56. "schema": {
  57. "$ref": "#/definitions/app.Response"
  58. }
  59. }
  60. }
  61. }
  62. },
  63. "/CPTrade/QueryCPTradeOrderDetail": {
  64. "get": {
  65. "security": [
  66. {
  67. "ApiKeyAuth": []
  68. }
  69. ],
  70. "produces": [
  71. "application/json"
  72. ],
  73. "tags": [
  74. "产能预售"
  75. ],
  76. "summary": "查询产能预售委托单信息",
  77. "parameters": [
  78. {
  79. "type": "integer",
  80. "description": "预售商品ID",
  81. "name": "goodsid",
  82. "in": "query"
  83. },
  84. {
  85. "type": "integer",
  86. "description": "预售市场ID",
  87. "name": "marketid",
  88. "in": "query"
  89. },
  90. {
  91. "type": "string",
  92. "description": "预售商品ID列表 - 格式:1,2,3",
  93. "name": "goodsids",
  94. "in": "query"
  95. }
  96. ],
  97. "responses": {
  98. "200": {
  99. "description": "OK",
  100. "schema": {
  101. "$ref": "#/definitions/cptrade.QueryCPTradeOrderDetailRsq"
  102. }
  103. },
  104. "500": {
  105. "description": "Internal Server Error",
  106. "schema": {
  107. "$ref": "#/definitions/app.Response"
  108. }
  109. }
  110. }
  111. }
  112. },
  113. "/CPTrade/QueryMyCPTradeGoods": {
  114. "get": {
  115. "security": [
  116. {
  117. "ApiKeyAuth": []
  118. }
  119. ],
  120. "produces": [
  121. "application/json"
  122. ],
  123. "tags": [
  124. "产能预售"
  125. ],
  126. "summary": "查询我的预售信息",
  127. "parameters": [
  128. {
  129. "type": "integer",
  130. "description": "资金账户",
  131. "name": "accountid",
  132. "in": "query",
  133. "required": true
  134. }
  135. ],
  136. "responses": {
  137. "200": {
  138. "description": "OK",
  139. "schema": {
  140. "$ref": "#/definitions/cptrade.QueryMyCPTradeGoodsRsp"
  141. }
  142. },
  143. "500": {
  144. "description": "Internal Server Error",
  145. "schema": {
  146. "$ref": "#/definitions/app.Response"
  147. }
  148. }
  149. }
  150. }
  151. },
  152. "/CPTrade/QueryPositionCancel": {
  153. "get": {
  154. "security": [
  155. {
  156. "ApiKeyAuth": []
  157. }
  158. ],
  159. "produces": [
  160. "application/json"
  161. ],
  162. "tags": [
  163. "产能预售"
  164. ],
  165. "summary": "查询远期订单注销申请信息",
  166. "parameters": [
  167. {
  168. "type": "integer",
  169. "description": "账户ID",
  170. "name": "userid",
  171. "in": "query",
  172. "required": true
  173. },
  174. {
  175. "type": "integer",
  176. "description": "注销ID",
  177. "name": "cancelid",
  178. "in": "query"
  179. },
  180. {
  181. "type": "integer",
  182. "description": "资金账户ID",
  183. "name": "accountid",
  184. "in": "query"
  185. }
  186. ],
  187. "responses": {
  188. "200": {
  189. "description": "OK",
  190. "schema": {
  191. "$ref": "#/definitions/cptrade.Cptradepositioncancel"
  192. }
  193. },
  194. "500": {
  195. "description": "Internal Server Error",
  196. "schema": {
  197. "$ref": "#/definitions/app.Response"
  198. }
  199. }
  200. }
  201. }
  202. },
  203. "/CPTrade/QueryPreasleApply": {
  204. "get": {
  205. "security": [
  206. {
  207. "ApiKeyAuth": []
  208. }
  209. ],
  210. "produces": [
  211. "application/json"
  212. ],
  213. "tags": [
  214. "产能预售"
  215. ],
  216. "summary": "查询产能预售申请信息",
  217. "parameters": [
  218. {
  219. "type": "integer",
  220. "description": "账户ID",
  221. "name": "userid",
  222. "in": "query",
  223. "required": true
  224. },
  225. {
  226. "type": "integer",
  227. "description": "申请ID",
  228. "name": "applyid",
  229. "in": "query"
  230. },
  231. {
  232. "type": "integer",
  233. "description": "资金账户ID",
  234. "name": "accountid",
  235. "in": "query"
  236. }
  237. ],
  238. "responses": {
  239. "200": {
  240. "description": "OK",
  241. "schema": {
  242. "$ref": "#/definitions/cptrade.Cptradepresaleapply"
  243. }
  244. },
  245. "500": {
  246. "description": "Internal Server Error",
  247. "schema": {
  248. "$ref": "#/definitions/app.Response"
  249. }
  250. }
  251. }
  252. }
  253. },
  254. "/CPTrade/QueryPresaleGoodsEx": {
  255. "get": {
  256. "security": [
  257. {
  258. "ApiKeyAuth": []
  259. }
  260. ],
  261. "produces": [
  262. "application/json"
  263. ],
  264. "tags": [
  265. "产能预售"
  266. ],
  267. "summary": "查询产能预售商品扩展信息",
  268. "parameters": [
  269. {
  270. "type": "integer",
  271. "description": "预售商品ID",
  272. "name": "goodsid",
  273. "in": "query"
  274. },
  275. {
  276. "type": "integer",
  277. "description": "预售市场ID",
  278. "name": "marketid",
  279. "in": "query"
  280. },
  281. {
  282. "type": "integer",
  283. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  284. "name": "presalemode",
  285. "in": "query"
  286. },
  287. {
  288. "type": "string",
  289. "description": "预售商品ID列表 - 格式:1,2,3",
  290. "name": "goodsids",
  291. "in": "query"
  292. },
  293. {
  294. "type": "string",
  295. "description": "预售商品代码",
  296. "name": "goodscode",
  297. "in": "query"
  298. }
  299. ],
  300. "responses": {
  301. "200": {
  302. "description": "OK",
  303. "schema": {
  304. "$ref": "#/definitions/cptrade.QueryPresaleGoodsExRsp"
  305. }
  306. },
  307. "500": {
  308. "description": "Internal Server Error",
  309. "schema": {
  310. "$ref": "#/definitions/app.Response"
  311. }
  312. }
  313. }
  314. }
  315. },
  316. "/CPTrade/QueryUserGoodsData": {
  317. "get": {
  318. "security": [
  319. {
  320. "ApiKeyAuth": []
  321. }
  322. ],
  323. "produces": [
  324. "application/json"
  325. ],
  326. "tags": [
  327. "产能预售"
  328. ],
  329. "summary": "查询远期订单信息",
  330. "parameters": [
  331. {
  332. "type": "integer",
  333. "description": "资金账户ID",
  334. "name": "accountid",
  335. "in": "query",
  336. "required": true
  337. }
  338. ],
  339. "responses": {
  340. "200": {
  341. "description": "OK",
  342. "schema": {
  343. "$ref": "#/definitions/cptrade.Cptradeusergoodsdata"
  344. }
  345. },
  346. "500": {
  347. "description": "Internal Server Error",
  348. "schema": {
  349. "$ref": "#/definitions/app.Response"
  350. }
  351. }
  352. }
  353. }
  354. },
  355. "/Common/GetAllEnums": {
  356. "get": {
  357. "produces": [
  358. "application/json"
  359. ],
  360. "tags": [
  361. "通用服务"
  362. ],
  363. "summary": "获取所有枚举信息",
  364. "responses": {
  365. "200": {
  366. "description": "OK",
  367. "schema": {
  368. "$ref": "#/definitions/models.Enumdicitem"
  369. }
  370. },
  371. "500": {
  372. "description": "Internal Server Error",
  373. "schema": {
  374. "$ref": "#/definitions/app.Response"
  375. }
  376. }
  377. }
  378. }
  379. },
  380. "/Common/GetServerTime": {
  381. "get": {
  382. "produces": [
  383. "application/json"
  384. ],
  385. "tags": [
  386. "通用服务"
  387. ],
  388. "summary": "获取服务器时间",
  389. "responses": {
  390. "200": {
  391. "description": "OK",
  392. "schema": {
  393. "$ref": "#/definitions/app.Response"
  394. }
  395. },
  396. "500": {
  397. "description": "Internal Server Error",
  398. "schema": {
  399. "$ref": "#/definitions/app.Response"
  400. }
  401. }
  402. }
  403. }
  404. },
  405. "/Common/NoticeReaded": {
  406. "post": {
  407. "security": [
  408. {
  409. "ApiKeyAuth": []
  410. }
  411. ],
  412. "produces": [
  413. "application/json"
  414. ],
  415. "tags": [
  416. "通用服务"
  417. ],
  418. "summary": "通知公告设置已读请求",
  419. "parameters": [
  420. {
  421. "type": "integer",
  422. "description": "登录账号",
  423. "name": "loginID",
  424. "in": "query",
  425. "required": true
  426. },
  427. {
  428. "type": "integer",
  429. "description": "通知公告ID",
  430. "name": "noticeID",
  431. "in": "query",
  432. "required": true
  433. }
  434. ],
  435. "responses": {
  436. "200": {
  437. "description": "OK",
  438. "schema": {
  439. "$ref": "#/definitions/app.Response"
  440. }
  441. },
  442. "500": {
  443. "description": "Internal Server Error",
  444. "schema": {
  445. "$ref": "#/definitions/app.Response"
  446. }
  447. }
  448. }
  449. }
  450. },
  451. "/Common/QueryImageConfigs": {
  452. "get": {
  453. "produces": [
  454. "application/json"
  455. ],
  456. "tags": [
  457. "通用服务"
  458. ],
  459. "summary": "查询轮播图配置信息",
  460. "parameters": [
  461. {
  462. "type": "integer",
  463. "description": "类型 - 1:App首页轮播 2:我的",
  464. "name": "imageType",
  465. "in": "query"
  466. }
  467. ],
  468. "responses": {
  469. "200": {
  470. "description": "OK",
  471. "schema": {
  472. "$ref": "#/definitions/models.Szdz2imageconfig"
  473. }
  474. },
  475. "500": {
  476. "description": "Internal Server Error",
  477. "schema": {
  478. "$ref": "#/definitions/app.Response"
  479. }
  480. }
  481. }
  482. }
  483. },
  484. "/Common/QueryNotice": {
  485. "get": {
  486. "security": [
  487. {
  488. "ApiKeyAuth": []
  489. }
  490. ],
  491. "produces": [
  492. "application/json"
  493. ],
  494. "tags": [
  495. "通用服务"
  496. ],
  497. "summary": "通知公告系统消息查询",
  498. "parameters": [
  499. {
  500. "type": "integer",
  501. "description": "页码",
  502. "name": "page",
  503. "in": "query"
  504. },
  505. {
  506. "type": "integer",
  507. "description": "每页条数",
  508. "name": "pagesize",
  509. "in": "query"
  510. },
  511. {
  512. "type": "integer",
  513. "description": "登录账号",
  514. "name": "loginID",
  515. "in": "query",
  516. "required": true
  517. },
  518. {
  519. "type": "integer",
  520. "description": "消息类型 - 1:公告通知 2:系统消息",
  521. "name": "msgType",
  522. "in": "query"
  523. },
  524. {
  525. "type": "boolean",
  526. "description": "是否只获取未读信息",
  527. "name": "onlyUnRead",
  528. "in": "query"
  529. }
  530. ],
  531. "responses": {
  532. "200": {
  533. "description": "OK",
  534. "schema": {
  535. "$ref": "#/definitions/common.QueryNoticeRsp"
  536. }
  537. },
  538. "500": {
  539. "description": "Internal Server Error",
  540. "schema": {
  541. "$ref": "#/definitions/app.Response"
  542. }
  543. }
  544. }
  545. }
  546. },
  547. "/Common/QueryProvincesAndCities": {
  548. "get": {
  549. "produces": [
  550. "application/json"
  551. ],
  552. "tags": [
  553. "通用服务"
  554. ],
  555. "summary": "查询省市信息(不包括区)",
  556. "parameters": [
  557. {
  558. "type": "integer",
  559. "description": "省ID",
  560. "name": "provinceID",
  561. "in": "query"
  562. }
  563. ],
  564. "responses": {
  565. "200": {
  566. "description": "OK",
  567. "schema": {
  568. "$ref": "#/definitions/common.QueryProvincesAndCitiesRsp"
  569. }
  570. },
  571. "500": {
  572. "description": "Internal Server Error",
  573. "schema": {
  574. "$ref": "#/definitions/app.Response"
  575. }
  576. }
  577. }
  578. }
  579. },
  580. "/Common/QueryTableDefine": {
  581. "get": {
  582. "produces": [
  583. "application/json"
  584. ],
  585. "tags": [
  586. "通用服务"
  587. ],
  588. "summary": "查询交易端列表头信息",
  589. "parameters": [
  590. {
  591. "type": "string",
  592. "description": "表key",
  593. "name": "tableKey",
  594. "in": "query"
  595. },
  596. {
  597. "type": "integer",
  598. "description": "列表类型 - 1:管理端 2:H5终端 3:移动终端",
  599. "name": "tableType",
  600. "in": "query"
  601. }
  602. ],
  603. "responses": {
  604. "200": {
  605. "description": "OK",
  606. "schema": {
  607. "$ref": "#/definitions/common.QueryTableDefineRsp"
  608. }
  609. },
  610. "500": {
  611. "description": "Internal Server Error",
  612. "schema": {
  613. "$ref": "#/definitions/app.Response"
  614. }
  615. }
  616. }
  617. }
  618. },
  619. "/Common/QueryTraderMenu": {
  620. "get": {
  621. "produces": [
  622. "application/json"
  623. ],
  624. "tags": [
  625. "通用服务"
  626. ],
  627. "summary": "查询交易端菜单",
  628. "parameters": [
  629. {
  630. "type": "integer",
  631. "description": "登录账号",
  632. "name": "loginid",
  633. "in": "query",
  634. "required": true
  635. }
  636. ],
  637. "responses": {
  638. "200": {
  639. "description": "OK",
  640. "schema": {
  641. "$ref": "#/definitions/common.QueryTraderMenuRsp"
  642. }
  643. },
  644. "500": {
  645. "description": "Internal Server Error",
  646. "schema": {
  647. "$ref": "#/definitions/app.Response"
  648. }
  649. }
  650. }
  651. }
  652. },
  653. "/Delivery/QueryDeliveryRelation": {
  654. "get": {
  655. "security": [
  656. {
  657. "ApiKeyAuth": []
  658. }
  659. ],
  660. "produces": [
  661. "application/json"
  662. ],
  663. "tags": [
  664. "交割服务"
  665. ],
  666. "summary": "查询商品交割关系表",
  667. "parameters": [
  668. {
  669. "type": "integer",
  670. "description": "商品ID",
  671. "name": "goodsid",
  672. "in": "query"
  673. },
  674. {
  675. "type": "integer",
  676. "description": "品种ID",
  677. "name": "deliverygoodsid",
  678. "in": "query"
  679. },
  680. {
  681. "type": "integer",
  682. "description": "市场ID",
  683. "name": "marketid",
  684. "in": "query"
  685. }
  686. ],
  687. "responses": {
  688. "200": {
  689. "description": "OK",
  690. "schema": {
  691. "$ref": "#/definitions/delivery.QueryDeliveryRelationRsp"
  692. }
  693. },
  694. "500": {
  695. "description": "Internal Server Error",
  696. "schema": {
  697. "$ref": "#/definitions/app.Response"
  698. }
  699. }
  700. }
  701. }
  702. },
  703. "/Ermcp/QueryBusinessDj": {
  704. "get": {
  705. "security": [
  706. {
  707. "ApiKeyAuth": []
  708. }
  709. ],
  710. "produces": [
  711. "application/json"
  712. ],
  713. "tags": [
  714. "企业风险管理(app)"
  715. ],
  716. "summary": "查询业务管理(点价)(对应菜单:业务管理/点价)",
  717. "responses": {
  718. "200": {
  719. "description": "OK",
  720. "schema": {
  721. "type": "array",
  722. "items": {
  723. "$ref": "#/definitions/ermcp.QryBusinessDjRsp"
  724. }
  725. }
  726. },
  727. "500": {
  728. "description": "Internal Server Error",
  729. "schema": {
  730. "$ref": "#/definitions/app.Response"
  731. }
  732. }
  733. }
  734. }
  735. },
  736. "/Ermcp/QueryBusinessFp": {
  737. "get": {
  738. "security": [
  739. {
  740. "ApiKeyAuth": []
  741. }
  742. ],
  743. "produces": [
  744. "application/json"
  745. ],
  746. "tags": [
  747. "企业风险管理(app)"
  748. ],
  749. "summary": "查询业务管理(发票)(对应菜单:业务管理/发票)",
  750. "responses": {
  751. "200": {
  752. "description": "OK",
  753. "schema": {
  754. "type": "array",
  755. "items": {
  756. "$ref": "#/definitions/ermcp.QryBussinessFpRsp"
  757. }
  758. }
  759. },
  760. "500": {
  761. "description": "Internal Server Error",
  762. "schema": {
  763. "$ref": "#/definitions/app.Response"
  764. }
  765. }
  766. }
  767. }
  768. },
  769. "/Ermcp/QueryBusinessJs": {
  770. "get": {
  771. "security": [
  772. {
  773. "ApiKeyAuth": []
  774. }
  775. ],
  776. "produces": [
  777. "application/json"
  778. ],
  779. "tags": [
  780. "企业风险管理(app)"
  781. ],
  782. "summary": "查询业务管理(结算)(对应菜单:业务管理/结算)",
  783. "responses": {
  784. "200": {
  785. "description": "OK",
  786. "schema": {
  787. "type": "array",
  788. "items": {
  789. "$ref": "#/definitions/ermcp.QryBussinessJsRsp"
  790. }
  791. }
  792. },
  793. "500": {
  794. "description": "Internal Server Error",
  795. "schema": {
  796. "$ref": "#/definitions/app.Response"
  797. }
  798. }
  799. }
  800. }
  801. },
  802. "/Ermcp/QueryBusinessKx": {
  803. "get": {
  804. "security": [
  805. {
  806. "ApiKeyAuth": []
  807. }
  808. ],
  809. "produces": [
  810. "application/json"
  811. ],
  812. "tags": [
  813. "企业风险管理(app)"
  814. ],
  815. "summary": "查询业务管理(款项)(对应菜单:业务管理/款项)",
  816. "responses": {
  817. "200": {
  818. "description": "OK",
  819. "schema": {
  820. "type": "array",
  821. "items": {
  822. "$ref": "#/definitions/ermcp.QryBussinessKxRsp"
  823. }
  824. }
  825. },
  826. "500": {
  827. "description": "Internal Server Error",
  828. "schema": {
  829. "$ref": "#/definitions/app.Response"
  830. }
  831. }
  832. }
  833. }
  834. },
  835. "/Ermcp/QueryContract": {
  836. "get": {
  837. "security": [
  838. {
  839. "ApiKeyAuth": []
  840. }
  841. ],
  842. "produces": [
  843. "application/json"
  844. ],
  845. "tags": [
  846. "企业风险管理(app)"
  847. ],
  848. "summary": "查询合同(采购和销售)",
  849. "parameters": [
  850. {
  851. "type": "integer",
  852. "description": "合同类型 1-采购, -1-销售",
  853. "name": "contracttype",
  854. "in": "query",
  855. "required": true
  856. },
  857. {
  858. "type": "integer",
  859. "description": "查询类型 1-全部 2-待点价 3-履约结算",
  860. "name": "QueryType",
  861. "in": "query",
  862. "required": true
  863. }
  864. ],
  865. "responses": {
  866. "200": {
  867. "description": "OK",
  868. "schema": {
  869. "type": "array",
  870. "items": {
  871. "$ref": "#/definitions/ermcp.QryErmcpRsp"
  872. }
  873. }
  874. },
  875. "500": {
  876. "description": "Internal Server Error",
  877. "schema": {
  878. "$ref": "#/definitions/app.Response"
  879. }
  880. }
  881. }
  882. }
  883. },
  884. "/Ermcp/QueryHedgePlan": {
  885. "get": {
  886. "security": [
  887. {
  888. "ApiKeyAuth": []
  889. }
  890. ],
  891. "produces": [
  892. "application/json"
  893. ],
  894. "tags": [
  895. "企业风险管理(app)"
  896. ],
  897. "summary": "查询套保计划",
  898. "parameters": [
  899. {
  900. "type": "integer",
  901. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  902. "name": "HedgePlanStatus",
  903. "in": "query",
  904. "required": true
  905. }
  906. ],
  907. "responses": {
  908. "200": {
  909. "description": "OK",
  910. "schema": {
  911. "type": "array",
  912. "items": {
  913. "$ref": "#/definitions/ermcp.QryHedgePlanRsp"
  914. }
  915. }
  916. },
  917. "500": {
  918. "description": "Internal Server Error",
  919. "schema": {
  920. "$ref": "#/definitions/app.Response"
  921. }
  922. }
  923. }
  924. }
  925. },
  926. "/Ermcp/QuerySpotContract": {
  927. "get": {
  928. "security": [
  929. {
  930. "ApiKeyAuth": []
  931. }
  932. ],
  933. "produces": [
  934. "application/json"
  935. ],
  936. "tags": [
  937. "企业风险管理(app)"
  938. ],
  939. "summary": "查询现货合同(对应现货合同菜单)",
  940. "parameters": [
  941. {
  942. "type": "integer",
  943. "description": "查询类型 1-未提交 2-待审核 3-履约中 4-已完成",
  944. "name": "QueryType",
  945. "in": "query",
  946. "required": true
  947. }
  948. ],
  949. "responses": {
  950. "200": {
  951. "description": "OK",
  952. "schema": {
  953. "type": "array",
  954. "items": {
  955. "$ref": "#/definitions/ermcp.QrySpotContractRsp"
  956. }
  957. }
  958. },
  959. "500": {
  960. "description": "Internal Server Error",
  961. "schema": {
  962. "$ref": "#/definitions/app.Response"
  963. }
  964. }
  965. }
  966. }
  967. },
  968. "/Ermcp/QueryUserInfo": {
  969. "get": {
  970. "security": [
  971. {
  972. "ApiKeyAuth": []
  973. }
  974. ],
  975. "produces": [
  976. "application/json"
  977. ],
  978. "tags": [
  979. "企业风险管理(app)"
  980. ],
  981. "summary": "查询客户资料",
  982. "parameters": [
  983. {
  984. "type": "string",
  985. "description": "账户状态(可填多个, 逗号隔开) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  986. "name": "AccountStatus",
  987. "in": "query",
  988. "required": true
  989. }
  990. ],
  991. "responses": {
  992. "200": {
  993. "description": "OK",
  994. "schema": {
  995. "type": "array",
  996. "items": {
  997. "$ref": "#/definitions/ermcp.QryUserInfoRsp"
  998. }
  999. }
  1000. },
  1001. "500": {
  1002. "description": "Internal Server Error",
  1003. "schema": {
  1004. "$ref": "#/definitions/app.Response"
  1005. }
  1006. }
  1007. }
  1008. }
  1009. },
  1010. "/Erms2/QueryArbitrageStrategy": {
  1011. "get": {
  1012. "security": [
  1013. {
  1014. "ApiKeyAuth": []
  1015. }
  1016. ],
  1017. "produces": [
  1018. "application/json"
  1019. ],
  1020. "tags": [
  1021. "风险管理"
  1022. ],
  1023. "summary": "查询期现套利策略表信息(指定资金账户、未结束的)",
  1024. "parameters": [
  1025. {
  1026. "type": "integer",
  1027. "description": "账户ID",
  1028. "name": "userid",
  1029. "in": "query",
  1030. "required": true
  1031. },
  1032. {
  1033. "type": "string",
  1034. "description": "商品组ID(品种ID)",
  1035. "name": "goodsgroupid",
  1036. "in": "query"
  1037. }
  1038. ],
  1039. "responses": {
  1040. "200": {
  1041. "description": "OK",
  1042. "schema": {
  1043. "$ref": "#/definitions/erms2.QueryArbitrageStrategyRsp"
  1044. }
  1045. },
  1046. "500": {
  1047. "description": "Internal Server Error",
  1048. "schema": {
  1049. "$ref": "#/definitions/app.Response"
  1050. }
  1051. }
  1052. }
  1053. }
  1054. },
  1055. "/Erms2/QueryInnerTradeDetail": {
  1056. "get": {
  1057. "security": [
  1058. {
  1059. "ApiKeyAuth": []
  1060. }
  1061. ],
  1062. "produces": [
  1063. "application/json"
  1064. ],
  1065. "tags": [
  1066. "风险管理"
  1067. ],
  1068. "summary": "查询内部成交单信息",
  1069. "parameters": [
  1070. {
  1071. "type": "integer",
  1072. "description": "资金账户",
  1073. "name": "accountid",
  1074. "in": "query",
  1075. "required": true
  1076. }
  1077. ],
  1078. "responses": {
  1079. "200": {
  1080. "description": "OK",
  1081. "schema": {
  1082. "$ref": "#/definitions/erms2.QueryInnerTradeDetailRsp"
  1083. }
  1084. },
  1085. "500": {
  1086. "description": "Internal Server Error",
  1087. "schema": {
  1088. "$ref": "#/definitions/app.Response"
  1089. }
  1090. }
  1091. }
  1092. }
  1093. },
  1094. "/Erms2/QuerySpotContract": {
  1095. "get": {
  1096. "security": [
  1097. {
  1098. "ApiKeyAuth": []
  1099. }
  1100. ],
  1101. "produces": [
  1102. "application/json"
  1103. ],
  1104. "tags": [
  1105. "风险管理"
  1106. ],
  1107. "summary": "查询现货合同表信息(指定策略ID、未结束的)",
  1108. "parameters": [
  1109. {
  1110. "type": "integer",
  1111. "description": "策略申请ID",
  1112. "name": "asapplyid",
  1113. "in": "query",
  1114. "required": true
  1115. },
  1116. {
  1117. "type": "integer",
  1118. "description": "现货合同ID",
  1119. "name": "spotcontractid",
  1120. "in": "query"
  1121. }
  1122. ],
  1123. "responses": {
  1124. "200": {
  1125. "description": "OK",
  1126. "schema": {
  1127. "$ref": "#/definitions/erms2.QuerySpotContractRsp"
  1128. }
  1129. },
  1130. "500": {
  1131. "description": "Internal Server Error",
  1132. "schema": {
  1133. "$ref": "#/definitions/app.Response"
  1134. }
  1135. }
  1136. }
  1137. }
  1138. },
  1139. "/Erms3/AddErms2ASApply": {
  1140. "post": {
  1141. "security": [
  1142. {
  1143. "ApiKeyAuth": []
  1144. }
  1145. ],
  1146. "produces": [
  1147. "application/json"
  1148. ],
  1149. "tags": [
  1150. "风险管理v3"
  1151. ],
  1152. "summary": "新增期现套利业务申请",
  1153. "parameters": [
  1154. {
  1155. "description": "申请参数",
  1156. "name": "jsonBody",
  1157. "in": "body",
  1158. "required": true,
  1159. "schema": {
  1160. "$ref": "#/definitions/erms3.AddErms2ASApplyReq"
  1161. }
  1162. }
  1163. ],
  1164. "responses": {
  1165. "200": {
  1166. "description": "OK",
  1167. "schema": {
  1168. "$ref": "#/definitions/app.Response"
  1169. }
  1170. },
  1171. "500": {
  1172. "description": "Internal Server Error",
  1173. "schema": {
  1174. "$ref": "#/definitions/app.Response"
  1175. }
  1176. }
  1177. }
  1178. }
  1179. },
  1180. "/Erms3/AddErms2SpotTradeApply": {
  1181. "post": {
  1182. "security": [
  1183. {
  1184. "ApiKeyAuth": []
  1185. }
  1186. ],
  1187. "produces": [
  1188. "application/json"
  1189. ],
  1190. "tags": [
  1191. "风险管理v3"
  1192. ],
  1193. "summary": "新增现货贸易业务申请",
  1194. "parameters": [
  1195. {
  1196. "description": "申请参数",
  1197. "name": "jsonBody",
  1198. "in": "body",
  1199. "required": true,
  1200. "schema": {
  1201. "$ref": "#/definitions/erms3.AddErms2SpotTradeApplyReq"
  1202. }
  1203. }
  1204. ],
  1205. "responses": {
  1206. "200": {
  1207. "description": "OK",
  1208. "schema": {
  1209. "$ref": "#/definitions/app.Response"
  1210. }
  1211. },
  1212. "500": {
  1213. "description": "Internal Server Error",
  1214. "schema": {
  1215. "$ref": "#/definitions/app.Response"
  1216. }
  1217. }
  1218. }
  1219. }
  1220. },
  1221. "/Erms3/AddSpotContractApply": {
  1222. "post": {
  1223. "security": [
  1224. {
  1225. "ApiKeyAuth": []
  1226. }
  1227. ],
  1228. "produces": [
  1229. "application/json"
  1230. ],
  1231. "tags": [
  1232. "风险管理v3"
  1233. ],
  1234. "summary": "新增现货合同申请",
  1235. "parameters": [
  1236. {
  1237. "description": "申请参数",
  1238. "name": "jsonBody",
  1239. "in": "body",
  1240. "required": true,
  1241. "schema": {
  1242. "$ref": "#/definitions/erms3.AddSpotContractApplyReq"
  1243. }
  1244. }
  1245. ],
  1246. "responses": {
  1247. "200": {
  1248. "description": "OK",
  1249. "schema": {
  1250. "$ref": "#/definitions/erms3.AddSpotContractApplyRsp"
  1251. }
  1252. },
  1253. "500": {
  1254. "description": "Internal Server Error",
  1255. "schema": {
  1256. "$ref": "#/definitions/app.Response"
  1257. }
  1258. }
  1259. }
  1260. }
  1261. },
  1262. "/Erms3/AddUserInfoApply": {
  1263. "post": {
  1264. "security": [
  1265. {
  1266. "ApiKeyAuth": []
  1267. }
  1268. ],
  1269. "produces": [
  1270. "application/json"
  1271. ],
  1272. "tags": [
  1273. "风险管理v3"
  1274. ],
  1275. "summary": "新增客户申请",
  1276. "parameters": [
  1277. {
  1278. "description": "申请参数",
  1279. "name": "jsonBody",
  1280. "in": "body",
  1281. "required": true,
  1282. "schema": {
  1283. "$ref": "#/definitions/erms3.AddUserInfoApplyReq"
  1284. }
  1285. }
  1286. ],
  1287. "responses": {
  1288. "200": {
  1289. "description": "OK",
  1290. "schema": {
  1291. "$ref": "#/definitions/app.Response"
  1292. }
  1293. },
  1294. "500": {
  1295. "description": "Internal Server Error",
  1296. "schema": {
  1297. "$ref": "#/definitions/app.Response"
  1298. }
  1299. }
  1300. }
  1301. }
  1302. },
  1303. "/Erms3/QueryBusinessInfo": {
  1304. "get": {
  1305. "security": [
  1306. {
  1307. "ApiKeyAuth": []
  1308. }
  1309. ],
  1310. "produces": [
  1311. "application/json"
  1312. ],
  1313. "tags": [
  1314. "风险管理v3"
  1315. ],
  1316. "summary": "查询业务表单数据",
  1317. "parameters": [
  1318. {
  1319. "type": "string",
  1320. "description": "资金账号ID列表,用逗号分隔",
  1321. "name": "accountids",
  1322. "in": "query",
  1323. "required": true
  1324. },
  1325. {
  1326. "type": "integer",
  1327. "description": "状态,0为未结束 1为已结束",
  1328. "name": "status",
  1329. "in": "query",
  1330. "required": true
  1331. }
  1332. ],
  1333. "responses": {
  1334. "200": {
  1335. "description": "OK",
  1336. "schema": {
  1337. "type": "array",
  1338. "items": {
  1339. "$ref": "#/definitions/erms3.QueryBusinessInfoRsp"
  1340. }
  1341. }
  1342. },
  1343. "500": {
  1344. "description": "Internal Server Error",
  1345. "schema": {
  1346. "$ref": "#/definitions/app.Response"
  1347. }
  1348. }
  1349. }
  1350. }
  1351. },
  1352. "/Erms3/QueryPendingAuditContract": {
  1353. "get": {
  1354. "security": [
  1355. {
  1356. "ApiKeyAuth": []
  1357. }
  1358. ],
  1359. "produces": [
  1360. "application/json"
  1361. ],
  1362. "tags": [
  1363. "风险管理v3"
  1364. ],
  1365. "summary": "查询待审核合同",
  1366. "parameters": [
  1367. {
  1368. "type": "string",
  1369. "description": "资金账号ID列表,逗号隔开",
  1370. "name": "accountids",
  1371. "in": "query",
  1372. "required": true
  1373. },
  1374. {
  1375. "type": "integer",
  1376. "description": "合同类型 1-采购 -1-销售",
  1377. "name": "contracttype",
  1378. "in": "query",
  1379. "required": true
  1380. },
  1381. {
  1382. "type": "integer",
  1383. "description": "合同模式 1-普通 2-回购",
  1384. "name": "contractmode",
  1385. "in": "query",
  1386. "required": true
  1387. }
  1388. ],
  1389. "responses": {
  1390. "200": {
  1391. "description": "OK",
  1392. "schema": {
  1393. "type": "array",
  1394. "items": {
  1395. "$ref": "#/definitions/erms3.QryAuditContractRsp"
  1396. }
  1397. }
  1398. },
  1399. "500": {
  1400. "description": "Internal Server Error",
  1401. "schema": {
  1402. "$ref": "#/definitions/app.Response"
  1403. }
  1404. }
  1405. }
  1406. }
  1407. },
  1408. "/Erms3/QueryPendingBusiness": {
  1409. "get": {
  1410. "security": [
  1411. {
  1412. "ApiKeyAuth": []
  1413. }
  1414. ],
  1415. "produces": [
  1416. "application/json"
  1417. ],
  1418. "tags": [
  1419. "风险管理v3"
  1420. ],
  1421. "summary": "查询待审核基差贸易业务",
  1422. "parameters": [
  1423. {
  1424. "type": "string",
  1425. "description": "资金账号ID列表,逗号隔开",
  1426. "name": "accountids",
  1427. "in": "query",
  1428. "required": true
  1429. }
  1430. ],
  1431. "responses": {
  1432. "200": {
  1433. "description": "OK",
  1434. "schema": {
  1435. "type": "array",
  1436. "items": {
  1437. "$ref": "#/definitions/erms3.QryPendingBizRsp"
  1438. }
  1439. }
  1440. },
  1441. "500": {
  1442. "description": "Internal Server Error",
  1443. "schema": {
  1444. "$ref": "#/definitions/app.Response"
  1445. }
  1446. }
  1447. }
  1448. }
  1449. },
  1450. "/Erms3/QuerySpotContractAppleForm": {
  1451. "get": {
  1452. "security": [
  1453. {
  1454. "ApiKeyAuth": []
  1455. }
  1456. ],
  1457. "produces": [
  1458. "application/json"
  1459. ],
  1460. "tags": [
  1461. "风险管理v3"
  1462. ],
  1463. "summary": "查询合同申请表单数据",
  1464. "parameters": [
  1465. {
  1466. "type": "integer",
  1467. "description": "登录账号",
  1468. "name": "loginID",
  1469. "in": "query",
  1470. "required": true
  1471. }
  1472. ],
  1473. "responses": {
  1474. "200": {
  1475. "description": "OK",
  1476. "schema": {
  1477. "$ref": "#/definitions/erms3.QuerySpotContractAppleFormRsp"
  1478. }
  1479. },
  1480. "500": {
  1481. "description": "Internal Server Error",
  1482. "schema": {
  1483. "$ref": "#/definitions/app.Response"
  1484. }
  1485. }
  1486. }
  1487. }
  1488. },
  1489. "/Erms3/QuerySpotContractDetail": {
  1490. "get": {
  1491. "security": [
  1492. {
  1493. "ApiKeyAuth": []
  1494. }
  1495. ],
  1496. "produces": [
  1497. "application/json"
  1498. ],
  1499. "tags": [
  1500. "风险管理v3"
  1501. ],
  1502. "summary": "查询合同详细信息",
  1503. "parameters": [
  1504. {
  1505. "type": "string",
  1506. "description": "资金账号ID列表,用逗号分隔",
  1507. "name": "accountids",
  1508. "in": "query",
  1509. "required": true
  1510. },
  1511. {
  1512. "type": "integer",
  1513. "description": "合同类型,1为采购合同 -1为销售合同",
  1514. "name": "contracttype",
  1515. "in": "query",
  1516. "required": true
  1517. },
  1518. {
  1519. "type": "integer",
  1520. "description": "合同模式,1为普通合同 2为回购销售合同",
  1521. "name": "contractmode",
  1522. "in": "query",
  1523. "required": true
  1524. },
  1525. {
  1526. "type": "integer",
  1527. "description": "状态,0为履约中 1为已完成",
  1528. "name": "status",
  1529. "in": "query",
  1530. "required": true
  1531. }
  1532. ],
  1533. "responses": {
  1534. "200": {
  1535. "description": "OK",
  1536. "schema": {
  1537. "type": "array",
  1538. "items": {
  1539. "$ref": "#/definitions/erms3.QuerySpotContractInfoRsp"
  1540. }
  1541. }
  1542. },
  1543. "500": {
  1544. "description": "Internal Server Error",
  1545. "schema": {
  1546. "$ref": "#/definitions/app.Response"
  1547. }
  1548. }
  1549. }
  1550. }
  1551. },
  1552. "/Erms3/QueryUserInfoApplies": {
  1553. "get": {
  1554. "security": [
  1555. {
  1556. "ApiKeyAuth": []
  1557. }
  1558. ],
  1559. "produces": [
  1560. "application/json"
  1561. ],
  1562. "tags": [
  1563. "风险管理v3"
  1564. ],
  1565. "summary": "客户申请信息查询",
  1566. "parameters": [
  1567. {
  1568. "type": "integer",
  1569. "description": "页码",
  1570. "name": "page",
  1571. "in": "query"
  1572. },
  1573. {
  1574. "type": "integer",
  1575. "description": "每页条数",
  1576. "name": "pagesize",
  1577. "in": "query"
  1578. },
  1579. {
  1580. "type": "string",
  1581. "description": "客户名称,支持模糊查询",
  1582. "name": "userName",
  1583. "in": "query"
  1584. }
  1585. ],
  1586. "responses": {
  1587. "200": {
  1588. "description": "OK",
  1589. "schema": {
  1590. "$ref": "#/definitions/erms3.QueryUserInfoAppliesRsp"
  1591. }
  1592. },
  1593. "500": {
  1594. "description": "Internal Server Error",
  1595. "schema": {
  1596. "$ref": "#/definitions/app.Response"
  1597. }
  1598. }
  1599. }
  1600. }
  1601. },
  1602. "/Erms3/QueryUserInfos": {
  1603. "get": {
  1604. "security": [
  1605. {
  1606. "ApiKeyAuth": []
  1607. }
  1608. ],
  1609. "produces": [
  1610. "application/json"
  1611. ],
  1612. "tags": [
  1613. "风险管理v3"
  1614. ],
  1615. "summary": "客户信息查询",
  1616. "parameters": [
  1617. {
  1618. "type": "integer",
  1619. "description": "页码",
  1620. "name": "page",
  1621. "in": "query"
  1622. },
  1623. {
  1624. "type": "integer",
  1625. "description": "每页条数",
  1626. "name": "pagesize",
  1627. "in": "query"
  1628. },
  1629. {
  1630. "type": "string",
  1631. "description": "客户名称,支持模糊查询",
  1632. "name": "userName",
  1633. "in": "query"
  1634. }
  1635. ],
  1636. "responses": {
  1637. "200": {
  1638. "description": "OK",
  1639. "schema": {
  1640. "$ref": "#/definitions/erms3.QueryUserInfosRsp"
  1641. }
  1642. },
  1643. "500": {
  1644. "description": "Internal Server Error",
  1645. "schema": {
  1646. "$ref": "#/definitions/app.Response"
  1647. }
  1648. }
  1649. }
  1650. }
  1651. },
  1652. "/HSBY/GetHsbyMyCount": {
  1653. "get": {
  1654. "security": [
  1655. {
  1656. "ApiKeyAuth": []
  1657. }
  1658. ],
  1659. "description": "说明: 不包括已完成的数量。",
  1660. "produces": [
  1661. "application/json"
  1662. ],
  1663. "tags": [
  1664. "定制【海商报业】"
  1665. ],
  1666. "summary": "获取我的订单与包裹数量",
  1667. "parameters": [
  1668. {
  1669. "type": "string",
  1670. "description": "资金账户列表,格式:1,2,3",
  1671. "name": "accountIDs",
  1672. "in": "query",
  1673. "required": true
  1674. }
  1675. ],
  1676. "responses": {
  1677. "200": {
  1678. "description": "OK",
  1679. "schema": {
  1680. "$ref": "#/definitions/hsby.GetHsbyMyCountRsp"
  1681. }
  1682. },
  1683. "500": {
  1684. "description": "Internal Server Error",
  1685. "schema": {
  1686. "$ref": "#/definitions/app.Response"
  1687. }
  1688. }
  1689. }
  1690. }
  1691. },
  1692. "/HSBY/QueryHsbyBuyMyTradeDetail": {
  1693. "get": {
  1694. "security": [
  1695. {
  1696. "ApiKeyAuth": []
  1697. }
  1698. ],
  1699. "produces": [
  1700. "application/json"
  1701. ],
  1702. "tags": [
  1703. "定制【海商报业】"
  1704. ],
  1705. "summary": "查询\"我的订单 - 已完成\"单据信息",
  1706. "parameters": [
  1707. {
  1708. "type": "integer",
  1709. "description": "页码",
  1710. "name": "page",
  1711. "in": "query"
  1712. },
  1713. {
  1714. "type": "integer",
  1715. "description": "每页条数",
  1716. "name": "pagesize",
  1717. "in": "query"
  1718. },
  1719. {
  1720. "type": "string",
  1721. "description": "资金账户列表,格式:1,2,3",
  1722. "name": "accountIDs",
  1723. "in": "query",
  1724. "required": true
  1725. }
  1726. ],
  1727. "responses": {
  1728. "200": {
  1729. "description": "OK",
  1730. "schema": {
  1731. "$ref": "#/definitions/models.HsbyBuyMyTradeDetail"
  1732. }
  1733. },
  1734. "500": {
  1735. "description": "Internal Server Error",
  1736. "schema": {
  1737. "$ref": "#/definitions/app.Response"
  1738. }
  1739. }
  1740. }
  1741. }
  1742. },
  1743. "/HSBY/QueryHsbyGoodsOrderDetails": {
  1744. "get": {
  1745. "security": [
  1746. {
  1747. "ApiKeyAuth": []
  1748. }
  1749. ],
  1750. "description": "说明:查询结果已按委托价格和委托时间排序",
  1751. "produces": [
  1752. "application/json"
  1753. ],
  1754. "tags": [
  1755. "定制【海商报业】"
  1756. ],
  1757. "summary": "查询二级市场(挂牌点选)商品对应的挂牌委托单信息",
  1758. "parameters": [
  1759. {
  1760. "type": "integer",
  1761. "description": "商品ID",
  1762. "name": "goodsID",
  1763. "in": "query",
  1764. "required": true
  1765. },
  1766. {
  1767. "type": "string",
  1768. "description": "摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单",
  1769. "name": "accountIDs",
  1770. "in": "query"
  1771. },
  1772. {
  1773. "type": "integer",
  1774. "description": "挂牌委托单方向(对手单方向),0:买 1:卖",
  1775. "name": "buyOrSell",
  1776. "in": "query"
  1777. },
  1778. {
  1779. "type": "number",
  1780. "description": " 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)",
  1781. "name": "price",
  1782. "in": "query"
  1783. },
  1784. {
  1785. "type": "integer",
  1786. "description": "档位,不传则默认为3档",
  1787. "name": "speed",
  1788. "in": "query"
  1789. }
  1790. ],
  1791. "responses": {
  1792. "200": {
  1793. "description": "OK",
  1794. "schema": {
  1795. "$ref": "#/definitions/models.HsbyGoodsOrderDetail"
  1796. }
  1797. },
  1798. "500": {
  1799. "description": "Internal Server Error",
  1800. "schema": {
  1801. "$ref": "#/definitions/app.Response"
  1802. }
  1803. }
  1804. }
  1805. }
  1806. },
  1807. "/HSBY/QueryHsbyListingGoodsDetail": {
  1808. "get": {
  1809. "security": [
  1810. {
  1811. "ApiKeyAuth": []
  1812. }
  1813. ],
  1814. "description": "说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口",
  1815. "produces": [
  1816. "application/json"
  1817. ],
  1818. "tags": [
  1819. "定制【海商报业】"
  1820. ],
  1821. "summary": "查询二级市场(挂牌点选)商品信息详情",
  1822. "parameters": [
  1823. {
  1824. "type": "integer",
  1825. "description": "商品ID",
  1826. "name": "goodsID",
  1827. "in": "query",
  1828. "required": true
  1829. },
  1830. {
  1831. "type": "integer",
  1832. "description": "资金账户,主要用于获取交易规则。不传则获取通用规则。",
  1833. "name": "AccountID",
  1834. "in": "query"
  1835. }
  1836. ],
  1837. "responses": {
  1838. "200": {
  1839. "description": "OK",
  1840. "schema": {
  1841. "$ref": "#/definitions/models.HsbyListingGoodsDetail"
  1842. }
  1843. },
  1844. "500": {
  1845. "description": "Internal Server Error",
  1846. "schema": {
  1847. "$ref": "#/definitions/app.Response"
  1848. }
  1849. }
  1850. }
  1851. }
  1852. },
  1853. "/HSBY/QueryHsbyMarketGoodsDetail": {
  1854. "get": {
  1855. "security": [
  1856. {
  1857. "ApiKeyAuth": []
  1858. }
  1859. ],
  1860. "produces": [
  1861. "application/json"
  1862. ],
  1863. "tags": [
  1864. "定制【海商报业】"
  1865. ],
  1866. "summary": "查询三级市场(商城)商品信息详情",
  1867. "parameters": [
  1868. {
  1869. "type": "integer",
  1870. "description": "委托单号",
  1871. "name": "orderID",
  1872. "in": "query",
  1873. "required": true
  1874. },
  1875. {
  1876. "type": "integer",
  1877. "description": "资金账户,主要用于判断商品最大开仓手数;如未登录可不传。",
  1878. "name": "accountID",
  1879. "in": "query"
  1880. }
  1881. ],
  1882. "responses": {
  1883. "200": {
  1884. "description": "OK",
  1885. "schema": {
  1886. "$ref": "#/definitions/models.HsbyMarketGoodsDetail"
  1887. }
  1888. },
  1889. "500": {
  1890. "description": "Internal Server Error",
  1891. "schema": {
  1892. "$ref": "#/definitions/app.Response"
  1893. }
  1894. }
  1895. }
  1896. }
  1897. },
  1898. "/HSBY/QueryHsbyMarketGoodses": {
  1899. "get": {
  1900. "security": [
  1901. {
  1902. "ApiKeyAuth": []
  1903. }
  1904. ],
  1905. "produces": [
  1906. "application/json"
  1907. ],
  1908. "tags": [
  1909. "定制【海商报业】"
  1910. ],
  1911. "summary": "查询特卖商品列表(三级商城)",
  1912. "parameters": [
  1913. {
  1914. "type": "integer",
  1915. "description": "页码",
  1916. "name": "page",
  1917. "in": "query"
  1918. },
  1919. {
  1920. "type": "integer",
  1921. "description": "每页条数",
  1922. "name": "pagesize",
  1923. "in": "query"
  1924. },
  1925. {
  1926. "type": "string",
  1927. "description": "市场ID列表,格式:1,2,3",
  1928. "name": "marketIDs",
  1929. "in": "query",
  1930. "required": true
  1931. },
  1932. {
  1933. "type": "integer",
  1934. "description": "资金账户,主要用于判断商品是否有可用的优惠卷;如未登录可不传。",
  1935. "name": "accountID",
  1936. "in": "query"
  1937. },
  1938. {
  1939. "type": "integer",
  1940. "description": "类别ID",
  1941. "name": "categoryID",
  1942. "in": "query"
  1943. },
  1944. {
  1945. "type": "string",
  1946. "description": "商品ID列表,格式:1,2,3。主要用于商品搜索。",
  1947. "name": "goodsIDs",
  1948. "in": "query"
  1949. },
  1950. {
  1951. "type": "integer",
  1952. "description": "优惠券类型ID,主要用于显示优惠卷对应的商品列表。",
  1953. "name": "couponTypeID",
  1954. "in": "query"
  1955. }
  1956. ],
  1957. "responses": {
  1958. "200": {
  1959. "description": "OK",
  1960. "schema": {
  1961. "$ref": "#/definitions/models.HsbyMarketGoods"
  1962. }
  1963. },
  1964. "500": {
  1965. "description": "Internal Server Error",
  1966. "schema": {
  1967. "$ref": "#/definitions/app.Response"
  1968. }
  1969. }
  1970. }
  1971. }
  1972. },
  1973. "/HSBY/QueryHsbyMarkets": {
  1974. "get": {
  1975. "security": [
  1976. {
  1977. "ApiKeyAuth": []
  1978. }
  1979. ],
  1980. "produces": [
  1981. "application/json"
  1982. ],
  1983. "tags": [
  1984. "定制【海商报业】"
  1985. ],
  1986. "summary": "查询海商报业相关市场信息",
  1987. "responses": {
  1988. "200": {
  1989. "description": "OK",
  1990. "schema": {
  1991. "$ref": "#/definitions/models.HsbyMarketInfo"
  1992. }
  1993. },
  1994. "500": {
  1995. "description": "Internal Server Error",
  1996. "schema": {
  1997. "$ref": "#/definitions/app.Response"
  1998. }
  1999. }
  2000. }
  2001. }
  2002. },
  2003. "/HSBY/QueryHsbyMyBuyOrderDetails": {
  2004. "get": {
  2005. "security": [
  2006. {
  2007. "ApiKeyAuth": []
  2008. }
  2009. ],
  2010. "description": "说明: 全部:一二级市场买委托;抢购中:一级市场买摘; 求购中:二级市场买挂; 3:已完成:一二级市场已完成买委托;",
  2011. "produces": [
  2012. "application/json"
  2013. ],
  2014. "tags": [
  2015. "定制【海商报业】"
  2016. ],
  2017. "summary": "查询“我的订单”信息",
  2018. "parameters": [
  2019. {
  2020. "type": "string",
  2021. "description": "资金账户列表,格式:1,2,3",
  2022. "name": "accountIDs",
  2023. "in": "query",
  2024. "required": true
  2025. },
  2026. {
  2027. "type": "integer",
  2028. "description": "'我的订单'状态, 1:抢购中 2:求购中 3:已完成;不传则为'全部'",
  2029. "name": "myBuyStatus",
  2030. "in": "query"
  2031. }
  2032. ],
  2033. "responses": {
  2034. "200": {
  2035. "description": "OK",
  2036. "schema": {
  2037. "$ref": "#/definitions/models.HybsMyBuyOrderDetail"
  2038. }
  2039. },
  2040. "500": {
  2041. "description": "Internal Server Error",
  2042. "schema": {
  2043. "$ref": "#/definitions/app.Response"
  2044. }
  2045. }
  2046. }
  2047. }
  2048. },
  2049. "/HSBY/QueryHsbyMyGoods": {
  2050. "get": {
  2051. "security": [
  2052. {
  2053. "ApiKeyAuth": []
  2054. }
  2055. ],
  2056. "produces": [
  2057. "application/json"
  2058. ],
  2059. "tags": [
  2060. "定制【海商报业】"
  2061. ],
  2062. "summary": "查询“我的商品”信息",
  2063. "parameters": [
  2064. {
  2065. "type": "string",
  2066. "description": "资金账户列表,格式:1,2,3",
  2067. "name": "accountIDs",
  2068. "in": "query",
  2069. "required": true
  2070. }
  2071. ],
  2072. "responses": {
  2073. "200": {
  2074. "description": "OK",
  2075. "schema": {
  2076. "$ref": "#/definitions/models.HsbyMyGoods"
  2077. }
  2078. },
  2079. "500": {
  2080. "description": "Internal Server Error",
  2081. "schema": {
  2082. "$ref": "#/definitions/app.Response"
  2083. }
  2084. }
  2085. }
  2086. }
  2087. },
  2088. "/HSBY/QueryHsbyMyPackages": {
  2089. "get": {
  2090. "security": [
  2091. {
  2092. "ApiKeyAuth": []
  2093. }
  2094. ],
  2095. "produces": [
  2096. "application/json"
  2097. ],
  2098. "tags": [
  2099. "定制【海商报业】"
  2100. ],
  2101. "summary": "查询我的包裹信息",
  2102. "parameters": [
  2103. {
  2104. "type": "string",
  2105. "description": "资金账户列表,格式:1,2,3",
  2106. "name": "accountIDs",
  2107. "in": "query",
  2108. "required": true
  2109. },
  2110. {
  2111. "type": "integer",
  2112. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  2113. "name": "takeOrderStatus",
  2114. "in": "query"
  2115. }
  2116. ],
  2117. "responses": {
  2118. "200": {
  2119. "description": "OK",
  2120. "schema": {
  2121. "$ref": "#/definitions/models.HsbyMyPackage"
  2122. }
  2123. },
  2124. "500": {
  2125. "description": "Internal Server Error",
  2126. "schema": {
  2127. "$ref": "#/definitions/app.Response"
  2128. }
  2129. }
  2130. }
  2131. }
  2132. },
  2133. "/HSBY/QueryHsbyPreGoodsDetail": {
  2134. "get": {
  2135. "security": [
  2136. {
  2137. "ApiKeyAuth": []
  2138. }
  2139. ],
  2140. "produces": [
  2141. "application/json"
  2142. ],
  2143. "tags": [
  2144. "定制【海商报业】"
  2145. ],
  2146. "summary": "查询一级市场(预售)商品信息详情",
  2147. "parameters": [
  2148. {
  2149. "type": "integer",
  2150. "description": "商品ID",
  2151. "name": "goodsID",
  2152. "in": "query",
  2153. "required": true
  2154. },
  2155. {
  2156. "type": "integer",
  2157. "description": "资金账户,主要用于获取预售商品购买上限",
  2158. "name": "accountID",
  2159. "in": "query"
  2160. }
  2161. ],
  2162. "responses": {
  2163. "200": {
  2164. "description": "OK",
  2165. "schema": {
  2166. "$ref": "#/definitions/models.HsbyPreGoodsDetail"
  2167. }
  2168. },
  2169. "500": {
  2170. "description": "Internal Server Error",
  2171. "schema": {
  2172. "$ref": "#/definitions/app.Response"
  2173. }
  2174. }
  2175. }
  2176. }
  2177. },
  2178. "/HSBY/QueryHsbyPreGoodses": {
  2179. "get": {
  2180. "security": [
  2181. {
  2182. "ApiKeyAuth": []
  2183. }
  2184. ],
  2185. "description": "说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)",
  2186. "produces": [
  2187. "application/json"
  2188. ],
  2189. "tags": [
  2190. "定制【海商报业】"
  2191. ],
  2192. "summary": "查询新品上市商品列表(一级市场预售)",
  2193. "parameters": [
  2194. {
  2195. "type": "integer",
  2196. "description": "页码",
  2197. "name": "page",
  2198. "in": "query"
  2199. },
  2200. {
  2201. "type": "integer",
  2202. "description": "每页条数",
  2203. "name": "pagesize",
  2204. "in": "query"
  2205. },
  2206. {
  2207. "type": "string",
  2208. "description": "市场ID列表,格式:1,2,3",
  2209. "name": "marketIDs",
  2210. "in": "query",
  2211. "required": true
  2212. },
  2213. {
  2214. "type": "integer",
  2215. "description": "目的地(省)ID",
  2216. "name": "descProvinceID",
  2217. "in": "query"
  2218. },
  2219. {
  2220. "type": "integer",
  2221. "description": "目的地(市)ID",
  2222. "name": "descCityID",
  2223. "in": "query"
  2224. }
  2225. ],
  2226. "responses": {
  2227. "200": {
  2228. "description": "OK",
  2229. "schema": {
  2230. "$ref": "#/definitions/models.HsbyPreGoods"
  2231. }
  2232. },
  2233. "500": {
  2234. "description": "Internal Server Error",
  2235. "schema": {
  2236. "$ref": "#/definitions/app.Response"
  2237. }
  2238. }
  2239. }
  2240. }
  2241. },
  2242. "/HSBY/QueryHsbySellMyDetails": {
  2243. "get": {
  2244. "security": [
  2245. {
  2246. "ApiKeyAuth": []
  2247. }
  2248. ],
  2249. "description": "说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序",
  2250. "produces": [
  2251. "application/json"
  2252. ],
  2253. "tags": [
  2254. "定制【海商报业】"
  2255. ],
  2256. "summary": "查询\"我的闲置\"单据信息",
  2257. "parameters": [
  2258. {
  2259. "type": "integer",
  2260. "description": "页码",
  2261. "name": "page",
  2262. "in": "query"
  2263. },
  2264. {
  2265. "type": "integer",
  2266. "description": "每页条数",
  2267. "name": "pagesize",
  2268. "in": "query"
  2269. },
  2270. {
  2271. "type": "string",
  2272. "description": "资金账户列表,格式:1,2,3",
  2273. "name": "accountIDs",
  2274. "in": "query",
  2275. "required": true
  2276. },
  2277. {
  2278. "type": "integer",
  2279. "description": "单据类型:0 - 发布中(默认), 1 - 已完成",
  2280. "name": "orderType",
  2281. "in": "query"
  2282. }
  2283. ],
  2284. "responses": {
  2285. "200": {
  2286. "description": "OK",
  2287. "schema": {
  2288. "$ref": "#/definitions/models.HsbySellMyDetail"
  2289. }
  2290. },
  2291. "500": {
  2292. "description": "Internal Server Error",
  2293. "schema": {
  2294. "$ref": "#/definitions/app.Response"
  2295. }
  2296. }
  2297. }
  2298. }
  2299. },
  2300. "/HSBY/QueryHsbyTopGoodses": {
  2301. "get": {
  2302. "security": [
  2303. {
  2304. "ApiKeyAuth": []
  2305. }
  2306. ],
  2307. "description": "说明:查询结果已按Hotindex(景点热度)从大到小排序",
  2308. "produces": [
  2309. "application/json"
  2310. ],
  2311. "tags": [
  2312. "定制【海商报业】"
  2313. ],
  2314. "summary": "查询热卖商品列表(二级市场挂牌点选)",
  2315. "parameters": [
  2316. {
  2317. "type": "integer",
  2318. "description": "页码",
  2319. "name": "page",
  2320. "in": "query"
  2321. },
  2322. {
  2323. "type": "integer",
  2324. "description": "每页条数",
  2325. "name": "pagesize",
  2326. "in": "query"
  2327. },
  2328. {
  2329. "type": "string",
  2330. "description": "市场ID列表,格式:1,2,3",
  2331. "name": "marketIDs",
  2332. "in": "query",
  2333. "required": true
  2334. },
  2335. {
  2336. "type": "integer",
  2337. "description": "目的地(省)ID",
  2338. "name": "descProvinceID",
  2339. "in": "query"
  2340. },
  2341. {
  2342. "type": "integer",
  2343. "description": "目的地(市)ID",
  2344. "name": "descCityID",
  2345. "in": "query"
  2346. }
  2347. ],
  2348. "responses": {
  2349. "200": {
  2350. "description": "OK",
  2351. "schema": {
  2352. "$ref": "#/definitions/models.HsbyTopGoods"
  2353. }
  2354. },
  2355. "500": {
  2356. "description": "Internal Server Error",
  2357. "schema": {
  2358. "$ref": "#/definitions/app.Response"
  2359. }
  2360. }
  2361. }
  2362. }
  2363. },
  2364. "/HSBY/QueryMyCollectionOrders": {
  2365. "get": {
  2366. "security": [
  2367. {
  2368. "ApiKeyAuth": []
  2369. }
  2370. ],
  2371. "produces": [
  2372. "application/json"
  2373. ],
  2374. "tags": [
  2375. "定制【海商报业】"
  2376. ],
  2377. "summary": "我的闲置中收款信息查询",
  2378. "parameters": [
  2379. {
  2380. "type": "integer",
  2381. "description": "页码",
  2382. "name": "page",
  2383. "in": "query"
  2384. },
  2385. {
  2386. "type": "integer",
  2387. "description": "每页条数",
  2388. "name": "pagesize",
  2389. "in": "query"
  2390. },
  2391. {
  2392. "type": "string",
  2393. "description": "资金账户,格式:1,2,3",
  2394. "name": "accountIDs",
  2395. "in": "query",
  2396. "required": true
  2397. }
  2398. ],
  2399. "responses": {
  2400. "200": {
  2401. "description": "OK",
  2402. "schema": {
  2403. "$ref": "#/definitions/models.HsbySellCollectionOrder"
  2404. }
  2405. },
  2406. "500": {
  2407. "description": "Internal Server Error",
  2408. "schema": {
  2409. "$ref": "#/definitions/app.Response"
  2410. }
  2411. }
  2412. }
  2413. }
  2414. },
  2415. "/HSBY/QueryMyCouponHolds": {
  2416. "get": {
  2417. "security": [
  2418. {
  2419. "ApiKeyAuth": []
  2420. }
  2421. ],
  2422. "produces": [
  2423. "application/json"
  2424. ],
  2425. "tags": [
  2426. "定制【海商报业】"
  2427. ],
  2428. "summary": "我的优惠卷持仓查询",
  2429. "parameters": [
  2430. {
  2431. "type": "string",
  2432. "description": "资金账户列表,格式:1,2,3",
  2433. "name": "accountIDs",
  2434. "in": "query",
  2435. "required": true
  2436. },
  2437. {
  2438. "type": "string",
  2439. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3",
  2440. "name": "holdStatus",
  2441. "in": "query"
  2442. }
  2443. ],
  2444. "responses": {
  2445. "200": {
  2446. "description": "OK",
  2447. "schema": {
  2448. "$ref": "#/definitions/models.MyCouponHold"
  2449. }
  2450. },
  2451. "500": {
  2452. "description": "Internal Server Error",
  2453. "schema": {
  2454. "$ref": "#/definitions/app.Response"
  2455. }
  2456. }
  2457. }
  2458. }
  2459. },
  2460. "/HSBY/QueryMyCoupons": {
  2461. "get": {
  2462. "security": [
  2463. {
  2464. "ApiKeyAuth": []
  2465. }
  2466. ],
  2467. "produces": [
  2468. "application/json"
  2469. ],
  2470. "tags": [
  2471. "定制【海商报业】"
  2472. ],
  2473. "summary": "我的优惠卷查询",
  2474. "parameters": [
  2475. {
  2476. "type": "string",
  2477. "description": "资金账户列表,格式:1,2,3",
  2478. "name": "accountIDs",
  2479. "in": "query",
  2480. "required": true
  2481. },
  2482. {
  2483. "type": "integer",
  2484. "description": "商品ID, 一般与sellUserID配套传入",
  2485. "name": "goodsID",
  2486. "in": "query"
  2487. },
  2488. {
  2489. "type": "integer",
  2490. "description": "卖方UserID",
  2491. "name": "sellUserID",
  2492. "in": "query"
  2493. }
  2494. ],
  2495. "responses": {
  2496. "200": {
  2497. "description": "OK",
  2498. "schema": {
  2499. "$ref": "#/definitions/models.MyCoupon"
  2500. }
  2501. },
  2502. "500": {
  2503. "description": "Internal Server Error",
  2504. "schema": {
  2505. "$ref": "#/definitions/app.Response"
  2506. }
  2507. }
  2508. }
  2509. }
  2510. },
  2511. "/HSBY/QueryMyPayOrders": {
  2512. "get": {
  2513. "security": [
  2514. {
  2515. "ApiKeyAuth": []
  2516. }
  2517. ],
  2518. "produces": [
  2519. "application/json"
  2520. ],
  2521. "tags": [
  2522. "定制【海商报业】"
  2523. ],
  2524. "summary": "获取我的订单中待付款信息",
  2525. "parameters": [
  2526. {
  2527. "type": "integer",
  2528. "description": "页码",
  2529. "name": "page",
  2530. "in": "query"
  2531. },
  2532. {
  2533. "type": "integer",
  2534. "description": "每页条数",
  2535. "name": "pagesize",
  2536. "in": "query"
  2537. },
  2538. {
  2539. "type": "string",
  2540. "description": "资金账户列表,格式:1,2,3",
  2541. "name": "accountIDs",
  2542. "in": "query",
  2543. "required": true
  2544. },
  2545. {
  2546. "type": "integer",
  2547. "description": "买方委托单号",
  2548. "name": "buyOrderID",
  2549. "in": "query"
  2550. },
  2551. {
  2552. "type": "integer",
  2553. "description": "卖方委托单号",
  2554. "name": "sellOrderID",
  2555. "in": "query"
  2556. }
  2557. ],
  2558. "responses": {
  2559. "200": {
  2560. "description": "OK",
  2561. "schema": {
  2562. "$ref": "#/definitions/models.HsbyBuyMyPayOrder"
  2563. }
  2564. },
  2565. "500": {
  2566. "description": "Internal Server Error",
  2567. "schema": {
  2568. "$ref": "#/definitions/app.Response"
  2569. }
  2570. }
  2571. }
  2572. }
  2573. },
  2574. "/HSBY/QueryMyUsedCoupon": {
  2575. "get": {
  2576. "security": [
  2577. {
  2578. "ApiKeyAuth": []
  2579. }
  2580. ],
  2581. "produces": [
  2582. "application/json"
  2583. ],
  2584. "tags": [
  2585. "定制【海商报业】"
  2586. ],
  2587. "summary": "已使用优惠卷查询",
  2588. "parameters": [
  2589. {
  2590. "type": "string",
  2591. "description": "资金账户列表,格式:1,2,3",
  2592. "name": "accountIDs",
  2593. "in": "query",
  2594. "required": true
  2595. }
  2596. ],
  2597. "responses": {
  2598. "200": {
  2599. "description": "OK",
  2600. "schema": {
  2601. "$ref": "#/definitions/models.MyUsedCoupon"
  2602. }
  2603. },
  2604. "500": {
  2605. "description": "Internal Server Error",
  2606. "schema": {
  2607. "$ref": "#/definitions/app.Response"
  2608. }
  2609. }
  2610. }
  2611. }
  2612. },
  2613. "/HSBY/QueryProvincesAndCities": {
  2614. "get": {
  2615. "security": [
  2616. {
  2617. "ApiKeyAuth": []
  2618. }
  2619. ],
  2620. "description": "查询结果只包括二级市场商品已关连的省市信息。",
  2621. "produces": [
  2622. "application/json"
  2623. ],
  2624. "tags": [
  2625. "定制【海商报业】"
  2626. ],
  2627. "summary": "查询省市信息(不包括区)",
  2628. "parameters": [
  2629. {
  2630. "type": "integer",
  2631. "description": "省ID",
  2632. "name": "provinceID",
  2633. "in": "query"
  2634. }
  2635. ],
  2636. "responses": {
  2637. "200": {
  2638. "description": "OK",
  2639. "schema": {
  2640. "$ref": "#/definitions/hsby.QueryProvincesAndCitiesRsp"
  2641. }
  2642. },
  2643. "500": {
  2644. "description": "Internal Server Error",
  2645. "schema": {
  2646. "$ref": "#/definitions/app.Response"
  2647. }
  2648. }
  2649. }
  2650. }
  2651. },
  2652. "/HSBY/SetHsbyMyPackagesStatus": {
  2653. "post": {
  2654. "security": [
  2655. {
  2656. "ApiKeyAuth": []
  2657. }
  2658. ],
  2659. "produces": [
  2660. "application/json"
  2661. ],
  2662. "tags": [
  2663. "定制【海商报业】"
  2664. ],
  2665. "summary": "设置我的包裹已收货状态",
  2666. "parameters": [
  2667. {
  2668. "type": "string",
  2669. "description": "提货单号",
  2670. "name": "takeOrderID",
  2671. "in": "query",
  2672. "required": true
  2673. },
  2674. {
  2675. "type": "integer",
  2676. "description": "资金账号",
  2677. "name": "accountID",
  2678. "in": "query",
  2679. "required": true
  2680. }
  2681. ],
  2682. "responses": {
  2683. "200": {
  2684. "description": "OK",
  2685. "schema": {
  2686. "$ref": "#/definitions/app.Response"
  2687. }
  2688. },
  2689. "500": {
  2690. "description": "Internal Server Error",
  2691. "schema": {
  2692. "$ref": "#/definitions/app.Response"
  2693. }
  2694. }
  2695. }
  2696. }
  2697. },
  2698. "/Market/QueryMarketRun": {
  2699. "get": {
  2700. "security": [
  2701. {
  2702. "ApiKeyAuth": []
  2703. }
  2704. ],
  2705. "produces": [
  2706. "application/json"
  2707. ],
  2708. "tags": [
  2709. "通用市场"
  2710. ],
  2711. "summary": "查询市场运行信息",
  2712. "parameters": [
  2713. {
  2714. "type": "integer",
  2715. "description": "市场ID,不传返回所有",
  2716. "name": "marketID",
  2717. "in": "query"
  2718. }
  2719. ],
  2720. "responses": {
  2721. "200": {
  2722. "description": "OK",
  2723. "schema": {
  2724. "$ref": "#/definitions/models.Marketrun"
  2725. }
  2726. },
  2727. "500": {
  2728. "description": "Internal Server Error",
  2729. "schema": {
  2730. "$ref": "#/definitions/app.Response"
  2731. }
  2732. }
  2733. }
  2734. }
  2735. },
  2736. "/Order/QueryHisTradeDetail": {
  2737. "get": {
  2738. "security": [
  2739. {
  2740. "ApiKeyAuth": []
  2741. }
  2742. ],
  2743. "produces": [
  2744. "application/json"
  2745. ],
  2746. "tags": [
  2747. "通用单据"
  2748. ],
  2749. "summary": "历史成交单查询(合约市场)",
  2750. "parameters": [
  2751. {
  2752. "type": "string",
  2753. "description": "资金账户 - 格式:1,2,3",
  2754. "name": "accountID",
  2755. "in": "query",
  2756. "required": true
  2757. },
  2758. {
  2759. "type": "integer",
  2760. "description": "成交单号",
  2761. "name": "tradeID",
  2762. "in": "query"
  2763. },
  2764. {
  2765. "type": "integer",
  2766. "description": "委托单号",
  2767. "name": "orderID",
  2768. "in": "query"
  2769. },
  2770. {
  2771. "type": "string",
  2772. "description": "交易模式 - 格式:1,2,3",
  2773. "name": "tradeMode",
  2774. "in": "query"
  2775. },
  2776. {
  2777. "type": "integer",
  2778. "description": "委托单据类型",
  2779. "name": "buildType",
  2780. "in": "query"
  2781. },
  2782. {
  2783. "type": "string",
  2784. "description": "成交类别 - 格式:1,2,3",
  2785. "name": "tradeType",
  2786. "in": "query"
  2787. },
  2788. {
  2789. "type": "string",
  2790. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2791. "name": "startDate",
  2792. "in": "query"
  2793. },
  2794. {
  2795. "type": "string",
  2796. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2797. "name": "endDate",
  2798. "in": "query"
  2799. }
  2800. ],
  2801. "responses": {
  2802. "200": {
  2803. "description": "OK",
  2804. "schema": {
  2805. "$ref": "#/definitions/order.QueryHisTradeDetailRsp"
  2806. }
  2807. },
  2808. "500": {
  2809. "description": "Internal Server Error",
  2810. "schema": {
  2811. "$ref": "#/definitions/app.Response"
  2812. }
  2813. }
  2814. }
  2815. }
  2816. },
  2817. "/Order/QueryHisTradeOrderDetail": {
  2818. "get": {
  2819. "security": [
  2820. {
  2821. "ApiKeyAuth": []
  2822. }
  2823. ],
  2824. "produces": [
  2825. "application/json"
  2826. ],
  2827. "tags": [
  2828. "通用单据"
  2829. ],
  2830. "summary": "历史委托单查询请求(合约市场)",
  2831. "parameters": [
  2832. {
  2833. "type": "string",
  2834. "description": "资金账户 - 格式:1,2,3",
  2835. "name": "accountID",
  2836. "in": "query",
  2837. "required": true
  2838. },
  2839. {
  2840. "type": "string",
  2841. "description": "交易模式 - 格式:1,2,3",
  2842. "name": "tradeMode",
  2843. "in": "query"
  2844. },
  2845. {
  2846. "type": "string",
  2847. "description": "委托状态 - 格式:1,2,3",
  2848. "name": "orderStatus",
  2849. "in": "query"
  2850. },
  2851. {
  2852. "type": "integer",
  2853. "description": "委托单号",
  2854. "name": "orderID",
  2855. "in": "query"
  2856. },
  2857. {
  2858. "type": "string",
  2859. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  2860. "name": "startDate",
  2861. "in": "query"
  2862. },
  2863. {
  2864. "type": "string",
  2865. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  2866. "name": "endDate",
  2867. "in": "query"
  2868. }
  2869. ],
  2870. "responses": {
  2871. "200": {
  2872. "description": "OK",
  2873. "schema": {
  2874. "$ref": "#/definitions/order.QueryHisTradeOrderDetailRsp"
  2875. }
  2876. },
  2877. "500": {
  2878. "description": "Internal Server Error",
  2879. "schema": {
  2880. "$ref": "#/definitions/app.Response"
  2881. }
  2882. }
  2883. }
  2884. }
  2885. },
  2886. "/Order/QueryTradeDetail": {
  2887. "get": {
  2888. "security": [
  2889. {
  2890. "ApiKeyAuth": []
  2891. }
  2892. ],
  2893. "produces": [
  2894. "application/json"
  2895. ],
  2896. "tags": [
  2897. "通用单据"
  2898. ],
  2899. "summary": "成交单查询(合约市场)",
  2900. "parameters": [
  2901. {
  2902. "type": "string",
  2903. "description": "资金账户 - 格式:1,2,3",
  2904. "name": "accountID",
  2905. "in": "query",
  2906. "required": true
  2907. },
  2908. {
  2909. "type": "integer",
  2910. "description": "成交单号",
  2911. "name": "tradeID",
  2912. "in": "query"
  2913. },
  2914. {
  2915. "type": "integer",
  2916. "description": "委托单号",
  2917. "name": "orderID",
  2918. "in": "query"
  2919. },
  2920. {
  2921. "type": "string",
  2922. "description": "交易模式 - 格式:1,2,3",
  2923. "name": "tradeMode",
  2924. "in": "query"
  2925. },
  2926. {
  2927. "type": "integer",
  2928. "description": "委托单据类型",
  2929. "name": "buildType",
  2930. "in": "query"
  2931. },
  2932. {
  2933. "type": "string",
  2934. "description": "成交类别 - 格式:1,2,3",
  2935. "name": "tradeType",
  2936. "in": "query"
  2937. }
  2938. ],
  2939. "responses": {
  2940. "200": {
  2941. "description": "OK",
  2942. "schema": {
  2943. "$ref": "#/definitions/order.QueryTradeDetailRsp"
  2944. }
  2945. },
  2946. "500": {
  2947. "description": "Internal Server Error",
  2948. "schema": {
  2949. "$ref": "#/definitions/app.Response"
  2950. }
  2951. }
  2952. }
  2953. }
  2954. },
  2955. "/Order/QueryTradeOrderDetail": {
  2956. "get": {
  2957. "security": [
  2958. {
  2959. "ApiKeyAuth": []
  2960. }
  2961. ],
  2962. "produces": [
  2963. "application/json"
  2964. ],
  2965. "tags": [
  2966. "通用单据"
  2967. ],
  2968. "summary": "委托单查询请求(合约市场)",
  2969. "parameters": [
  2970. {
  2971. "type": "string",
  2972. "description": "资金账户 - 格式:1,2,3",
  2973. "name": "accountID",
  2974. "in": "query",
  2975. "required": true
  2976. },
  2977. {
  2978. "type": "string",
  2979. "description": "交易模式 - 格式:1,2,3",
  2980. "name": "tradeMode",
  2981. "in": "query"
  2982. },
  2983. {
  2984. "type": "string",
  2985. "description": "委托状态 - 格式:1,2,3",
  2986. "name": "orderStatus",
  2987. "in": "query"
  2988. },
  2989. {
  2990. "type": "integer",
  2991. "description": "委托单号",
  2992. "name": "orderID",
  2993. "in": "query"
  2994. }
  2995. ],
  2996. "responses": {
  2997. "200": {
  2998. "description": "OK",
  2999. "schema": {
  3000. "$ref": "#/definitions/order.QueryTradeOrderDetailRsp"
  3001. }
  3002. },
  3003. "500": {
  3004. "description": "Internal Server Error",
  3005. "schema": {
  3006. "$ref": "#/definitions/app.Response"
  3007. }
  3008. }
  3009. }
  3010. }
  3011. },
  3012. "/Order/QueryTradePosition": {
  3013. "get": {
  3014. "security": [
  3015. {
  3016. "ApiKeyAuth": []
  3017. }
  3018. ],
  3019. "produces": [
  3020. "application/json"
  3021. ],
  3022. "tags": [
  3023. "通用单据"
  3024. ],
  3025. "summary": "持仓汇总查询(合约市场)",
  3026. "parameters": [
  3027. {
  3028. "type": "string",
  3029. "description": "资金账户 - 格式:1,2,3",
  3030. "name": "accountID",
  3031. "in": "query",
  3032. "required": true
  3033. },
  3034. {
  3035. "type": "string",
  3036. "description": "交易模式 - 格式:1,2,3",
  3037. "name": "tradeMode",
  3038. "in": "query"
  3039. }
  3040. ],
  3041. "responses": {
  3042. "200": {
  3043. "description": "OK",
  3044. "schema": {
  3045. "$ref": "#/definitions/order.QueryTradePositionRsp"
  3046. }
  3047. },
  3048. "500": {
  3049. "description": "Internal Server Error",
  3050. "schema": {
  3051. "$ref": "#/definitions/app.Response"
  3052. }
  3053. }
  3054. }
  3055. }
  3056. },
  3057. "/Quote/QueryHistoryDatas": {
  3058. "get": {
  3059. "security": [
  3060. {
  3061. "ApiKeyAuth": []
  3062. }
  3063. ],
  3064. "produces": [
  3065. "application/json"
  3066. ],
  3067. "tags": [
  3068. "行情服务"
  3069. ],
  3070. "summary": "查询行情历史数据",
  3071. "parameters": [
  3072. {
  3073. "type": "integer",
  3074. "description": "周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线 10: Tik",
  3075. "name": "cycleType",
  3076. "in": "query",
  3077. "required": true
  3078. },
  3079. {
  3080. "type": "string",
  3081. "description": "商品代码",
  3082. "name": "goodsCode",
  3083. "in": "query",
  3084. "required": true
  3085. },
  3086. {
  3087. "type": "string",
  3088. "description": "开始时间,格式:yyyy-MM-dd HH:mm:ss",
  3089. "name": "startTime",
  3090. "in": "query"
  3091. },
  3092. {
  3093. "type": "string",
  3094. "description": "结束时间,格式:yyyy-MM-dd HH:mm:ss",
  3095. "name": "endTime",
  3096. "in": "query"
  3097. },
  3098. {
  3099. "type": "integer",
  3100. "description": "条数",
  3101. "name": "count",
  3102. "in": "query"
  3103. },
  3104. {
  3105. "type": "boolean",
  3106. "description": "是否按时间顺序排序(默认为时间倒序排序)",
  3107. "name": "isAsc",
  3108. "in": "query"
  3109. }
  3110. ],
  3111. "responses": {
  3112. "200": {
  3113. "description": "OK",
  3114. "schema": {
  3115. "$ref": "#/definitions/quote.HistoryData"
  3116. }
  3117. },
  3118. "500": {
  3119. "description": "Internal Server Error",
  3120. "schema": {
  3121. "$ref": "#/definitions/app.Response"
  3122. }
  3123. }
  3124. }
  3125. }
  3126. },
  3127. "/Quote/QueryTSData": {
  3128. "get": {
  3129. "produces": [
  3130. "application/json"
  3131. ],
  3132. "tags": [
  3133. "行情服务"
  3134. ],
  3135. "summary": "分时图数据查询",
  3136. "parameters": [
  3137. {
  3138. "type": "string",
  3139. "description": "商品代码",
  3140. "name": "GoodsCode",
  3141. "in": "query",
  3142. "required": true
  3143. }
  3144. ],
  3145. "responses": {
  3146. "200": {
  3147. "description": "OK",
  3148. "schema": {
  3149. "$ref": "#/definitions/quote.QueryTSDataRsp"
  3150. }
  3151. },
  3152. "500": {
  3153. "description": "Internal Server Error",
  3154. "schema": {
  3155. "$ref": "#/definitions/app.Response"
  3156. }
  3157. }
  3158. }
  3159. }
  3160. },
  3161. "/SZDZ/QueryConvertConfig": {
  3162. "get": {
  3163. "security": [
  3164. {
  3165. "ApiKeyAuth": []
  3166. }
  3167. ],
  3168. "produces": [
  3169. "application/json"
  3170. ],
  3171. "tags": [
  3172. "定制【尚志大宗】"
  3173. ],
  3174. "summary": "查询交易系统转换设置",
  3175. "parameters": [
  3176. {
  3177. "type": "integer",
  3178. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  3179. "name": "convertType",
  3180. "in": "query"
  3181. },
  3182. {
  3183. "type": "string",
  3184. "description": "外部商品代码[JD\\PD]",
  3185. "name": "outerGoodsCode",
  3186. "in": "query"
  3187. },
  3188. {
  3189. "type": "string",
  3190. "description": "内部商品ID列表[交易],格式:1,2,3",
  3191. "name": "innerGoodsIDs",
  3192. "in": "query"
  3193. }
  3194. ],
  3195. "responses": {
  3196. "200": {
  3197. "description": "OK",
  3198. "schema": {
  3199. "$ref": "#/definitions/models.Szdz3convertconfig"
  3200. }
  3201. },
  3202. "500": {
  3203. "description": "Internal Server Error",
  3204. "schema": {
  3205. "$ref": "#/definitions/app.Response"
  3206. }
  3207. }
  3208. }
  3209. }
  3210. },
  3211. "/SZDZ/QueryConvertLog": {
  3212. "get": {
  3213. "security": [
  3214. {
  3215. "ApiKeyAuth": []
  3216. }
  3217. ],
  3218. "produces": [
  3219. "application/json"
  3220. ],
  3221. "tags": [
  3222. "定制【尚志大宗】"
  3223. ],
  3224. "summary": "交易系统转换流水查询",
  3225. "parameters": [
  3226. {
  3227. "type": "string",
  3228. "description": "资金账户 - 格式:1,2,3",
  3229. "name": "accountID",
  3230. "in": "query",
  3231. "required": true
  3232. },
  3233. {
  3234. "type": "string",
  3235. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3236. "name": "startDate",
  3237. "in": "query"
  3238. },
  3239. {
  3240. "type": "string",
  3241. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss",
  3242. "name": "endDate",
  3243. "in": "query"
  3244. }
  3245. ],
  3246. "responses": {
  3247. "200": {
  3248. "description": "OK",
  3249. "schema": {
  3250. "$ref": "#/definitions/szdz.QueryConvertLogRsp"
  3251. }
  3252. },
  3253. "500": {
  3254. "description": "Internal Server Error",
  3255. "schema": {
  3256. "$ref": "#/definitions/app.Response"
  3257. }
  3258. }
  3259. }
  3260. }
  3261. },
  3262. "/SZDZ/QueryGoodsPickup": {
  3263. "get": {
  3264. "security": [
  3265. {
  3266. "ApiKeyAuth": []
  3267. }
  3268. ],
  3269. "produces": [
  3270. "application/json"
  3271. ],
  3272. "tags": [
  3273. "定制【尚志大宗】"
  3274. ],
  3275. "summary": "商品提货单查询",
  3276. "parameters": [
  3277. {
  3278. "type": "string",
  3279. "description": "资金账户 - 格式:1,2,3",
  3280. "name": "accountID",
  3281. "in": "query",
  3282. "required": true
  3283. },
  3284. {
  3285. "type": "integer",
  3286. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  3287. "name": "takeOrderStatus",
  3288. "in": "query"
  3289. }
  3290. ],
  3291. "responses": {
  3292. "200": {
  3293. "description": "OK",
  3294. "schema": {
  3295. "$ref": "#/definitions/szdz.QueryGoodsPickupRsp"
  3296. }
  3297. },
  3298. "500": {
  3299. "description": "Internal Server Error",
  3300. "schema": {
  3301. "$ref": "#/definitions/app.Response"
  3302. }
  3303. }
  3304. }
  3305. }
  3306. },
  3307. "/SZDZ/QueryRecieptOrder": {
  3308. "get": {
  3309. "security": [
  3310. {
  3311. "ApiKeyAuth": []
  3312. }
  3313. ],
  3314. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3315. "produces": [
  3316. "application/json"
  3317. ],
  3318. "tags": [
  3319. "定制【尚志大宗】"
  3320. ],
  3321. "summary": "点选挂牌委托单据查询(摘牌大厅)",
  3322. "parameters": [
  3323. {
  3324. "type": "integer",
  3325. "description": "页码",
  3326. "name": "page",
  3327. "in": "query"
  3328. },
  3329. {
  3330. "type": "integer",
  3331. "description": "每页条数",
  3332. "name": "pagesize",
  3333. "in": "query"
  3334. },
  3335. {
  3336. "type": "integer",
  3337. "description": "商品ID",
  3338. "name": "goodsID",
  3339. "in": "query",
  3340. "required": true
  3341. },
  3342. {
  3343. "type": "string",
  3344. "description": "所属账户名称",
  3345. "name": "accountName",
  3346. "in": "query"
  3347. },
  3348. {
  3349. "type": "integer",
  3350. "description": "市场ID",
  3351. "name": "marketID",
  3352. "in": "query"
  3353. },
  3354. {
  3355. "type": "integer",
  3356. "description": "方向 - 0:买 1:卖",
  3357. "name": "buyorsell",
  3358. "in": "query",
  3359. "required": true
  3360. }
  3361. ],
  3362. "responses": {
  3363. "200": {
  3364. "description": "OK",
  3365. "schema": {
  3366. "$ref": "#/definitions/szdz.QueryRecieptOrderRsp"
  3367. }
  3368. },
  3369. "500": {
  3370. "description": "Internal Server Error",
  3371. "schema": {
  3372. "$ref": "#/definitions/app.Response"
  3373. }
  3374. }
  3375. }
  3376. }
  3377. },
  3378. "/SZDZ/QuerySZDZTradePosition": {
  3379. "get": {
  3380. "security": [
  3381. {
  3382. "ApiKeyAuth": []
  3383. }
  3384. ],
  3385. "produces": [
  3386. "application/json"
  3387. ],
  3388. "tags": [
  3389. "定制【尚志大宗】"
  3390. ],
  3391. "summary": "持仓汇总查询(尚志大宗)",
  3392. "parameters": [
  3393. {
  3394. "type": "integer",
  3395. "description": "资金账户",
  3396. "name": "accountID",
  3397. "in": "query",
  3398. "required": true
  3399. }
  3400. ],
  3401. "responses": {
  3402. "200": {
  3403. "description": "OK",
  3404. "schema": {
  3405. "$ref": "#/definitions/szdz.QuerySZDZTradePositionRsp"
  3406. }
  3407. },
  3408. "500": {
  3409. "description": "Internal Server Error",
  3410. "schema": {
  3411. "$ref": "#/definitions/app.Response"
  3412. }
  3413. }
  3414. }
  3415. }
  3416. },
  3417. "/SZDZ/SearchWhite": {
  3418. "get": {
  3419. "security": [
  3420. {
  3421. "ApiKeyAuth": []
  3422. }
  3423. ],
  3424. "produces": [
  3425. "application/json"
  3426. ],
  3427. "tags": [
  3428. "定制【尚志大宗】"
  3429. ],
  3430. "summary": "搜索白名单",
  3431. "parameters": [
  3432. {
  3433. "type": "integer",
  3434. "description": "用户ID",
  3435. "name": "userID",
  3436. "in": "query",
  3437. "required": true
  3438. }
  3439. ],
  3440. "responses": {
  3441. "200": {
  3442. "description": "OK",
  3443. "schema": {
  3444. "$ref": "#/definitions/models.Szdz3searchwhitelist"
  3445. }
  3446. },
  3447. "500": {
  3448. "description": "Internal Server Error",
  3449. "schema": {
  3450. "$ref": "#/definitions/app.Response"
  3451. }
  3452. }
  3453. }
  3454. }
  3455. },
  3456. "/Search/SearchGoodses": {
  3457. "get": {
  3458. "description": "说明:使用检索内容模糊匹配商品代码和商品名称",
  3459. "produces": [
  3460. "application/json"
  3461. ],
  3462. "tags": [
  3463. "检索服务"
  3464. ],
  3465. "summary": "检索商品信息",
  3466. "parameters": [
  3467. {
  3468. "type": "string",
  3469. "description": "检索内容",
  3470. "name": "content",
  3471. "in": "query",
  3472. "required": true
  3473. },
  3474. {
  3475. "type": "string",
  3476. "description": "交易模式,格式:1,2,3",
  3477. "name": "tradeModes",
  3478. "in": "query"
  3479. }
  3480. ],
  3481. "responses": {
  3482. "200": {
  3483. "description": "OK",
  3484. "schema": {
  3485. "$ref": "#/definitions/models.SearchGoods"
  3486. }
  3487. },
  3488. "500": {
  3489. "description": "Internal Server Error",
  3490. "schema": {
  3491. "$ref": "#/definitions/app.Response"
  3492. }
  3493. }
  3494. }
  3495. }
  3496. },
  3497. "/TaAccount/QueryAmountLog": {
  3498. "get": {
  3499. "security": [
  3500. {
  3501. "ApiKeyAuth": []
  3502. }
  3503. ],
  3504. "produces": [
  3505. "application/json"
  3506. ],
  3507. "tags": [
  3508. "资金账户"
  3509. ],
  3510. "summary": "资金流水查询(当前)",
  3511. "parameters": [
  3512. {
  3513. "type": "integer",
  3514. "description": "页码",
  3515. "name": "page",
  3516. "in": "query"
  3517. },
  3518. {
  3519. "type": "integer",
  3520. "description": "每页条数",
  3521. "name": "pagesize",
  3522. "in": "query"
  3523. },
  3524. {
  3525. "type": "string",
  3526. "description": "资金账户 - 格式:1,2,3",
  3527. "name": "accountID",
  3528. "in": "query",
  3529. "required": true
  3530. },
  3531. {
  3532. "type": "string",
  3533. "description": "资金操作类型 - 格式:1,2,3",
  3534. "name": "OperateType",
  3535. "in": "query"
  3536. }
  3537. ],
  3538. "responses": {
  3539. "200": {
  3540. "description": "OK",
  3541. "schema": {
  3542. "$ref": "#/definitions/taaccount.QueryAmountLogRsp"
  3543. }
  3544. },
  3545. "500": {
  3546. "description": "Internal Server Error",
  3547. "schema": {
  3548. "$ref": "#/definitions/app.Response"
  3549. }
  3550. }
  3551. }
  3552. }
  3553. },
  3554. "/TaAccount/QueryHisAmountLog": {
  3555. "get": {
  3556. "security": [
  3557. {
  3558. "ApiKeyAuth": []
  3559. }
  3560. ],
  3561. "produces": [
  3562. "application/json"
  3563. ],
  3564. "tags": [
  3565. "资金账户"
  3566. ],
  3567. "summary": "资金流水查询(历史)",
  3568. "parameters": [
  3569. {
  3570. "type": "integer",
  3571. "description": "页码",
  3572. "name": "page",
  3573. "in": "query"
  3574. },
  3575. {
  3576. "type": "integer",
  3577. "description": "每页条数",
  3578. "name": "pagesize",
  3579. "in": "query"
  3580. },
  3581. {
  3582. "type": "string",
  3583. "description": "资金账户 - 格式:1,2,3",
  3584. "name": "accountID",
  3585. "in": "query",
  3586. "required": true
  3587. },
  3588. {
  3589. "type": "string",
  3590. "description": "资金操作类型 - 格式:1,2,3",
  3591. "name": "OperateType",
  3592. "in": "query"
  3593. },
  3594. {
  3595. "type": "string",
  3596. "description": "开始时间 - 闭区间,格式:yyyy-MM-dd",
  3597. "name": "startDate",
  3598. "in": "query"
  3599. },
  3600. {
  3601. "type": "string",
  3602. "description": "结束时间 - 闭区间,格式:yyyy-MM-dd",
  3603. "name": "endDate",
  3604. "in": "query"
  3605. }
  3606. ],
  3607. "responses": {
  3608. "200": {
  3609. "description": "OK",
  3610. "schema": {
  3611. "$ref": "#/definitions/taaccount.QueryHisAmountLogRsp"
  3612. }
  3613. },
  3614. "500": {
  3615. "description": "Internal Server Error",
  3616. "schema": {
  3617. "$ref": "#/definitions/app.Response"
  3618. }
  3619. }
  3620. }
  3621. }
  3622. },
  3623. "/Trade/QueryRecieptOrder": {
  3624. "get": {
  3625. "security": [
  3626. {
  3627. "ApiKeyAuth": []
  3628. }
  3629. ],
  3630. "description": "说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算",
  3631. "produces": [
  3632. "application/json"
  3633. ],
  3634. "tags": [
  3635. "通用交易"
  3636. ],
  3637. "summary": "点选挂牌委托单据查询(保证金摘牌大厅)",
  3638. "parameters": [
  3639. {
  3640. "type": "integer",
  3641. "description": "页码",
  3642. "name": "page",
  3643. "in": "query"
  3644. },
  3645. {
  3646. "type": "integer",
  3647. "description": "每页条数",
  3648. "name": "pagesize",
  3649. "in": "query"
  3650. },
  3651. {
  3652. "type": "integer",
  3653. "description": "商品ID",
  3654. "name": "goodsID",
  3655. "in": "query",
  3656. "required": true
  3657. },
  3658. {
  3659. "type": "string",
  3660. "description": "所属账户名称",
  3661. "name": "accountName",
  3662. "in": "query"
  3663. },
  3664. {
  3665. "type": "integer",
  3666. "description": "市场ID",
  3667. "name": "marketID",
  3668. "in": "query"
  3669. },
  3670. {
  3671. "type": "integer",
  3672. "description": "方向 - 0:买 1:卖",
  3673. "name": "buyorsell",
  3674. "in": "query",
  3675. "required": true
  3676. }
  3677. ],
  3678. "responses": {
  3679. "200": {
  3680. "description": "OK",
  3681. "schema": {
  3682. "$ref": "#/definitions/trade.QueryRecieptOrderRsp"
  3683. }
  3684. },
  3685. "500": {
  3686. "description": "Internal Server Error",
  3687. "schema": {
  3688. "$ref": "#/definitions/app.Response"
  3689. }
  3690. }
  3691. }
  3692. }
  3693. },
  3694. "/User/AddMessageBoard": {
  3695. "post": {
  3696. "security": [
  3697. {
  3698. "ApiKeyAuth": []
  3699. }
  3700. ],
  3701. "produces": [
  3702. "application/json"
  3703. ],
  3704. "tags": [
  3705. "用户信息"
  3706. ],
  3707. "summary": "添加用户留言板信息",
  3708. "parameters": [
  3709. {
  3710. "type": "integer",
  3711. "description": "用户ID",
  3712. "name": "userID",
  3713. "in": "query",
  3714. "required": true
  3715. },
  3716. {
  3717. "type": "string",
  3718. "description": "留言信息",
  3719. "name": "message",
  3720. "in": "query",
  3721. "required": true
  3722. }
  3723. ],
  3724. "responses": {
  3725. "200": {
  3726. "description": "OK",
  3727. "schema": {
  3728. "$ref": "#/definitions/app.Response"
  3729. }
  3730. },
  3731. "500": {
  3732. "description": "Internal Server Error",
  3733. "schema": {
  3734. "$ref": "#/definitions/app.Response"
  3735. }
  3736. }
  3737. }
  3738. }
  3739. },
  3740. "/User/AddUserFavoriteGoods": {
  3741. "post": {
  3742. "security": [
  3743. {
  3744. "ApiKeyAuth": []
  3745. }
  3746. ],
  3747. "produces": [
  3748. "application/json"
  3749. ],
  3750. "tags": [
  3751. "用户信息"
  3752. ],
  3753. "summary": "添加用户商品收藏信息",
  3754. "parameters": [
  3755. {
  3756. "type": "integer",
  3757. "description": "用户ID",
  3758. "name": "userID",
  3759. "in": "query",
  3760. "required": true
  3761. },
  3762. {
  3763. "type": "integer",
  3764. "description": "商品ID",
  3765. "name": "goodsID",
  3766. "in": "query",
  3767. "required": true
  3768. }
  3769. ],
  3770. "responses": {
  3771. "200": {
  3772. "description": "OK",
  3773. "schema": {
  3774. "$ref": "#/definitions/app.Response"
  3775. }
  3776. },
  3777. "500": {
  3778. "description": "Internal Server Error",
  3779. "schema": {
  3780. "$ref": "#/definitions/app.Response"
  3781. }
  3782. }
  3783. }
  3784. }
  3785. },
  3786. "/User/GetLoginID": {
  3787. "get": {
  3788. "description": "UserName 可传入“登录账号”、“登录代码”和“手机号码”",
  3789. "produces": [
  3790. "application/json"
  3791. ],
  3792. "tags": [
  3793. "用户信息"
  3794. ],
  3795. "summary": "获取登录ID",
  3796. "parameters": [
  3797. {
  3798. "type": "string",
  3799. "description": "登录代码",
  3800. "name": "username",
  3801. "in": "query",
  3802. "required": true
  3803. }
  3804. ],
  3805. "responses": {
  3806. "200": {
  3807. "description": "OK",
  3808. "schema": {
  3809. "$ref": "#/definitions/app.Response"
  3810. }
  3811. },
  3812. "500": {
  3813. "description": "Internal Server Error",
  3814. "schema": {
  3815. "$ref": "#/definitions/app.Response"
  3816. }
  3817. }
  3818. }
  3819. }
  3820. },
  3821. "/User/GetUserAccount": {
  3822. "get": {
  3823. "security": [
  3824. {
  3825. "ApiKeyAuth": []
  3826. }
  3827. ],
  3828. "produces": [
  3829. "application/json"
  3830. ],
  3831. "tags": [
  3832. "用户信息"
  3833. ],
  3834. "summary": "获取用户账号信息",
  3835. "parameters": [
  3836. {
  3837. "type": "integer",
  3838. "description": "用户ID",
  3839. "name": "userID",
  3840. "in": "query",
  3841. "required": true
  3842. }
  3843. ],
  3844. "responses": {
  3845. "200": {
  3846. "description": "OK",
  3847. "schema": {
  3848. "$ref": "#/definitions/models.Useraccount"
  3849. }
  3850. },
  3851. "500": {
  3852. "description": "Internal Server Error",
  3853. "schema": {
  3854. "$ref": "#/definitions/app.Response"
  3855. }
  3856. }
  3857. }
  3858. }
  3859. },
  3860. "/User/GetUserAuthStatus": {
  3861. "get": {
  3862. "security": [
  3863. {
  3864. "ApiKeyAuth": []
  3865. }
  3866. ],
  3867. "produces": [
  3868. "application/json"
  3869. ],
  3870. "tags": [
  3871. "用户信息"
  3872. ],
  3873. "summary": "获取用户实名认证状态",
  3874. "parameters": [
  3875. {
  3876. "type": "integer",
  3877. "description": "用户ID",
  3878. "name": "userID",
  3879. "in": "query",
  3880. "required": true
  3881. }
  3882. ],
  3883. "responses": {
  3884. "200": {
  3885. "description": "OK",
  3886. "schema": {
  3887. "$ref": "#/definitions/app.Response"
  3888. }
  3889. },
  3890. "500": {
  3891. "description": "Internal Server Error",
  3892. "schema": {
  3893. "$ref": "#/definitions/app.Response"
  3894. }
  3895. }
  3896. }
  3897. }
  3898. },
  3899. "/User/QueryMessageBoard": {
  3900. "get": {
  3901. "security": [
  3902. {
  3903. "ApiKeyAuth": []
  3904. }
  3905. ],
  3906. "produces": [
  3907. "application/json"
  3908. ],
  3909. "tags": [
  3910. "用户信息"
  3911. ],
  3912. "summary": "获取用户留言板信息",
  3913. "parameters": [
  3914. {
  3915. "type": "integer",
  3916. "description": "用户ID",
  3917. "name": "userID",
  3918. "in": "query",
  3919. "required": true
  3920. }
  3921. ],
  3922. "responses": {
  3923. "200": {
  3924. "description": "OK",
  3925. "schema": {
  3926. "$ref": "#/definitions/models.Messageboard"
  3927. }
  3928. },
  3929. "500": {
  3930. "description": "Internal Server Error",
  3931. "schema": {
  3932. "$ref": "#/definitions/app.Response"
  3933. }
  3934. }
  3935. }
  3936. }
  3937. },
  3938. "/User/QueryUserFavoriteGoodses": {
  3939. "get": {
  3940. "security": [
  3941. {
  3942. "ApiKeyAuth": []
  3943. }
  3944. ],
  3945. "produces": [
  3946. "application/json"
  3947. ],
  3948. "tags": [
  3949. "用户信息"
  3950. ],
  3951. "summary": "获取用户商品收藏信息",
  3952. "parameters": [
  3953. {
  3954. "type": "integer",
  3955. "description": "用户ID",
  3956. "name": "userID",
  3957. "in": "query",
  3958. "required": true
  3959. }
  3960. ],
  3961. "responses": {
  3962. "200": {
  3963. "description": "OK",
  3964. "schema": {
  3965. "$ref": "#/definitions/models.Userfavoritegoods"
  3966. }
  3967. },
  3968. "500": {
  3969. "description": "Internal Server Error",
  3970. "schema": {
  3971. "$ref": "#/definitions/app.Response"
  3972. }
  3973. }
  3974. }
  3975. }
  3976. },
  3977. "/User/QueryUserInfo": {
  3978. "get": {
  3979. "security": [
  3980. {
  3981. "ApiKeyAuth": []
  3982. }
  3983. ],
  3984. "produces": [
  3985. "application/json"
  3986. ],
  3987. "tags": [
  3988. "用户信息"
  3989. ],
  3990. "summary": "获取用户信息",
  3991. "parameters": [
  3992. {
  3993. "type": "integer",
  3994. "description": "用户ID",
  3995. "name": "userID",
  3996. "in": "query",
  3997. "required": true
  3998. }
  3999. ],
  4000. "responses": {
  4001. "200": {
  4002. "description": "OK",
  4003. "schema": {
  4004. "$ref": "#/definitions/models.Userinfo"
  4005. }
  4006. },
  4007. "500": {
  4008. "description": "Internal Server Error",
  4009. "schema": {
  4010. "$ref": "#/definitions/app.Response"
  4011. }
  4012. }
  4013. }
  4014. }
  4015. },
  4016. "/User/QueryUserReferNum": {
  4017. "get": {
  4018. "produces": [
  4019. "application/json"
  4020. ],
  4021. "tags": [
  4022. "用户信息"
  4023. ],
  4024. "summary": "获取用户邀请码",
  4025. "parameters": [
  4026. {
  4027. "type": "integer",
  4028. "description": "用户ID",
  4029. "name": "userID",
  4030. "in": "query",
  4031. "required": true
  4032. }
  4033. ],
  4034. "responses": {
  4035. "200": {
  4036. "description": "OK",
  4037. "schema": {
  4038. "$ref": "#/definitions/app.Response"
  4039. }
  4040. },
  4041. "500": {
  4042. "description": "Internal Server Error",
  4043. "schema": {
  4044. "$ref": "#/definitions/app.Response"
  4045. }
  4046. }
  4047. }
  4048. }
  4049. },
  4050. "/User/RemoveUserFavoriteGoods": {
  4051. "post": {
  4052. "security": [
  4053. {
  4054. "ApiKeyAuth": []
  4055. }
  4056. ],
  4057. "produces": [
  4058. "application/json"
  4059. ],
  4060. "tags": [
  4061. "用户信息"
  4062. ],
  4063. "summary": "移除用户商品收藏信息",
  4064. "parameters": [
  4065. {
  4066. "type": "integer",
  4067. "description": "用户ID",
  4068. "name": "userID",
  4069. "in": "query",
  4070. "required": true
  4071. },
  4072. {
  4073. "type": "integer",
  4074. "description": "商品ID",
  4075. "name": "goodsID",
  4076. "in": "query",
  4077. "required": true
  4078. }
  4079. ],
  4080. "responses": {
  4081. "200": {
  4082. "description": "OK",
  4083. "schema": {
  4084. "$ref": "#/definitions/app.Response"
  4085. }
  4086. },
  4087. "500": {
  4088. "description": "Internal Server Error",
  4089. "schema": {
  4090. "$ref": "#/definitions/app.Response"
  4091. }
  4092. }
  4093. }
  4094. }
  4095. },
  4096. "/WR/GetWRCategoryInfo": {
  4097. "get": {
  4098. "produces": [
  4099. "application/json"
  4100. ],
  4101. "tags": [
  4102. "仓单服务"
  4103. ],
  4104. "summary": "获取现货分类信息",
  4105. "responses": {
  4106. "200": {
  4107. "description": "OK",
  4108. "schema": {
  4109. "$ref": "#/definitions/models.WRCategoryTree"
  4110. }
  4111. },
  4112. "500": {
  4113. "description": "Internal Server Error",
  4114. "schema": {
  4115. "$ref": "#/definitions/app.Response"
  4116. }
  4117. }
  4118. }
  4119. }
  4120. },
  4121. "/WRTrade/GetAllDeliveryGoods": {
  4122. "get": {
  4123. "security": [
  4124. {
  4125. "ApiKeyAuth": []
  4126. },
  4127. {
  4128. "ApiKeyAuth": []
  4129. }
  4130. ],
  4131. "produces": [
  4132. "application/json",
  4133. "application/json"
  4134. ],
  4135. "tags": [
  4136. "仓单贸易",
  4137. "仓单贸易"
  4138. ],
  4139. "summary": "获取带仓单分类的种类信息",
  4140. "responses": {
  4141. "200": {
  4142. "description": "OK",
  4143. "schema": {
  4144. "$ref": "#/definitions/app.Response"
  4145. }
  4146. },
  4147. "500": {
  4148. "description": "Internal Server Error",
  4149. "schema": {
  4150. "$ref": "#/definitions/app.Response"
  4151. }
  4152. }
  4153. }
  4154. }
  4155. }
  4156. },
  4157. "definitions": {
  4158. "app.Response": {
  4159. "type": "object",
  4160. "properties": {
  4161. "code": {
  4162. "type": "integer"
  4163. },
  4164. "data": {
  4165. "type": "object"
  4166. },
  4167. "msg": {
  4168. "type": "string"
  4169. },
  4170. "page": {
  4171. "description": "页码",
  4172. "type": "integer"
  4173. },
  4174. "pagesize": {
  4175. "description": "每页条数",
  4176. "type": "integer"
  4177. },
  4178. "total": {
  4179. "description": "总条数",
  4180. "type": "integer"
  4181. }
  4182. }
  4183. },
  4184. "common.QueryNoticeRsp": {
  4185. "type": "object",
  4186. "required": [
  4187. "autoid"
  4188. ],
  4189. "properties": {
  4190. "auditoruserid": {
  4191. "description": "审核人",
  4192. "type": "integer"
  4193. },
  4194. "auditremark": {
  4195. "description": "审核备注",
  4196. "type": "string"
  4197. },
  4198. "audittime": {
  4199. "description": "审核日期",
  4200. "type": "string"
  4201. },
  4202. "autoid": {
  4203. "description": "自增ID",
  4204. "type": "integer"
  4205. },
  4206. "content": {
  4207. "description": "内容",
  4208. "type": "string"
  4209. },
  4210. "createtime": {
  4211. "description": "创建时间",
  4212. "type": "string"
  4213. },
  4214. "creatorid": {
  4215. "description": "建仓人",
  4216. "type": "integer"
  4217. },
  4218. "endtime": {
  4219. "description": "结束时间",
  4220. "type": "string"
  4221. },
  4222. "istop": {
  4223. "description": "是否置顶 - 0:不置顶 1:置顶",
  4224. "type": "integer"
  4225. },
  4226. "msgiconurl": {
  4227. "description": "消息图标Url",
  4228. "type": "string"
  4229. },
  4230. "msgtype": {
  4231. "description": "消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知",
  4232. "type": "integer"
  4233. },
  4234. "publisher": {
  4235. "description": "消息发布者",
  4236. "type": "string"
  4237. },
  4238. "readed": {
  4239. "description": "是否已读",
  4240. "type": "boolean"
  4241. },
  4242. "scheduletime": {
  4243. "description": "计划发送时间",
  4244. "type": "string"
  4245. },
  4246. "sendtype": {
  4247. "description": "推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)",
  4248. "type": "integer"
  4249. },
  4250. "sentstatus": {
  4251. "description": "推送状态 - 0:未推送 1:已推送 2:审核拒绝",
  4252. "type": "integer"
  4253. },
  4254. "title": {
  4255. "description": "标题",
  4256. "type": "string"
  4257. },
  4258. "userid": {
  4259. "description": "会员/投资者ID推送方式 为 个人时,填写投资者ID",
  4260. "type": "integer"
  4261. }
  4262. }
  4263. },
  4264. "common.QueryProvincesAndCitiesRsp": {
  4265. "type": "object",
  4266. "properties": {
  4267. "cities": {
  4268. "description": "市",
  4269. "type": "array",
  4270. "items": {
  4271. "$ref": "#/definitions/models.Division"
  4272. }
  4273. },
  4274. "province": {
  4275. "description": "省",
  4276. "$ref": "#/definitions/models.Division"
  4277. }
  4278. }
  4279. },
  4280. "common.QueryTableDefineRsp": {
  4281. "type": "object",
  4282. "required": [
  4283. "tablekey"
  4284. ],
  4285. "properties": {
  4286. "columns": {
  4287. "description": "列头信息数组",
  4288. "type": "array",
  4289. "items": {
  4290. "$ref": "#/definitions/models.Tablecolumnconfig"
  4291. }
  4292. },
  4293. "remark": {
  4294. "description": "Remark",
  4295. "type": "string"
  4296. },
  4297. "tabelmenu": {
  4298. "description": "列表菜单",
  4299. "type": "string"
  4300. },
  4301. "tablekey": {
  4302. "description": "列表Key",
  4303. "type": "string"
  4304. },
  4305. "tablename": {
  4306. "description": "列表名称",
  4307. "type": "string"
  4308. },
  4309. "tabletype": {
  4310. "description": "列表类型 - 1:管理端 2:终端",
  4311. "type": "integer"
  4312. }
  4313. }
  4314. },
  4315. "common.QueryTraderMenuRsp": {
  4316. "type": "object",
  4317. "properties": {
  4318. "OperationMenu": {
  4319. "description": "功能菜单",
  4320. "type": "array",
  4321. "items": {
  4322. "$ref": "#/definitions/models.OperationPrimaryMenu"
  4323. }
  4324. },
  4325. "QuoteMenu": {
  4326. "description": "报价牌分类菜单",
  4327. "type": "array",
  4328. "items": {
  4329. "$ref": "#/definitions/models.QuotePrimaryMenu"
  4330. }
  4331. }
  4332. }
  4333. },
  4334. "cptrade.Cptradepositioncancel": {
  4335. "type": "object",
  4336. "required": [
  4337. "cancelid"
  4338. ],
  4339. "properties": {
  4340. "accountid": {
  4341. "description": "申请人账户ID",
  4342. "type": "integer"
  4343. },
  4344. "applystatus": {
  4345. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4346. "type": "integer"
  4347. },
  4348. "applytime": {
  4349. "description": "申请时间",
  4350. "type": "string"
  4351. },
  4352. "cancelid": {
  4353. "description": "注销ID(SEQ_CPTRADE_POSITIONCANCEL)",
  4354. "type": "integer"
  4355. },
  4356. "cancelqty": {
  4357. "description": "注销数量",
  4358. "type": "integer"
  4359. },
  4360. "createtime": {
  4361. "description": "创建时间",
  4362. "type": "string"
  4363. },
  4364. "creatorid": {
  4365. "description": "创建人ID",
  4366. "type": "integer"
  4367. },
  4368. "creatorname": {
  4369. "description": "创建人",
  4370. "type": "string"
  4371. },
  4372. "goodscode": {
  4373. "description": "订单商品代码",
  4374. "type": "string"
  4375. },
  4376. "goodsid": {
  4377. "description": "商品ID",
  4378. "type": "integer"
  4379. },
  4380. "goodsname": {
  4381. "description": "订单商品名称",
  4382. "type": "string"
  4383. },
  4384. "goodunit": {
  4385. "description": "报价单位",
  4386. "type": "string"
  4387. },
  4388. "handlestatus": {
  4389. "description": "处理状态",
  4390. "type": "integer"
  4391. },
  4392. "marketid": {
  4393. "description": "市场ID",
  4394. "type": "integer"
  4395. },
  4396. "marketname": {
  4397. "description": "市场名称",
  4398. "type": "string"
  4399. },
  4400. "tradedate": {
  4401. "description": "交易日(yyyyMMdd)",
  4402. "type": "string"
  4403. },
  4404. "userid": {
  4405. "description": "申请人ID",
  4406. "type": "integer"
  4407. }
  4408. }
  4409. },
  4410. "cptrade.Cptradepresaleapply": {
  4411. "type": "object",
  4412. "required": [
  4413. "applyid"
  4414. ],
  4415. "properties": {
  4416. "accountid": {
  4417. "description": "申请人账户ID",
  4418. "type": "integer"
  4419. },
  4420. "applyid": {
  4421. "description": "申请ID(181+Unix秒时间戳(10位)+xxxxxx)",
  4422. "type": "integer"
  4423. },
  4424. "applyremark": {
  4425. "description": "申请备注",
  4426. "type": "string"
  4427. },
  4428. "applystatus": {
  4429. "description": "申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销",
  4430. "type": "integer"
  4431. },
  4432. "applytime": {
  4433. "description": "申请时间",
  4434. "type": "string"
  4435. },
  4436. "attachmenturl": {
  4437. "description": "附件地址",
  4438. "type": "string"
  4439. },
  4440. "endtime": {
  4441. "description": "预售结束时间",
  4442. "type": "string"
  4443. },
  4444. "goodscode": {
  4445. "description": "商品代码",
  4446. "type": "string"
  4447. },
  4448. "goodsid": {
  4449. "description": "商品ID",
  4450. "type": "integer"
  4451. },
  4452. "goodsname": {
  4453. "description": "商品名称",
  4454. "type": "string"
  4455. },
  4456. "goodunit": {
  4457. "description": "报价单位",
  4458. "type": "string"
  4459. },
  4460. "handlestatus": {
  4461. "description": "处理状态",
  4462. "type": "integer"
  4463. },
  4464. "marketid": {
  4465. "description": "预售市场ID",
  4466. "type": "integer"
  4467. },
  4468. "marketname": {
  4469. "description": "预售市场名称",
  4470. "type": "string"
  4471. },
  4472. "presaleqty": {
  4473. "description": "预售数量",
  4474. "type": "integer"
  4475. },
  4476. "relatedgoodscode": {
  4477. "description": "关联交易合约代码",
  4478. "type": "string"
  4479. },
  4480. "relatedgoodsid": {
  4481. "description": "关联交易合约ID",
  4482. "type": "integer"
  4483. },
  4484. "relatedgoodsname": {
  4485. "description": "关联交易合约名称",
  4486. "type": "string"
  4487. },
  4488. "starttime": {
  4489. "description": "预售开始时间",
  4490. "type": "string"
  4491. },
  4492. "tradedate": {
  4493. "description": "交易日(yyyyMMdd)",
  4494. "type": "string"
  4495. },
  4496. "trademode": {
  4497. "description": "交易模式 - 16:挂牌点选 21:大宗竞拍",
  4498. "type": "integer"
  4499. },
  4500. "userid": {
  4501. "description": "申请人ID",
  4502. "type": "integer"
  4503. }
  4504. }
  4505. },
  4506. "cptrade.Cptradeusergoodsdata": {
  4507. "type": "object",
  4508. "required": [
  4509. "accountid",
  4510. "goodsid"
  4511. ],
  4512. "properties": {
  4513. "EnabledQty": {
  4514. "description": "可用量",
  4515. "type": "integer"
  4516. },
  4517. "GoodsCode": {
  4518. "description": "订单商品代码",
  4519. "type": "string"
  4520. },
  4521. "GoodsName": {
  4522. "description": "订单商品名称",
  4523. "type": "string"
  4524. },
  4525. "WRStandardCode": {
  4526. "description": "仓单标准代码",
  4527. "type": "string"
  4528. },
  4529. "WRStandardName": {
  4530. "description": "仓单标准名称",
  4531. "type": "string"
  4532. },
  4533. "accountid": {
  4534. "description": "账户ID",
  4535. "type": "integer"
  4536. },
  4537. "cancelqty": {
  4538. "description": "注销量",
  4539. "type": "integer"
  4540. },
  4541. "curpresaleqty": {
  4542. "description": "当前预售量",
  4543. "type": "integer"
  4544. },
  4545. "deliveryqty": {
  4546. "description": "交割量",
  4547. "type": "integer"
  4548. },
  4549. "freezeamount": {
  4550. "description": "冻结金额",
  4551. "type": "number"
  4552. },
  4553. "goodsid": {
  4554. "description": "商品ID",
  4555. "type": "integer"
  4556. },
  4557. "goodunit": {
  4558. "description": "报价单位",
  4559. "type": "string"
  4560. },
  4561. "hasspotfreeze": {
  4562. "description": "是否有现货冻结 - 0:否 1:有",
  4563. "type": "integer"
  4564. },
  4565. "inqty": {
  4566. "description": "转入量(总数量)",
  4567. "type": "integer"
  4568. },
  4569. "marketid": {
  4570. "description": "市场ID",
  4571. "type": "integer"
  4572. },
  4573. "presaledamount": {
  4574. "description": "已预售总金额",
  4575. "type": "integer"
  4576. },
  4577. "presaledqty": {
  4578. "description": "已预售量",
  4579. "type": "integer"
  4580. },
  4581. "userid": {
  4582. "description": "用户ID",
  4583. "type": "integer"
  4584. },
  4585. "wrstandardid": {
  4586. "description": "仓单标准ID",
  4587. "type": "integer"
  4588. }
  4589. }
  4590. },
  4591. "cptrade.QueryCPTradeMyBidRsp": {
  4592. "type": "object",
  4593. "required": [
  4594. "accountid",
  4595. "goodsid",
  4596. "marketid",
  4597. "orderid",
  4598. "orderqty",
  4599. "ordertime",
  4600. "tradeprice",
  4601. "tradeqty"
  4602. ],
  4603. "properties": {
  4604. "accountid": {
  4605. "description": "账户ID[报价币种]",
  4606. "type": "integer"
  4607. },
  4608. "goodsid": {
  4609. "description": "商品ID",
  4610. "type": "integer"
  4611. },
  4612. "goodunit": {
  4613. "description": "报价单位",
  4614. "type": "string"
  4615. },
  4616. "marketid": {
  4617. "description": "市场ID",
  4618. "type": "integer"
  4619. },
  4620. "orderid": {
  4621. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  4622. "type": "integer"
  4623. },
  4624. "orderprice": {
  4625. "description": "委托价格",
  4626. "type": "number"
  4627. },
  4628. "orderqty": {
  4629. "description": "委托数量",
  4630. "type": "integer"
  4631. },
  4632. "ordertime": {
  4633. "description": "委托时间",
  4634. "type": "string"
  4635. },
  4636. "ordertotalprice": {
  4637. "description": "货款金额(委托总价格=委托价格*委托数量*合约单位)",
  4638. "type": "number"
  4639. },
  4640. "ordertotalweight": {
  4641. "description": "竞拍总重量(委托总重量=委托数量*合约单位)",
  4642. "type": "integer"
  4643. },
  4644. "totaltotalprice": {
  4645. "description": "成交货款金额(成交总价格=成交价格*成交数量*合约单位)",
  4646. "type": "number"
  4647. },
  4648. "tradeprice": {
  4649. "description": "成交价格",
  4650. "type": "number"
  4651. },
  4652. "tradeqty": {
  4653. "description": "成交数量",
  4654. "type": "integer"
  4655. }
  4656. }
  4657. },
  4658. "cptrade.QueryCPTradeOrderDetailRsq": {
  4659. "type": "object",
  4660. "required": [
  4661. "accountid",
  4662. "buildtype",
  4663. "buyorsell",
  4664. "goodsid",
  4665. "marketid",
  4666. "memberuserid",
  4667. "operatetype",
  4668. "orderqty",
  4669. "ordertime",
  4670. "pricemode",
  4671. "strorderid",
  4672. "tradedate",
  4673. "validtype"
  4674. ],
  4675. "properties": {
  4676. "accountid": {
  4677. "description": "账户ID[报价币种]",
  4678. "type": "integer"
  4679. },
  4680. "buildtype": {
  4681. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  4682. "type": "integer"
  4683. },
  4684. "buyorsell": {
  4685. "description": "买卖 - 0:买 1:卖",
  4686. "type": "integer"
  4687. },
  4688. "cancelorderid": {
  4689. "description": "撤单单号(撤单时填写)",
  4690. "type": "integer"
  4691. },
  4692. "cancelqty": {
  4693. "description": "撤单数量",
  4694. "type": "integer"
  4695. },
  4696. "clientordertime": {
  4697. "description": "客户端委托时间",
  4698. "type": "string"
  4699. },
  4700. "clientticket": {
  4701. "description": "客户端流水号",
  4702. "type": "string"
  4703. },
  4704. "clienttype": {
  4705. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  4706. "type": "integer"
  4707. },
  4708. "closeexchagechargevalue": {
  4709. "description": "平仓交易所手续费设置值",
  4710. "type": "number"
  4711. },
  4712. "closefeealgorithm": {
  4713. "description": "平仓手续费收取方式 1:比率 2:固定",
  4714. "type": "integer"
  4715. },
  4716. "closefreezecharge": {
  4717. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  4718. "type": "number"
  4719. },
  4720. "closememberchargevalue": {
  4721. "description": "平仓会员手续费设置值",
  4722. "type": "number"
  4723. },
  4724. "closeqty": {
  4725. "description": "平仓数量(先建后平操作 需要记录)",
  4726. "type": "integer"
  4727. },
  4728. "closetradeqty": {
  4729. "description": "平仓成交数量(先建后平操作,需要记录)",
  4730. "type": "integer"
  4731. },
  4732. "closeunfreezecharge": {
  4733. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  4734. "type": "number"
  4735. },
  4736. "delistingtype": {
  4737. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  4738. "type": "integer"
  4739. },
  4740. "freezecharge": {
  4741. "description": "冻结手续费",
  4742. "type": "number"
  4743. },
  4744. "freezemargin": {
  4745. "description": "冻结保证金(冻结交易金额)",
  4746. "type": "number"
  4747. },
  4748. "gcaccountid": {
  4749. "description": "账户ID[合约币种]",
  4750. "type": "integer"
  4751. },
  4752. "goodsid": {
  4753. "description": "商品ID",
  4754. "type": "integer"
  4755. },
  4756. "isconfirmexercise": {
  4757. "description": "是否确认行权- 0:否 1:是",
  4758. "type": "integer"
  4759. },
  4760. "ispreexercise": {
  4761. "description": "是否预申报- 0:否 1:是",
  4762. "type": "integer"
  4763. },
  4764. "listingselecttype": {
  4765. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  4766. "type": "integer"
  4767. },
  4768. "marginalgorithm": {
  4769. "description": "保证金收取方式 1:比率 2:固定",
  4770. "type": "integer"
  4771. },
  4772. "marginvalue": {
  4773. "description": "即市保证金设置值",
  4774. "type": "number"
  4775. },
  4776. "marketid": {
  4777. "description": "市场ID",
  4778. "type": "integer"
  4779. },
  4780. "marketmaxsub": {
  4781. "description": "市价最大偏移范围",
  4782. "type": "number"
  4783. },
  4784. "memberuserid": {
  4785. "description": "所属会员UserID",
  4786. "type": "integer"
  4787. },
  4788. "openexchagechargevalue": {
  4789. "description": "建仓交易所手续费设置值",
  4790. "type": "number"
  4791. },
  4792. "openfeealgorithm": {
  4793. "description": "建仓手续费收取方式 1:比率 2:固定",
  4794. "type": "integer"
  4795. },
  4796. "openfreezecharge": {
  4797. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  4798. "type": "number"
  4799. },
  4800. "openmemberchargevalue": {
  4801. "description": "建仓会员手续费设置值",
  4802. "type": "number"
  4803. },
  4804. "openqty": {
  4805. "description": "开仓数量(先建后平操作,需要记录)",
  4806. "type": "integer"
  4807. },
  4808. "opentradeqty": {
  4809. "description": "开仓成交数量(先建后平操作,需要记录)",
  4810. "type": "integer"
  4811. },
  4812. "openunfreezecharge": {
  4813. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  4814. "type": "number"
  4815. },
  4816. "operatetype": {
  4817. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  4818. "type": "integer"
  4819. },
  4820. "operatorid": {
  4821. "description": "登录账号(LoginID)",
  4822. "type": "integer"
  4823. },
  4824. "optiontype": {
  4825. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  4826. "type": "integer"
  4827. },
  4828. "orderprice": {
  4829. "description": "委托价格",
  4830. "type": "number"
  4831. },
  4832. "orderqty": {
  4833. "description": "委托数量",
  4834. "type": "integer"
  4835. },
  4836. "ordersrc": {
  4837. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  4838. "type": "integer"
  4839. },
  4840. "orderstatus": {
  4841. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  4842. "type": "integer"
  4843. },
  4844. "ordertime": {
  4845. "description": "委托时间",
  4846. "type": "string"
  4847. },
  4848. "preexerciseprice": {
  4849. "description": "预申报价格",
  4850. "type": "number"
  4851. },
  4852. "premium": {
  4853. "description": "权利金",
  4854. "type": "number"
  4855. },
  4856. "preorderid": {
  4857. "description": "关联预埋单号(止盈止损单时填写)",
  4858. "type": "integer"
  4859. },
  4860. "pricemode": {
  4861. "description": "取价方式 - 1:市价 2: 限价",
  4862. "type": "integer"
  4863. },
  4864. "quoteid": {
  4865. "description": "报价单ID",
  4866. "type": "integer"
  4867. },
  4868. "relatedid": {
  4869. "description": "关联单号(交割单)",
  4870. "type": "integer"
  4871. },
  4872. "retcode": {
  4873. "description": "错误代码",
  4874. "type": "integer"
  4875. },
  4876. "sessionid": {
  4877. "description": "会话ID",
  4878. "type": "integer"
  4879. },
  4880. "strorderid": {
  4881. "description": "委托单号",
  4882. "type": "string"
  4883. },
  4884. "tradedate": {
  4885. "description": "交易日(yyyyMMdd)",
  4886. "type": "string"
  4887. },
  4888. "tradeproperty": {
  4889. "description": "交易属性",
  4890. "type": "integer"
  4891. },
  4892. "tradeqty": {
  4893. "description": "成交数量",
  4894. "type": "integer"
  4895. },
  4896. "unfreezecharge": {
  4897. "description": "解冻手续费",
  4898. "type": "number"
  4899. },
  4900. "unfreezemargin": {
  4901. "description": "解冻保证金",
  4902. "type": "number"
  4903. },
  4904. "updatetime": {
  4905. "description": "更新时间",
  4906. "type": "string"
  4907. },
  4908. "uuid": {
  4909. "description": "发起端唯一id",
  4910. "type": "string"
  4911. },
  4912. "validtime": {
  4913. "description": "有效期限",
  4914. "type": "string"
  4915. },
  4916. "validtype": {
  4917. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  4918. "type": "integer"
  4919. },
  4920. "volumetype": {
  4921. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  4922. "type": "integer"
  4923. }
  4924. }
  4925. },
  4926. "cptrade.QueryMyCPTradeGoodsRsp": {
  4927. "type": "object",
  4928. "required": [
  4929. "goodscode",
  4930. "goodsid",
  4931. "goodsname",
  4932. "marketid",
  4933. "relatedgoodscode",
  4934. "relatedgoodsname"
  4935. ],
  4936. "properties": {
  4937. "accountid": {
  4938. "description": "卖方账户ID",
  4939. "type": "integer"
  4940. },
  4941. "agreeunit": {
  4942. "description": "合约单位",
  4943. "type": "number"
  4944. },
  4945. "applyid": {
  4946. "description": "关联申请ID",
  4947. "type": "integer"
  4948. },
  4949. "attachmenturl": {
  4950. "description": "附件地址",
  4951. "type": "string"
  4952. },
  4953. "createtime": {
  4954. "description": "创建时间",
  4955. "type": "string"
  4956. },
  4957. "currencyid": {
  4958. "description": "报价货币ID",
  4959. "type": "integer"
  4960. },
  4961. "decimalplace": {
  4962. "description": "报价小数位",
  4963. "type": "integer"
  4964. },
  4965. "endtime": {
  4966. "description": "预售结束时间",
  4967. "type": "string"
  4968. },
  4969. "floorprice": {
  4970. "description": "底价[大宗式竞拍]",
  4971. "type": "number"
  4972. },
  4973. "goodscode": {
  4974. "description": "商品代码(预售)",
  4975. "type": "string"
  4976. },
  4977. "goodsdetail": {
  4978. "description": "详情[大宗]",
  4979. "type": "string"
  4980. },
  4981. "goodsid": {
  4982. "description": "商品ID(自增ID SEQ_GOODS)",
  4983. "type": "integer"
  4984. },
  4985. "goodsname": {
  4986. "description": "商品名称(预售)",
  4987. "type": "string"
  4988. },
  4989. "goodunit": {
  4990. "description": "报价单位",
  4991. "type": "string"
  4992. },
  4993. "goodunitid": {
  4994. "description": "报价单位ID",
  4995. "type": "integer"
  4996. },
  4997. "marketid": {
  4998. "description": "所属市场ID",
  4999. "type": "integer"
  5000. },
  5001. "marketname": {
  5002. "description": "预售市场名称",
  5003. "type": "string"
  5004. },
  5005. "presaledamount": {
  5006. "description": "已预售总金额(预售结束时更新)",
  5007. "type": "number"
  5008. },
  5009. "presaledqty": {
  5010. "description": "已预售量(预售结束时更新)",
  5011. "type": "integer"
  5012. },
  5013. "presalemode": {
  5014. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5015. "type": "integer"
  5016. },
  5017. "presaleqty": {
  5018. "description": "预售数量",
  5019. "type": "integer"
  5020. },
  5021. "refprice": {
  5022. "description": "参考价格[一口价]",
  5023. "type": "number"
  5024. },
  5025. "relatedgoodscode": {
  5026. "description": "商品代码(订单)",
  5027. "type": "string"
  5028. },
  5029. "relatedgoodsid": {
  5030. "description": "关联交易合约ID",
  5031. "type": "integer"
  5032. },
  5033. "relatedgoodsname": {
  5034. "description": "商品名称(订单)",
  5035. "type": "string"
  5036. },
  5037. "relatedmarketid": {
  5038. "description": "关联交易合约市场ID",
  5039. "type": "integer"
  5040. },
  5041. "sellstatus": {
  5042. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5043. "type": "integer"
  5044. },
  5045. "startprice": {
  5046. "description": "起拍价[大宗式竞拍]",
  5047. "type": "number"
  5048. },
  5049. "starttime": {
  5050. "description": "预售开始时间",
  5051. "type": "string"
  5052. },
  5053. "tradedate": {
  5054. "description": "交易日(yyyyMMdd)",
  5055. "type": "string"
  5056. },
  5057. "tradeprice": {
  5058. "description": "成交价[大宗]",
  5059. "type": "number"
  5060. },
  5061. "userid": {
  5062. "description": "卖方用户ID",
  5063. "type": "integer"
  5064. }
  5065. }
  5066. },
  5067. "cptrade.QueryPresaleGoodsExRsp": {
  5068. "type": "object",
  5069. "required": [
  5070. "goodsid"
  5071. ],
  5072. "properties": {
  5073. "attachmenturl": {
  5074. "description": "附件地址",
  5075. "type": "string"
  5076. },
  5077. "createtime": {
  5078. "description": "创建时间",
  5079. "type": "string"
  5080. },
  5081. "endtime": {
  5082. "description": "预售结束时间",
  5083. "type": "string"
  5084. },
  5085. "floorprice": {
  5086. "description": "底价[大宗式竞拍]",
  5087. "type": "number"
  5088. },
  5089. "goodsdetail": {
  5090. "description": "详情[大宗]",
  5091. "type": "string"
  5092. },
  5093. "goodsid": {
  5094. "description": "商品ID(预售)",
  5095. "type": "integer"
  5096. },
  5097. "goodunit": {
  5098. "description": "报价单位",
  5099. "type": "string"
  5100. },
  5101. "marketid": {
  5102. "description": "预售市场ID - 根据预售模式选择市场",
  5103. "type": "integer"
  5104. },
  5105. "presaledamount": {
  5106. "description": "已预售总金额(预售结束时更新)",
  5107. "type": "number"
  5108. },
  5109. "presaledqty": {
  5110. "description": "已预售量(预售结束时更新)",
  5111. "type": "integer"
  5112. },
  5113. "presalemode": {
  5114. "description": "预售模式 - 1:一口价 2:大宗式竞拍",
  5115. "type": "integer"
  5116. },
  5117. "presaleqty": {
  5118. "description": "预售数量",
  5119. "type": "integer"
  5120. },
  5121. "refprice": {
  5122. "description": "参考价格[一口价]",
  5123. "type": "number"
  5124. },
  5125. "relatedgoodsid": {
  5126. "description": "关联交易合约ID",
  5127. "type": "integer"
  5128. },
  5129. "relatedmarketid": {
  5130. "description": "关联交易合约市场ID",
  5131. "type": "integer"
  5132. },
  5133. "sellstatus": {
  5134. "description": "卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理",
  5135. "type": "integer"
  5136. },
  5137. "startprice": {
  5138. "description": "起拍价[大宗式竞拍]",
  5139. "type": "number"
  5140. },
  5141. "starttime": {
  5142. "description": "预售开始时间",
  5143. "type": "string"
  5144. },
  5145. "tradedate": {
  5146. "description": "交易日(yyyyMMdd)",
  5147. "type": "string"
  5148. },
  5149. "tradeprice": {
  5150. "description": "成交价[大宗]",
  5151. "type": "number"
  5152. }
  5153. }
  5154. },
  5155. "delivery.QueryDeliveryRelationRsp": {
  5156. "type": "object",
  5157. "required": [
  5158. "begindate",
  5159. "enddate",
  5160. "goodsid",
  5161. "mindeliveryqty",
  5162. "xdeliveryratio"
  5163. ],
  5164. "properties": {
  5165. "begindate": {
  5166. "description": "起始日期(yyyyMMdd)",
  5167. "type": "string"
  5168. },
  5169. "buytemplateid": {
  5170. "description": "买履约计划模板ID",
  5171. "type": "integer"
  5172. },
  5173. "deliverygoodscode": {
  5174. "description": "品种代码",
  5175. "type": "string"
  5176. },
  5177. "deliverygoodsid": {
  5178. "description": "交割商品",
  5179. "type": "integer"
  5180. },
  5181. "deliverygoodsname": {
  5182. "description": "品种名称",
  5183. "type": "string"
  5184. },
  5185. "deliverymode": {
  5186. "description": "交割方式 - 1:点选式 2:申报式",
  5187. "type": "integer"
  5188. },
  5189. "deliverypricerule": {
  5190. "description": "交割价规则- 1:行情价 2:建仓价",
  5191. "type": "integer"
  5192. },
  5193. "deliverytype": {
  5194. "description": "交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割",
  5195. "type": "integer"
  5196. },
  5197. "enddate": {
  5198. "description": "结束日期(yyyyMMdd)",
  5199. "type": "string"
  5200. },
  5201. "goodscode": {
  5202. "description": "商品代码",
  5203. "type": "string"
  5204. },
  5205. "goodsid": {
  5206. "description": "交易合约ID",
  5207. "type": "integer"
  5208. },
  5209. "goodsname": {
  5210. "description": "商品名称",
  5211. "type": "string"
  5212. },
  5213. "marketid": {
  5214. "description": "市场ID",
  5215. "type": "integer"
  5216. },
  5217. "mindeliveryqty": {
  5218. "description": "最小交割系数(K)",
  5219. "type": "integer"
  5220. },
  5221. "p2deliveryprice": {
  5222. "description": "P2合约价格(商品价时填写0,固定值时填写固定值)",
  5223. "type": "number"
  5224. },
  5225. "p2deliveryratio": {
  5226. "description": "P2合约系数(p)",
  5227. "type": "integer"
  5228. },
  5229. "p2goodsid": {
  5230. "description": "P2合约ID",
  5231. "type": "integer"
  5232. },
  5233. "p2pricemode": {
  5234. "description": "P2合约价格方式 - 1:商品价 2:固定值",
  5235. "type": "integer"
  5236. },
  5237. "pdeliveryprice": {
  5238. "description": "P合约价格(商品价时填写0,固定值时填写固定值)",
  5239. "type": "number"
  5240. },
  5241. "pdeliveryratio": {
  5242. "description": "P合约系数(n)",
  5243. "type": "integer"
  5244. },
  5245. "pgoodsid": {
  5246. "description": "P合约ID",
  5247. "type": "integer"
  5248. },
  5249. "ppricemode": {
  5250. "description": "P合约价格方式 - 1:商品价 2:固定值",
  5251. "type": "integer"
  5252. },
  5253. "rratio": {
  5254. "description": "兑换系数(R)",
  5255. "type": "integer"
  5256. },
  5257. "rratio1": {
  5258. "description": "兑换系数(交易合约)(R1)",
  5259. "type": "integer"
  5260. },
  5261. "rratio2": {
  5262. "description": "兑换系数(仓单标准)(R2)",
  5263. "type": "integer"
  5264. },
  5265. "selltemplateid": {
  5266. "description": "卖履约计划模板ID",
  5267. "type": "integer"
  5268. },
  5269. "wrstandardid": {
  5270. "description": "仓单标准ID",
  5271. "type": "integer"
  5272. },
  5273. "xdeliveryratio": {
  5274. "description": "交易合约系数(m)",
  5275. "type": "integer"
  5276. }
  5277. }
  5278. },
  5279. "ermcp.QryBusinessDjRsp": {
  5280. "type": "object",
  5281. "properties": {
  5282. "APPLYID": {
  5283. "description": "申请人",
  5284. "type": "string"
  5285. },
  5286. "APPLYNAME": {
  5287. "description": "申请人名称",
  5288. "type": "string"
  5289. },
  5290. "APPLYSTATUS": {
  5291. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5292. "type": "integer"
  5293. },
  5294. "APPLYTIME": {
  5295. "description": "申请时间",
  5296. "type": "string"
  5297. },
  5298. "AUDITTIME": {
  5299. "description": "审核时间",
  5300. "type": "string"
  5301. },
  5302. "BUYUSERNAME": {
  5303. "description": "采购方名称",
  5304. "type": "string"
  5305. },
  5306. "CONTRACTNO": {
  5307. "description": "合同编号",
  5308. "type": "string"
  5309. },
  5310. "CONTRACTTYPE": {
  5311. "description": "现货合同类型 - 1:采购 -1:销售",
  5312. "type": "integer"
  5313. },
  5314. "EnumdicName": {
  5315. "description": "单位名称",
  5316. "type": "string"
  5317. },
  5318. "GOODSCODE": {
  5319. "description": "点价合约",
  5320. "type": "string"
  5321. },
  5322. "GOODSNAME": {
  5323. "description": "商品名称",
  5324. "type": "string"
  5325. },
  5326. "OPERATEAPPLYID": {
  5327. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5328. "type": "string"
  5329. },
  5330. "OPERATEAPPLYTYPE": {
  5331. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5332. "type": "integer"
  5333. },
  5334. "PRICEMOVE": {
  5335. "description": "升贴水",
  5336. "type": "number"
  5337. },
  5338. "PRICETYPE": {
  5339. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5340. "type": "integer"
  5341. },
  5342. "RELATEDID": {
  5343. "description": "现货合同ID",
  5344. "type": "string"
  5345. },
  5346. "SELLUSERNAME": {
  5347. "description": "销售方名字",
  5348. "type": "string"
  5349. },
  5350. "pricedPrice": {
  5351. "description": "点价价格(非必填)",
  5352. "type": "number"
  5353. },
  5354. "pricedQty": {
  5355. "description": "点价数量(非必填)",
  5356. "type": "number"
  5357. }
  5358. }
  5359. },
  5360. "ermcp.QryBussinessFpRsp": {
  5361. "type": "object",
  5362. "properties": {
  5363. "APPLYID": {
  5364. "description": "申请人",
  5365. "type": "string"
  5366. },
  5367. "APPLYNAME": {
  5368. "description": "申请人名称",
  5369. "type": "string"
  5370. },
  5371. "APPLYSTATUS": {
  5372. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5373. "type": "integer"
  5374. },
  5375. "APPLYTIME": {
  5376. "description": "申请时间",
  5377. "type": "string"
  5378. },
  5379. "AUDITTIME": {
  5380. "description": "审核时间",
  5381. "type": "string"
  5382. },
  5383. "BUYUSERNAME": {
  5384. "description": "采购方名称",
  5385. "type": "string"
  5386. },
  5387. "CONTRACTNO": {
  5388. "description": "合同编号",
  5389. "type": "string"
  5390. },
  5391. "CONTRACTTYPE": {
  5392. "description": "现货合同类型 - 1:采购 -1:销售",
  5393. "type": "integer"
  5394. },
  5395. "EnumdicName": {
  5396. "description": "单位名称",
  5397. "type": "string"
  5398. },
  5399. "GOODSCODE": {
  5400. "description": "点价合约",
  5401. "type": "string"
  5402. },
  5403. "GOODSNAME": {
  5404. "description": "商品名称",
  5405. "type": "string"
  5406. },
  5407. "OPERATEAPPLYID": {
  5408. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5409. "type": "string"
  5410. },
  5411. "OPERATEAPPLYTYPE": {
  5412. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5413. "type": "integer"
  5414. },
  5415. "PRICEMOVE": {
  5416. "description": "升贴水",
  5417. "type": "number"
  5418. },
  5419. "PRICETYPE": {
  5420. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5421. "type": "integer"
  5422. },
  5423. "RELATEDID": {
  5424. "description": "现货合同ID",
  5425. "type": "string"
  5426. },
  5427. "SELLUSERNAME": {
  5428. "description": "销售方名字",
  5429. "type": "string"
  5430. },
  5431. "invoiceAmount": {
  5432. "description": "已开收票金额(销售为开票,采购为收票)",
  5433. "type": "number"
  5434. }
  5435. }
  5436. },
  5437. "ermcp.QryBussinessJsRsp": {
  5438. "type": "object",
  5439. "properties": {
  5440. "APPLYID": {
  5441. "description": "申请人",
  5442. "type": "string"
  5443. },
  5444. "APPLYNAME": {
  5445. "description": "申请人名称",
  5446. "type": "string"
  5447. },
  5448. "APPLYSTATUS": {
  5449. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5450. "type": "integer"
  5451. },
  5452. "APPLYTIME": {
  5453. "description": "申请时间",
  5454. "type": "string"
  5455. },
  5456. "AUDITTIME": {
  5457. "description": "审核时间",
  5458. "type": "string"
  5459. },
  5460. "BUYUSERNAME": {
  5461. "description": "采购方名称",
  5462. "type": "string"
  5463. },
  5464. "CONTRACTNO": {
  5465. "description": "合同编号",
  5466. "type": "string"
  5467. },
  5468. "CONTRACTTYPE": {
  5469. "description": "现货合同类型 - 1:采购 -1:销售",
  5470. "type": "integer"
  5471. },
  5472. "EnumdicName": {
  5473. "description": "单位名称",
  5474. "type": "string"
  5475. },
  5476. "GOODSCODE": {
  5477. "description": "点价合约",
  5478. "type": "string"
  5479. },
  5480. "GOODSNAME": {
  5481. "description": "商品名称",
  5482. "type": "string"
  5483. },
  5484. "OPERATEAPPLYID": {
  5485. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5486. "type": "string"
  5487. },
  5488. "OPERATEAPPLYTYPE": {
  5489. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5490. "type": "integer"
  5491. },
  5492. "PRICEMOVE": {
  5493. "description": "升贴水",
  5494. "type": "number"
  5495. },
  5496. "PRICETYPE": {
  5497. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5498. "type": "integer"
  5499. },
  5500. "RELATEDID": {
  5501. "description": "现货合同ID",
  5502. "type": "string"
  5503. },
  5504. "SELLUSERNAME": {
  5505. "description": "销售方名字",
  5506. "type": "string"
  5507. },
  5508. "addMargin": {
  5509. "description": "追加保证金(非必填)",
  5510. "type": "number"
  5511. },
  5512. "decMargin": {
  5513. "description": "减少保证金(非必填)",
  5514. "type": "number"
  5515. },
  5516. "reckonAdjustAmount": {
  5517. "description": "结算调整金额(非必填)",
  5518. "type": "number"
  5519. },
  5520. "reckonOsAmount": {
  5521. "description": "结算溢短金额(非必填)",
  5522. "type": "number"
  5523. },
  5524. "reckonOtherAmount": {
  5525. "description": "结算其他费用(非必填)",
  5526. "type": "number"
  5527. },
  5528. "reckonRealQty": {
  5529. "description": "结算实际数量(非必填)",
  5530. "type": "number"
  5531. }
  5532. }
  5533. },
  5534. "ermcp.QryBussinessKxRsp": {
  5535. "type": "object",
  5536. "properties": {
  5537. "APPLYID": {
  5538. "description": "申请人",
  5539. "type": "string"
  5540. },
  5541. "APPLYNAME": {
  5542. "description": "申请人名称",
  5543. "type": "string"
  5544. },
  5545. "APPLYSTATUS": {
  5546. "description": "申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回",
  5547. "type": "integer"
  5548. },
  5549. "APPLYTIME": {
  5550. "description": "申请时间",
  5551. "type": "string"
  5552. },
  5553. "AUDITTIME": {
  5554. "description": "审核时间",
  5555. "type": "string"
  5556. },
  5557. "BUYUSERNAME": {
  5558. "description": "采购方名称",
  5559. "type": "string"
  5560. },
  5561. "CONTRACTNO": {
  5562. "description": "合同编号",
  5563. "type": "string"
  5564. },
  5565. "CONTRACTTYPE": {
  5566. "description": "现货合同类型 - 1:采购 -1:销售",
  5567. "type": "integer"
  5568. },
  5569. "EnumdicName": {
  5570. "description": "单位名称",
  5571. "type": "string"
  5572. },
  5573. "GOODSCODE": {
  5574. "description": "点价合约",
  5575. "type": "string"
  5576. },
  5577. "GOODSNAME": {
  5578. "description": "商品名称",
  5579. "type": "string"
  5580. },
  5581. "OPERATEAPPLYID": {
  5582. "description": "操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)",
  5583. "type": "string"
  5584. },
  5585. "OPERATEAPPLYTYPE": {
  5586. "description": "操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记",
  5587. "type": "integer"
  5588. },
  5589. "PRICEMOVE": {
  5590. "description": "升贴水",
  5591. "type": "number"
  5592. },
  5593. "PRICETYPE": {
  5594. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5595. "type": "integer"
  5596. },
  5597. "RELATEDID": {
  5598. "description": "现货合同ID",
  5599. "type": "string"
  5600. },
  5601. "SELLUSERNAME": {
  5602. "description": "销售方名字",
  5603. "type": "string"
  5604. },
  5605. "deductAmount": {
  5606. "description": "退款(非必填)",
  5607. "type": "number"
  5608. },
  5609. "payAmount": {
  5610. "description": "收付款(非必填)",
  5611. "type": "number"
  5612. }
  5613. }
  5614. },
  5615. "ermcp.QryErmcpRsp": {
  5616. "type": "object",
  5617. "properties": {
  5618. "accountid": {
  5619. "description": "账户ID",
  5620. "type": "string"
  5621. },
  5622. "accountname": {
  5623. "description": "账户名称",
  5624. "type": "string"
  5625. },
  5626. "contracctstatus": {
  5627. "description": "合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5628. "type": "integer"
  5629. },
  5630. "convertfactor": {
  5631. "description": "标仓系数",
  5632. "type": "number"
  5633. },
  5634. "daikaiAmount": {
  5635. "description": "待开票额",
  5636. "type": "number"
  5637. },
  5638. "deliveryenddate": {
  5639. "description": "交割结束日",
  5640. "type": "string"
  5641. },
  5642. "deliverygoodscode": {
  5643. "description": "现货商品代码",
  5644. "type": "string"
  5645. },
  5646. "deliverygoodsid": {
  5647. "description": "现货商品ID",
  5648. "type": "integer"
  5649. },
  5650. "deliverygoodsname": {
  5651. "description": "现货商品名称",
  5652. "type": "string"
  5653. },
  5654. "deliverystartdate": {
  5655. "description": "交割开始日",
  5656. "type": "string"
  5657. },
  5658. "enddate": {
  5659. "description": "点价结束日",
  5660. "type": "string"
  5661. },
  5662. "enumdicname": {
  5663. "description": "单位名称",
  5664. "type": "string"
  5665. },
  5666. "goodscode": {
  5667. "description": "点价商品代码",
  5668. "type": "string"
  5669. },
  5670. "goodsid": {
  5671. "description": "点价商品ID",
  5672. "type": "integer"
  5673. },
  5674. "invoiceamount": {
  5675. "description": "已开票额",
  5676. "type": "number"
  5677. },
  5678. "payamount": {
  5679. "description": "已收付额(收款或付款)",
  5680. "type": "number"
  5681. },
  5682. "pricedqty": {
  5683. "description": "已定价量",
  5684. "type": "number"
  5685. },
  5686. "pricemove": {
  5687. "description": "升贴水",
  5688. "type": "number"
  5689. },
  5690. "pricetype": {
  5691. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5692. "type": "integer"
  5693. },
  5694. "producttype": {
  5695. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5696. "type": "integer"
  5697. },
  5698. "qty": {
  5699. "description": "合同量",
  5700. "type": "number"
  5701. },
  5702. "spotcontractid": {
  5703. "description": "合同ID",
  5704. "type": "string"
  5705. },
  5706. "spotgoodsdesc": {
  5707. "description": "商品型号(商品规格)",
  5708. "type": "string"
  5709. },
  5710. "startdate": {
  5711. "description": "点价开始日",
  5712. "type": "string"
  5713. },
  5714. "unpayAmount": {
  5715. "description": "待支收额(支付或收款)",
  5716. "type": "number"
  5717. },
  5718. "unpricedqty": {
  5719. "description": "未定价量",
  5720. "type": "number"
  5721. },
  5722. "unsureqty": {
  5723. "description": "未确定量",
  5724. "type": "number"
  5725. }
  5726. }
  5727. },
  5728. "ermcp.QryHedgePlanRsp": {
  5729. "type": "object",
  5730. "properties": {
  5731. "contracttype": {
  5732. "description": "计划类型 - 1:采购 -1:销售",
  5733. "type": "integer"
  5734. },
  5735. "convertfactor": {
  5736. "description": "标仓系数",
  5737. "type": "number"
  5738. },
  5739. "deliverygoodsid": {
  5740. "description": "现货品种ID",
  5741. "type": "integer"
  5742. },
  5743. "deliverygoodsname": {
  5744. "description": "现货品种名称",
  5745. "type": "string"
  5746. },
  5747. "hedgeplanid": {
  5748. "description": "套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)",
  5749. "type": "string"
  5750. },
  5751. "hedgeplanno": {
  5752. "description": "套保计划编号",
  5753. "type": "string"
  5754. },
  5755. "hedgeplanstatus": {
  5756. "description": "套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5757. "type": "integer"
  5758. },
  5759. "planqty": {
  5760. "description": "计划数量",
  5761. "type": "number"
  5762. },
  5763. "plantime": {
  5764. "description": "计划时间",
  5765. "type": "string"
  5766. },
  5767. "producttype": {
  5768. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5769. "type": "integer"
  5770. },
  5771. "remark": {
  5772. "description": "备注",
  5773. "type": "string"
  5774. },
  5775. "spotgoodsdesc": {
  5776. "description": "商品型号",
  5777. "type": "string"
  5778. },
  5779. "wrstandardid": {
  5780. "description": "现货商品ID",
  5781. "type": "integer"
  5782. },
  5783. "wrstandardname": {
  5784. "description": "现货商品名称",
  5785. "type": "string"
  5786. }
  5787. }
  5788. },
  5789. "ermcp.QrySpotContractRsp": {
  5790. "type": "object",
  5791. "properties": {
  5792. "AMOUNT": {
  5793. "description": "金额 [1:一口价、3:暂定价]",
  5794. "type": "number"
  5795. },
  5796. "BUYUSERID": {
  5797. "description": "采购方ID",
  5798. "type": "integer"
  5799. },
  5800. "BUYUSERName": {
  5801. "description": "采购方名称",
  5802. "type": "string"
  5803. },
  5804. "CONTRACCTSTATUS": {
  5805. "description": "合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回",
  5806. "type": "integer"
  5807. },
  5808. "CONTRACTNO": {
  5809. "description": "现货合同编号",
  5810. "type": "string"
  5811. },
  5812. "CONTRACTTYPE": {
  5813. "description": "现货合同类型 - 1:采购 -1:销售",
  5814. "type": "integer"
  5815. },
  5816. "CONVERTFACTOR": {
  5817. "description": "标仓系数",
  5818. "type": "number"
  5819. },
  5820. "DELIVERYENDDATE": {
  5821. "description": "交收期(结束)",
  5822. "type": "string"
  5823. },
  5824. "DELIVERYGOODSCODE": {
  5825. "description": "现货品种代码",
  5826. "type": "string"
  5827. },
  5828. "DELIVERYGOODSID": {
  5829. "description": "现货品种ID",
  5830. "type": "integer"
  5831. },
  5832. "DELIVERYGOODSNAME": {
  5833. "description": "现货品种名称",
  5834. "type": "string"
  5835. },
  5836. "DELIVERYSTARTDATE": {
  5837. "description": "交收期(开始)",
  5838. "type": "string"
  5839. },
  5840. "ENDDATE": {
  5841. "description": "点价结束日期 [2:点价 3:暂定价]",
  5842. "type": "string"
  5843. },
  5844. "EnumdicName": {
  5845. "description": "单位名称",
  5846. "type": "string"
  5847. },
  5848. "GOODSCODE": {
  5849. "description": "点价合约代码",
  5850. "type": "string"
  5851. },
  5852. "GOODSID": {
  5853. "description": "点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]",
  5854. "type": "integer"
  5855. },
  5856. "MARGIN": {
  5857. "description": "当前保证金",
  5858. "type": "number"
  5859. },
  5860. "PRICE": {
  5861. "description": "价格\\暂定价 [1:一口价、3:暂定价]",
  5862. "type": "number"
  5863. },
  5864. "PRICEMOVE": {
  5865. "description": "升贴水 [2:点价 3:暂定价]",
  5866. "type": "number"
  5867. },
  5868. "PRICETYPE": {
  5869. "description": "定价类型 - 1:一口价 2:点价 3:暂定价",
  5870. "type": "integer"
  5871. },
  5872. "PRODUCTTYPE": {
  5873. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  5874. "type": "integer"
  5875. },
  5876. "QTY": {
  5877. "description": "数量",
  5878. "type": "number"
  5879. },
  5880. "SELLUSERID": {
  5881. "description": "销售方ID",
  5882. "type": "integer"
  5883. },
  5884. "SELLUSERNAME": {
  5885. "description": "销售方名称",
  5886. "type": "string"
  5887. },
  5888. "SPOTCONTRACTID": {
  5889. "description": "现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)",
  5890. "type": "string"
  5891. },
  5892. "SPOTGOODSDESC": {
  5893. "description": "商品型号",
  5894. "type": "string"
  5895. },
  5896. "STARTDATE": {
  5897. "description": "点价开始日期 [2:点价 3:暂定价]",
  5898. "type": "string"
  5899. }
  5900. }
  5901. },
  5902. "ermcp.QryUserInfoRsp": {
  5903. "type": "object",
  5904. "properties": {
  5905. "address": {
  5906. "description": "通讯地址",
  5907. "type": "string"
  5908. },
  5909. "cardnum": {
  5910. "description": "证件号码",
  5911. "type": "string"
  5912. },
  5913. "cardtype": {
  5914. "description": "证件类型",
  5915. "type": "string"
  5916. },
  5917. "customername": {
  5918. "description": "企业名称",
  5919. "type": "string"
  5920. },
  5921. "mobile": {
  5922. "description": "手机号码",
  5923. "type": "string"
  5924. },
  5925. "remark": {
  5926. "description": "备注",
  5927. "type": "string"
  5928. },
  5929. "status": {
  5930. "description": "账户状态",
  5931. "type": "string"
  5932. },
  5933. "telphone": {
  5934. "description": "联系电话",
  5935. "type": "string"
  5936. },
  5937. "userinfotype": {
  5938. "description": "客户类型",
  5939. "type": "string"
  5940. }
  5941. }
  5942. },
  5943. "erms2.QueryArbitrageStrategyRsp": {
  5944. "type": "object",
  5945. "required": [
  5946. "asapplyid"
  5947. ],
  5948. "properties": {
  5949. "applybasis": {
  5950. "description": "申请基差",
  5951. "type": "number"
  5952. },
  5953. "asapplyid": {
  5954. "description": "策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)",
  5955. "type": "string"
  5956. },
  5957. "asname": {
  5958. "description": "策略名称",
  5959. "type": "string"
  5960. },
  5961. "asno": {
  5962. "description": "策略编号",
  5963. "type": "string"
  5964. },
  5965. "basischangepl": {
  5966. "description": "基差变动损益[结算更新]",
  5967. "type": "number"
  5968. },
  5969. "biztype": {
  5970. "description": "业务类型 - 1:正向套利 -1:反向套利",
  5971. "type": "integer"
  5972. },
  5973. "closetradedate": {
  5974. "description": "完结交易日(yyyyMMdd)",
  5975. "type": "string"
  5976. },
  5977. "curbasis": {
  5978. "description": "当前基差[结算更新]",
  5979. "type": "number"
  5980. },
  5981. "deliverygoodsid": {
  5982. "description": "现货品种ID",
  5983. "type": "integer"
  5984. },
  5985. "futureavgprice": {
  5986. "description": "期货建仓均价",
  5987. "type": "number"
  5988. },
  5989. "futurecloseamount": {
  5990. "description": "期货平仓金额",
  5991. "type": "number"
  5992. },
  5993. "futurecloseqty": {
  5994. "description": "期货平仓数量",
  5995. "type": "number"
  5996. },
  5997. "futureopenamount": {
  5998. "description": "期货开仓金额",
  5999. "type": "number"
  6000. },
  6001. "futureopenqty": {
  6002. "description": "期货开仓数量",
  6003. "type": "number"
  6004. },
  6005. "futurepl": {
  6006. "description": "期货总盈亏[结算更新]",
  6007. "type": "number"
  6008. },
  6009. "futureqty": {
  6010. "description": "期货持仓数量",
  6011. "type": "number"
  6012. },
  6013. "futurequote": {
  6014. "description": "期货额度",
  6015. "type": "number"
  6016. },
  6017. "goodsgroupid": {
  6018. "description": "期货品种ID",
  6019. "type": "integer"
  6020. },
  6021. "marketid": {
  6022. "description": "市场ID",
  6023. "type": "integer"
  6024. },
  6025. "netexposure": {
  6026. "description": "单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量",
  6027. "type": "number"
  6028. },
  6029. "netexposurepl": {
  6030. "description": "净敞口损益 = TotalPL - BasisChangePL[结算更新]",
  6031. "type": "number"
  6032. },
  6033. "netexposurerate": {
  6034. "description": "净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0",
  6035. "type": "number"
  6036. },
  6037. "openbasis": {
  6038. "description": "建仓基差",
  6039. "type": "number"
  6040. },
  6041. "pricedspotqty": {
  6042. "description": "已定价现货数量",
  6043. "type": "number"
  6044. },
  6045. "pricedspotqtynotax": {
  6046. "description": "已定价现货不含税数量",
  6047. "type": "number"
  6048. },
  6049. "remark": {
  6050. "description": "备注",
  6051. "type": "string"
  6052. },
  6053. "spotavgprice": {
  6054. "description": "现货均价",
  6055. "type": "number"
  6056. },
  6057. "spotbuyamount": {
  6058. "description": "现货采购金额",
  6059. "type": "number"
  6060. },
  6061. "spotbuyqty": {
  6062. "description": "现货采购数量",
  6063. "type": "number"
  6064. },
  6065. "spotpl": {
  6066. "description": "现货总盈亏[结算更新]",
  6067. "type": "number"
  6068. },
  6069. "spotquota": {
  6070. "description": "现货额度",
  6071. "type": "number"
  6072. },
  6073. "spotsellamount": {
  6074. "description": "现货销售金额",
  6075. "type": "number"
  6076. },
  6077. "spotsellqty": {
  6078. "description": "现货销售数量",
  6079. "type": "number"
  6080. },
  6081. "spotusedquota": {
  6082. "description": "现货占用资金",
  6083. "type": "number"
  6084. },
  6085. "strategystatus": {
  6086. "description": "策略状态 - 0:未结束 1:已结束",
  6087. "type": "integer"
  6088. },
  6089. "totalpl": {
  6090. "description": "业务合计损益 = FuturePL + SpotPL [结算更新]",
  6091. "type": "number"
  6092. },
  6093. "tradedate": {
  6094. "description": "交易日(yyyyMMdd)",
  6095. "type": "string"
  6096. },
  6097. "updatetime": {
  6098. "description": "更新时间",
  6099. "type": "string"
  6100. },
  6101. "usedquota": {
  6102. "description": "已占用资金",
  6103. "type": "number"
  6104. },
  6105. "userid": {
  6106. "description": "所属机构",
  6107. "type": "integer"
  6108. }
  6109. }
  6110. },
  6111. "erms2.QueryInnerTradeDetailRsp": {
  6112. "type": "object",
  6113. "required": [
  6114. "asapplyid",
  6115. "buyorsell",
  6116. "goodscode",
  6117. "goodsgroupid",
  6118. "goodsgroupname",
  6119. "goodsname",
  6120. "tradeid"
  6121. ],
  6122. "properties": {
  6123. "accountid": {
  6124. "description": "账号ID",
  6125. "type": "integer"
  6126. },
  6127. "agreeunit": {
  6128. "description": "合约单位",
  6129. "type": "number"
  6130. },
  6131. "asapplyid": {
  6132. "description": "策略申请ID",
  6133. "type": "integer"
  6134. },
  6135. "asname": {
  6136. "description": "策略名称",
  6137. "type": "string"
  6138. },
  6139. "asno": {
  6140. "description": "策略编号",
  6141. "type": "string"
  6142. },
  6143. "buyorsell": {
  6144. "description": "方向 - 0:买 1:卖",
  6145. "type": "integer"
  6146. },
  6147. "channelbuildtype": {
  6148. "description": "委托单据类型 0:无 1:建仓 2:平仓",
  6149. "type": "integer"
  6150. },
  6151. "closetype": {
  6152. "description": "平仓方式 - 0:无 1:平今 2:平昨",
  6153. "type": "integer"
  6154. },
  6155. "decimalplace": {
  6156. "description": "报价小数位",
  6157. "type": "integer"
  6158. },
  6159. "detailtype": {
  6160. "description": "明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整",
  6161. "type": "integer"
  6162. },
  6163. "exexchangecode": {
  6164. "description": "外部交易所代码",
  6165. "type": "string"
  6166. },
  6167. "exexchangename": {
  6168. "description": "外部交易所名称",
  6169. "type": "string"
  6170. },
  6171. "goodscode": {
  6172. "description": "商品代码(合约)",
  6173. "type": "string"
  6174. },
  6175. "goodsgroupid": {
  6176. "description": "商品组ID(品种ID)",
  6177. "type": "integer"
  6178. },
  6179. "goodsgroupname": {
  6180. "description": "商品组名称(品种)",
  6181. "type": "string"
  6182. },
  6183. "goodsid": {
  6184. "description": "商品ID",
  6185. "type": "integer"
  6186. },
  6187. "goodsname": {
  6188. "description": "商品名称(合约)",
  6189. "type": "string"
  6190. },
  6191. "goodunit": {
  6192. "description": "报价单位",
  6193. "type": "string"
  6194. },
  6195. "marketid": {
  6196. "description": "市场ID",
  6197. "type": "integer"
  6198. },
  6199. "orderid": {
  6200. "description": "委托单号",
  6201. "type": "string"
  6202. },
  6203. "outgoodscode": {
  6204. "description": "商品代码(外部)",
  6205. "type": "string"
  6206. },
  6207. "relatedouttradeid": {
  6208. "description": "关联外部成交单ID",
  6209. "type": "string"
  6210. },
  6211. "remark": {
  6212. "description": "备注",
  6213. "type": "string"
  6214. },
  6215. "spotcontractid": {
  6216. "description": "现货合同ID [1:套利对冲 为合同ID,2:期货换月\\3:期货仓位调整时为0]",
  6217. "type": "integer"
  6218. },
  6219. "spotcontractno": {
  6220. "description": "现货合同编号",
  6221. "type": "string"
  6222. },
  6223. "tradeid": {
  6224. "description": "成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  6225. "type": "string"
  6226. },
  6227. "tradeprice": {
  6228. "description": "成交价格",
  6229. "type": "number"
  6230. },
  6231. "tradeqty": {
  6232. "description": "成交数量",
  6233. "type": "integer"
  6234. },
  6235. "tradetime": {
  6236. "description": "成交时间",
  6237. "type": "string"
  6238. },
  6239. "updatetime": {
  6240. "description": "更新时间",
  6241. "type": "string"
  6242. }
  6243. }
  6244. },
  6245. "erms2.QuerySpotContractRsp": {
  6246. "type": "object",
  6247. "required": [
  6248. "spotcontractid"
  6249. ],
  6250. "properties": {
  6251. "accountid": {
  6252. "description": "资金账户ID",
  6253. "type": "integer"
  6254. },
  6255. "areauserid": {
  6256. "description": "所属机构",
  6257. "type": "integer"
  6258. },
  6259. "closedate": {
  6260. "description": "终止日期",
  6261. "type": "string"
  6262. },
  6263. "closeremark": {
  6264. "description": "结束备注",
  6265. "type": "string"
  6266. },
  6267. "closetradedate": {
  6268. "description": "完结交易日(yyyyMMdd)",
  6269. "type": "string"
  6270. },
  6271. "closetype": {
  6272. "description": "终止类型 - 1:违约 2:提前终止",
  6273. "type": "integer"
  6274. },
  6275. "contractamount": {
  6276. "description": "合同金额",
  6277. "type": "number"
  6278. },
  6279. "contractattachment": {
  6280. "description": "合同附件",
  6281. "type": "string"
  6282. },
  6283. "contractno": {
  6284. "description": "现货合同编号",
  6285. "type": "string"
  6286. },
  6287. "contractqty": {
  6288. "description": "合同数量(数值) (用于计算)",
  6289. "type": "number"
  6290. },
  6291. "contractqtychar": {
  6292. "description": "合同数量\\已订价数量 (用于显示)",
  6293. "type": "string"
  6294. },
  6295. "contractstatus": {
  6296. "description": "合同状态 - 0:未结束 1:已结束",
  6297. "type": "integer"
  6298. },
  6299. "contracttype": {
  6300. "description": "现货合同类型 - 1:采购合同 -1:销售合同",
  6301. "type": "integer"
  6302. },
  6303. "customeraccountid": {
  6304. "description": "客户资金账户ID",
  6305. "type": "integer"
  6306. },
  6307. "customeruserid": {
  6308. "description": "客户ID",
  6309. "type": "integer"
  6310. },
  6311. "deliverygoodsdesc": {
  6312. "description": "品种说明",
  6313. "type": "string"
  6314. },
  6315. "deliverygoodsid": {
  6316. "description": "现货品种ID",
  6317. "type": "integer"
  6318. },
  6319. "handlestatus": {
  6320. "description": "处理状态",
  6321. "type": "integer"
  6322. },
  6323. "invoiceatt": {
  6324. "description": "发票附件",
  6325. "type": "string"
  6326. },
  6327. "invoicedatetime": {
  6328. "description": "开收票更新时间",
  6329. "type": "string"
  6330. },
  6331. "invoiceopentime": {
  6332. "description": "开票时间",
  6333. "type": "string"
  6334. },
  6335. "invoiceremark": {
  6336. "description": "发票备注",
  6337. "type": "string"
  6338. },
  6339. "invoicestatus": {
  6340. "description": "开收票状态 - 0:未开票 1:已开票",
  6341. "type": "integer"
  6342. },
  6343. "lastdate": {
  6344. "description": "交货时间",
  6345. "type": "string"
  6346. },
  6347. "marketid": {
  6348. "description": "市场ID",
  6349. "type": "integer"
  6350. },
  6351. "paydatetime": {
  6352. "description": "收付款更新时间",
  6353. "type": "string"
  6354. },
  6355. "payremark": {
  6356. "description": "收付款备注",
  6357. "type": "string"
  6358. },
  6359. "paystatus": {
  6360. "description": "收付款状态 - 0:未支付 1:已收款 2:已付款",
  6361. "type": "integer"
  6362. },
  6363. "positionqty": {
  6364. "description": "头寸数量 - 合同数量去小数部分",
  6365. "type": "integer"
  6366. },
  6367. "producttype": {
  6368. "description": "产品类型 - 1:标准仓单 2:等标 3:非标",
  6369. "type": "integer"
  6370. },
  6371. "relatedqty": {
  6372. "description": "已关联数量",
  6373. "type": "number"
  6374. },
  6375. "relatedstatus": {
  6376. "description": "关联完结状态 - 0:未结束 1:已结束",
  6377. "type": "integer"
  6378. },
  6379. "remark": {
  6380. "description": "备注",
  6381. "type": "string"
  6382. },
  6383. "signdate": {
  6384. "description": "签订日期",
  6385. "type": "string"
  6386. },
  6387. "spotcontractid": {
  6388. "description": "现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)",
  6389. "type": "string"
  6390. },
  6391. "spotdatetime": {
  6392. "description": "收发货更新时间",
  6393. "type": "string"
  6394. },
  6395. "spotprice": {
  6396. "description": "价格",
  6397. "type": "number"
  6398. },
  6399. "spotremark": {
  6400. "description": "收发货备注",
  6401. "type": "string"
  6402. },
  6403. "spotstatus": {
  6404. "description": "收发货状态 - 0:未交收 1:已发货 2:已发货",
  6405. "type": "integer"
  6406. },
  6407. "tradedate": {
  6408. "description": "交易日(yyyyMMdd)",
  6409. "type": "string"
  6410. },
  6411. "userid": {
  6412. "description": "业务员用户ID",
  6413. "type": "integer"
  6414. },
  6415. "warehouseid": {
  6416. "description": "仓库ID",
  6417. "type": "integer"
  6418. },
  6419. "wrfactortypeid": {
  6420. "description": "仓单要素类型ID",
  6421. "type": "integer"
  6422. },
  6423. "wrstandardid": {
  6424. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  6425. "type": "integer"
  6426. }
  6427. }
  6428. },
  6429. "erms3.AddErms2ASApplyReq": {
  6430. "type": "object",
  6431. "required": [
  6432. "asapplyid"
  6433. ],
  6434. "properties": {
  6435. "applybasis": {
  6436. "description": "申请基差",
  6437. "type": "number"
  6438. },
  6439. "applystatus": {
  6440. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6441. "type": "integer"
  6442. },
  6443. "asapplyid": {
  6444. "description": "策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)",
  6445. "type": "integer"
  6446. },
  6447. "asname": {
  6448. "description": "策略名称",
  6449. "type": "string"
  6450. },
  6451. "asno": {
  6452. "description": "策略编号",
  6453. "type": "string"
  6454. },
  6455. "auditid": {
  6456. "description": "审核人",
  6457. "type": "integer"
  6458. },
  6459. "auditremark": {
  6460. "description": "审核备注",
  6461. "type": "string"
  6462. },
  6463. "audittime": {
  6464. "description": "审核时间",
  6465. "type": "string"
  6466. },
  6467. "biztype": {
  6468. "description": "业务类型 - 1:正向套利 2:反向套利",
  6469. "type": "integer"
  6470. },
  6471. "createtime": {
  6472. "description": "创建时间",
  6473. "type": "string"
  6474. },
  6475. "creatorid": {
  6476. "description": "创建人",
  6477. "type": "integer"
  6478. },
  6479. "deliverygoodsid": {
  6480. "description": "现货品种ID",
  6481. "type": "integer"
  6482. },
  6483. "futurequote": {
  6484. "description": "期货额度",
  6485. "type": "number"
  6486. },
  6487. "goodsgroupid": {
  6488. "description": "期货品种ID",
  6489. "type": "integer"
  6490. },
  6491. "marketid": {
  6492. "description": "市场ID",
  6493. "type": "integer"
  6494. },
  6495. "remark": {
  6496. "description": "备注",
  6497. "type": "string"
  6498. },
  6499. "spotquota": {
  6500. "description": "现货额度",
  6501. "type": "number"
  6502. },
  6503. "tradedate": {
  6504. "description": "交易日(yyyyMMdd)",
  6505. "type": "string"
  6506. },
  6507. "userid": {
  6508. "description": "所属机构",
  6509. "type": "integer"
  6510. }
  6511. }
  6512. },
  6513. "erms3.AddErms2SpotTradeApplyReq": {
  6514. "type": "object",
  6515. "required": [
  6516. "spottradeid"
  6517. ],
  6518. "properties": {
  6519. "applyjsondetail": {
  6520. "description": "申请明细(JSON)",
  6521. "type": "string"
  6522. },
  6523. "applystatus": {
  6524. "description": "申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  6525. "type": "integer"
  6526. },
  6527. "areauserid": {
  6528. "description": "所属机构",
  6529. "type": "integer"
  6530. },
  6531. "auditid": {
  6532. "description": "审核人",
  6533. "type": "integer"
  6534. },
  6535. "auditremark": {
  6536. "description": "审核备注",
  6537. "type": "string"
  6538. },
  6539. "audittime": {
  6540. "description": "审核时间",
  6541. "type": "string"
  6542. },
  6543. "createtime": {
  6544. "description": "创建时间",
  6545. "type": "string"
  6546. },
  6547. "creatorid": {
  6548. "description": "创建人",
  6549. "type": "integer"
  6550. },
  6551. "deliverygoodsid": {
  6552. "description": "现货品种ID",
  6553. "type": "integer"
  6554. },
  6555. "futureaccountid": {
  6556. "description": "期货资金账户",
  6557. "type": "integer"
  6558. },
  6559. "goodsgroupid": {
  6560. "description": "期货品种",
  6561. "type": "integer"
  6562. },
  6563. "marketid": {
  6564. "description": "市场ID",
  6565. "type": "integer"
  6566. },
  6567. "remark": {
  6568. "description": "备注",
  6569. "type": "string"
  6570. },
  6571. "spotaccountid": {
  6572. "description": "现货资金账户",
  6573. "type": "integer"
  6574. },
  6575. "spottradeid": {
  6576. "description": "业务ID(341+Unix秒时间戳(10位)+xxxxxx)",
  6577. "type": "integer"
  6578. },
  6579. "spottradename": {
  6580. "description": "业务名称",
  6581. "type": "string"
  6582. },
  6583. "spottradeno": {
  6584. "description": "业务编号",
  6585. "type": "string"
  6586. },
  6587. "tradedate": {
  6588. "description": "交易日(yyyyMMdd)",
  6589. "type": "string"
  6590. },
  6591. "wrstandardid": {
  6592. "description": "仓单标准ID",
  6593. "type": "integer"
  6594. }
  6595. }
  6596. },
  6597. "erms3.AddSpotContractApplyReq": {
  6598. "type": "object",
  6599. "required": [
  6600. "accountid",
  6601. "areauserid",
  6602. "contractno",
  6603. "contracttype",
  6604. "customeraccountid",
  6605. "customeruserid",
  6606. "details",
  6607. "orimargin",
  6608. "signdate"
  6609. ],
  6610. "properties": {
  6611. "accountid": {
  6612. "description": "资金账户ID",
  6613. "type": "integer"
  6614. },
  6615. "areauserid": {
  6616. "description": "所属机构",
  6617. "type": "integer"
  6618. },
  6619. "contractattachment": {
  6620. "description": "合同附件",
  6621. "type": "string"
  6622. },
  6623. "contractno": {
  6624. "description": "现货合同编号",
  6625. "type": "string"
  6626. },
  6627. "contracttype": {
  6628. "description": "现货合同类型 - 1:采购 -1:销售",
  6629. "type": "integer"
  6630. },
  6631. "creatorid": {
  6632. "description": "申请人",
  6633. "type": "integer"
  6634. },
  6635. "customeraccountid": {
  6636. "description": "客户资金账户ID",
  6637. "type": "integer"
  6638. },
  6639. "customeruserid": {
  6640. "description": "客户ID",
  6641. "type": "integer"
  6642. },
  6643. "details": {
  6644. "description": "明细",
  6645. "type": "array",
  6646. "items": {
  6647. "$ref": "#/definitions/erms3.SoptContractDetail"
  6648. }
  6649. },
  6650. "orimargin": {
  6651. "description": "初始保证金",
  6652. "type": "number"
  6653. },
  6654. "remark": {
  6655. "description": "备注",
  6656. "type": "string"
  6657. },
  6658. "signdate": {
  6659. "description": "签订日期",
  6660. "type": "string"
  6661. }
  6662. }
  6663. },
  6664. "erms3.AddSpotContractApplyRsp": {
  6665. "type": "object",
  6666. "required": [
  6667. "contractno"
  6668. ],
  6669. "properties": {
  6670. "contractno": {
  6671. "description": "现货合同编号",
  6672. "type": "string"
  6673. },
  6674. "spotcontractid": {
  6675. "description": "现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)",
  6676. "type": "integer"
  6677. }
  6678. }
  6679. },
  6680. "erms3.AddUserInfoApplyReq": {
  6681. "type": "object",
  6682. "required": [
  6683. "userid"
  6684. ],
  6685. "properties": {
  6686. "accountid": {
  6687. "description": "交易系统帐号Id (加密存储)",
  6688. "type": "integer"
  6689. },
  6690. "areacode": {
  6691. "description": "机构代码",
  6692. "type": "string"
  6693. },
  6694. "areaid": {
  6695. "description": "机构Id",
  6696. "type": "integer"
  6697. },
  6698. "attachment1": {
  6699. "description": "附件1",
  6700. "type": "string"
  6701. },
  6702. "attachment2": {
  6703. "description": "附件2",
  6704. "type": "string"
  6705. },
  6706. "attachment3": {
  6707. "description": "附件3",
  6708. "type": "string"
  6709. },
  6710. "attachment4": {
  6711. "description": "附件4",
  6712. "type": "string"
  6713. },
  6714. "attachment5": {
  6715. "description": "附件5",
  6716. "type": "string"
  6717. },
  6718. "auditedby": {
  6719. "description": "审核人",
  6720. "type": "string"
  6721. },
  6722. "auditime": {
  6723. "description": "审核时间",
  6724. "type": "string"
  6725. },
  6726. "bankaccount": {
  6727. "description": "银行帐号 (加密存储)",
  6728. "type": "string"
  6729. },
  6730. "bankaccountname": {
  6731. "description": "收款人名称",
  6732. "type": "string"
  6733. },
  6734. "bankcardbackphotourl": {
  6735. "description": "银行卡背面照地址",
  6736. "type": "string"
  6737. },
  6738. "bankcardfrontphotourl": {
  6739. "description": "银行卡正面照地址",
  6740. "type": "string"
  6741. },
  6742. "bankid": {
  6743. "description": "银行编码",
  6744. "type": "string"
  6745. },
  6746. "bankname": {
  6747. "description": "银行名称",
  6748. "type": "string"
  6749. },
  6750. "bankpictureurl": {
  6751. "description": "银行卡正面地址",
  6752. "type": "string"
  6753. },
  6754. "biznature": {
  6755. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  6756. "type": "integer"
  6757. },
  6758. "bizscope": {
  6759. "description": "企业经营范围(企业)",
  6760. "type": "string"
  6761. },
  6762. "biztype": {
  6763. "description": "企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储",
  6764. "type": "integer"
  6765. },
  6766. "brokerid": {
  6767. "description": "经纪人ID(加密存储)",
  6768. "type": "string"
  6769. },
  6770. "cardaddress": {
  6771. "description": "证件地址 (加密存储)",
  6772. "type": "string"
  6773. },
  6774. "cardbackphotourl": {
  6775. "description": "背面证件照地址",
  6776. "type": "string"
  6777. },
  6778. "cardfrontphotourl": {
  6779. "description": "正面证件照地址",
  6780. "type": "string"
  6781. },
  6782. "cardnum": {
  6783. "description": "证件号码 (加密存储)",
  6784. "type": "string"
  6785. },
  6786. "cardtype": {
  6787. "description": "证件类型",
  6788. "type": "integer"
  6789. },
  6790. "cityid": {
  6791. "description": "市",
  6792. "type": "integer"
  6793. },
  6794. "company": {
  6795. "description": "公司(个人)",
  6796. "type": "string"
  6797. },
  6798. "contactcardbackphotourl": {
  6799. "description": "联系人证件背面图片地址",
  6800. "type": "string"
  6801. },
  6802. "contactcardfrontphotourl": {
  6803. "description": "联系人证件正面图片地址",
  6804. "type": "string"
  6805. },
  6806. "contactname": {
  6807. "description": "联系人",
  6808. "type": "string"
  6809. },
  6810. "countryid": {
  6811. "description": "国家",
  6812. "type": "integer"
  6813. },
  6814. "createtime": {
  6815. "description": "开户申请时间",
  6816. "type": "string"
  6817. },
  6818. "cusbankid": {
  6819. "description": "签约类型",
  6820. "type": "string"
  6821. },
  6822. "cusbankname": {
  6823. "description": "签约类型名称",
  6824. "type": "string"
  6825. },
  6826. "customername": {
  6827. "description": "客户名称(企业名称)",
  6828. "type": "string"
  6829. },
  6830. "districtid": {
  6831. "description": "地区",
  6832. "type": "integer"
  6833. },
  6834. "email": {
  6835. "description": "Email地址(加密存储)",
  6836. "type": "string"
  6837. },
  6838. "halfbodyphotourl": {
  6839. "description": "半身照地址",
  6840. "type": "string"
  6841. },
  6842. "headurl": {
  6843. "description": "头像地址",
  6844. "type": "string"
  6845. },
  6846. "ipaddress": {
  6847. "description": "IP地址",
  6848. "type": "string"
  6849. },
  6850. "isvalidate": {
  6851. "description": "是否有效 (删除后标记为失效) - 0:无效 1:有效",
  6852. "type": "string"
  6853. },
  6854. "legalcardbackphotourl": {
  6855. "description": "法人身份证背面照地址",
  6856. "type": "string"
  6857. },
  6858. "legalcardfrontphotourl": {
  6859. "description": "法人身份证正面照地址",
  6860. "type": "string"
  6861. },
  6862. "legalpersonname": {
  6863. "description": "法人姓名(企业)",
  6864. "type": "string"
  6865. },
  6866. "logincode": {
  6867. "description": "登录帐号 (加密存储)",
  6868. "type": "string"
  6869. },
  6870. "memberareaid": {
  6871. "description": "所属会员ID",
  6872. "type": "integer"
  6873. },
  6874. "mobile2": {
  6875. "description": "手机号码[明文-尚志]",
  6876. "type": "string"
  6877. },
  6878. "mobilephone": {
  6879. "description": "手机号码 (加密存储)",
  6880. "type": "string"
  6881. },
  6882. "modifiedby": {
  6883. "description": "修改人帐号",
  6884. "type": "integer"
  6885. },
  6886. "modifiedtime": {
  6887. "description": "修改时间",
  6888. "type": "string"
  6889. },
  6890. "nickname": {
  6891. "description": "昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)",
  6892. "type": "string"
  6893. },
  6894. "openmode": {
  6895. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)",
  6896. "type": "integer"
  6897. },
  6898. "otherurl": {
  6899. "description": "其它图片地址[使用分号分隔]",
  6900. "type": "string"
  6901. },
  6902. "postalcode": {
  6903. "description": "邮政编码",
  6904. "type": "string"
  6905. },
  6906. "provinceid": {
  6907. "description": "省",
  6908. "type": "integer"
  6909. },
  6910. "proxystatementurl": {
  6911. "description": "授权委托书",
  6912. "type": "string"
  6913. },
  6914. "qq": {
  6915. "description": "QQ(加密存储",
  6916. "type": "string"
  6917. },
  6918. "referral": {
  6919. "description": "推荐人编码",
  6920. "type": "string"
  6921. },
  6922. "remark": {
  6923. "description": "备注",
  6924. "type": "string"
  6925. },
  6926. "removebeforestatus": {
  6927. "description": "REMOVEBEFORESTATUS",
  6928. "type": "integer"
  6929. },
  6930. "sex": {
  6931. "description": "性别 - 0:女 1:男",
  6932. "type": "integer"
  6933. },
  6934. "signedstatus": {
  6935. "description": "账户一号签签约状态",
  6936. "type": "integer"
  6937. },
  6938. "signpdfurl": {
  6939. "description": "签约pdf文件",
  6940. "type": "string"
  6941. },
  6942. "subbranch": {
  6943. "description": "开户支行",
  6944. "type": "string"
  6945. },
  6946. "telphone": {
  6947. "description": "联系电话(加密存储)",
  6948. "type": "string"
  6949. },
  6950. "userid": {
  6951. "description": "用户ID(自增ID)",
  6952. "type": "integer"
  6953. },
  6954. "userinfotype": {
  6955. "description": "用户信息类型 - 1:个人 2:企业",
  6956. "type": "integer"
  6957. },
  6958. "username": {
  6959. "description": "用户姓名",
  6960. "type": "string"
  6961. },
  6962. "userstate": {
  6963. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  6964. "type": "integer"
  6965. },
  6966. "usertype": {
  6967. "description": "用户类型 - 1:投资者 2:机构",
  6968. "type": "integer"
  6969. },
  6970. "videourl": {
  6971. "description": "视频地址",
  6972. "type": "string"
  6973. },
  6974. "wechat": {
  6975. "description": "微信号 (加密存储)",
  6976. "type": "string"
  6977. }
  6978. }
  6979. },
  6980. "erms3.CustomerInfo": {
  6981. "type": "object",
  6982. "required": [
  6983. "userid"
  6984. ],
  6985. "properties": {
  6986. "accountids": {
  6987. "description": "资金账户ID列表",
  6988. "type": "array",
  6989. "items": {
  6990. "type": "integer"
  6991. }
  6992. },
  6993. "customername": {
  6994. "description": "名称(企业名称)",
  6995. "type": "string"
  6996. },
  6997. "mobile": {
  6998. "description": "手机号码",
  6999. "type": "string"
  7000. },
  7001. "userid": {
  7002. "description": "用户ID",
  7003. "type": "integer"
  7004. }
  7005. }
  7006. },
  7007. "erms3.QryAuditContractRsp": {
  7008. "type": "object",
  7009. "required": [
  7010. "matchcustomername",
  7011. "spotcontractid"
  7012. ],
  7013. "properties": {
  7014. "accountid": {
  7015. "description": "交易员ID",
  7016. "type": "string"
  7017. },
  7018. "applystatus": {
  7019. "description": "申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7020. "type": "integer"
  7021. },
  7022. "curdeliveryqty": {
  7023. "description": "未交收量",
  7024. "type": "integer"
  7025. },
  7026. "customername": {
  7027. "description": "采购方ID",
  7028. "type": "string"
  7029. },
  7030. "deliverygoodsid": {
  7031. "description": "品种ID",
  7032. "type": "string"
  7033. },
  7034. "deliveryqty": {
  7035. "description": "交收量",
  7036. "type": "integer"
  7037. },
  7038. "enumdicname": {
  7039. "description": "单位名称",
  7040. "type": "string"
  7041. },
  7042. "matchaccountid": {
  7043. "description": "业务员ID",
  7044. "type": "string"
  7045. },
  7046. "matchcustomername": {
  7047. "description": "销售方ID",
  7048. "type": "string"
  7049. },
  7050. "pricedqty": {
  7051. "description": "定价量",
  7052. "type": "number"
  7053. },
  7054. "signdate": {
  7055. "description": "签订日期",
  7056. "type": "string"
  7057. },
  7058. "spotcontractid": {
  7059. "description": "合同ID",
  7060. "type": "string"
  7061. },
  7062. "totaldqty": {
  7063. "description": "合同量",
  7064. "type": "number"
  7065. },
  7066. "unpricedqty": {
  7067. "description": "未定价量",
  7068. "type": "number"
  7069. },
  7070. "wrstandardname": {
  7071. "description": "商品名称",
  7072. "type": "string"
  7073. }
  7074. }
  7075. },
  7076. "erms3.QryPendingBizRsp": {
  7077. "type": "object",
  7078. "properties": {
  7079. "accountid": {
  7080. "description": "现货账户",
  7081. "type": "string"
  7082. },
  7083. "areaname": {
  7084. "description": "所属部门",
  7085. "type": "string"
  7086. },
  7087. "bizid": {
  7088. "description": "业务ID",
  7089. "type": "string"
  7090. },
  7091. "bizname": {
  7092. "description": "业务名称",
  7093. "type": "string"
  7094. },
  7095. "status": {
  7096. "description": "状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝",
  7097. "type": "integer"
  7098. },
  7099. "type": {
  7100. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易",
  7101. "type": "integer"
  7102. }
  7103. }
  7104. },
  7105. "erms3.QueryBusinessInfoRsp": {
  7106. "type": "object",
  7107. "properties": {
  7108. "businessid": {
  7109. "description": "业务ID.",
  7110. "type": "integer"
  7111. },
  7112. "buyamount": {
  7113. "description": "采购额.",
  7114. "type": "number"
  7115. },
  7116. "buyqty": {
  7117. "description": "采购量.",
  7118. "type": "string"
  7119. },
  7120. "futurepl": {
  7121. "description": "期货盈亏.",
  7122. "type": "number"
  7123. },
  7124. "futureqty": {
  7125. "description": "期货敞口.",
  7126. "type": "string"
  7127. },
  7128. "goodsid": {
  7129. "description": "商品名称/商品代码.",
  7130. "type": "string"
  7131. },
  7132. "hedgingqty": {
  7133. "description": "套保量.",
  7134. "type": "string"
  7135. },
  7136. "sellamount": {
  7137. "description": "销售额.",
  7138. "type": "number"
  7139. },
  7140. "sellqty": {
  7141. "description": "销售量.",
  7142. "type": "string"
  7143. },
  7144. "spotmarketvalue": {
  7145. "description": "现货市值.",
  7146. "type": "number"
  7147. },
  7148. "spotpl": {
  7149. "description": "浮动权益.",
  7150. "type": "number"
  7151. },
  7152. "spotqty": {
  7153. "description": "现货量.",
  7154. "type": "string"
  7155. },
  7156. "statu": {
  7157. "description": "状态,0-未结束 1-已结束.",
  7158. "type": "integer"
  7159. },
  7160. "totalpl": {
  7161. "description": "总盈亏.",
  7162. "type": "number"
  7163. },
  7164. "totalqty": {
  7165. "description": "总敞口.",
  7166. "type": "string"
  7167. },
  7168. "type": {
  7169. "description": "业务类型,1-期现套利,2-仓单回购,3-现货贸易.",
  7170. "type": "integer"
  7171. }
  7172. }
  7173. },
  7174. "erms3.QuerySpotContractAppleFormRsp": {
  7175. "type": "object",
  7176. "properties": {
  7177. "goodses": {
  7178. "description": "合约列表",
  7179. "type": "array",
  7180. "items": {
  7181. "$ref": "#/definitions/models.GoodsIDAndName"
  7182. }
  7183. },
  7184. "oppositeusers": {
  7185. "description": "对方账号列表",
  7186. "type": "array",
  7187. "items": {
  7188. "$ref": "#/definitions/erms3.CustomerInfo"
  7189. }
  7190. },
  7191. "ouruser": {
  7192. "description": "我方账号",
  7193. "$ref": "#/definitions/erms3.CustomerInfo"
  7194. },
  7195. "warehouseinfos": {
  7196. "description": "仓库信息列表",
  7197. "type": "array",
  7198. "items": {
  7199. "$ref": "#/definitions/models.Warehouseinfo"
  7200. }
  7201. },
  7202. "wrstandards": {
  7203. "description": "仓单标准列表",
  7204. "type": "array",
  7205. "items": {
  7206. "$ref": "#/definitions/models.WRStandardInfo"
  7207. }
  7208. }
  7209. }
  7210. },
  7211. "erms3.QuerySpotContractInfoRsp": {
  7212. "type": "object",
  7213. "properties": {
  7214. "accountid": {
  7215. "description": "表示交易员ID.",
  7216. "type": "integer"
  7217. },
  7218. "curdeliveryqty": {
  7219. "description": "表示未交收量.",
  7220. "type": "number"
  7221. },
  7222. "customername": {
  7223. "description": "若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.",
  7224. "type": "string"
  7225. },
  7226. "deliverygoodsid": {
  7227. "description": "表示品种ID.",
  7228. "type": "string"
  7229. },
  7230. "deliveryqty": {
  7231. "description": "表示交收量.",
  7232. "type": "number"
  7233. },
  7234. "matchaccountid": {
  7235. "description": "表示业务员ID.",
  7236. "type": "integer"
  7237. },
  7238. "matchcustomername": {
  7239. "description": "若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.",
  7240. "type": "string"
  7241. },
  7242. "priceqty": {
  7243. "description": "表示定价量.",
  7244. "type": "number"
  7245. },
  7246. "relatedbizid": {
  7247. "description": "表示业务ID.",
  7248. "type": "string"
  7249. },
  7250. "signdate": {
  7251. "description": "表示签订日期.",
  7252. "type": "string"
  7253. },
  7254. "spotcontractid": {
  7255. "description": "合同ID",
  7256. "type": "string"
  7257. },
  7258. "status": {
  7259. "description": "表示状态,0-履约中 1-已完成.",
  7260. "type": "integer"
  7261. },
  7262. "totalqty": {
  7263. "description": "表示合同量.",
  7264. "type": "number"
  7265. },
  7266. "unpricedqty": {
  7267. "description": "表示未定价量.",
  7268. "type": "number"
  7269. },
  7270. "wrstandardname": {
  7271. "description": "表示商品ID.",
  7272. "type": "string"
  7273. }
  7274. }
  7275. },
  7276. "erms3.QueryUserInfoAppliesRsp": {
  7277. "type": "object",
  7278. "required": [
  7279. "userid"
  7280. ],
  7281. "properties": {
  7282. "biznature": {
  7283. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7284. "type": "integer"
  7285. },
  7286. "contactname": {
  7287. "description": "联系人",
  7288. "type": "string"
  7289. },
  7290. "createtime": {
  7291. "description": "开户申请时间",
  7292. "type": "string"
  7293. },
  7294. "userid": {
  7295. "description": "用户ID(自增ID)",
  7296. "type": "integer"
  7297. },
  7298. "userinfotype": {
  7299. "description": "用户信息类型 - 1:个人 2:企业",
  7300. "type": "integer"
  7301. },
  7302. "username": {
  7303. "description": "用户姓名",
  7304. "type": "string"
  7305. },
  7306. "userstate": {
  7307. "description": "开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过",
  7308. "type": "integer"
  7309. }
  7310. }
  7311. },
  7312. "erms3.QueryUserInfosRsp": {
  7313. "type": "object",
  7314. "required": [
  7315. "userid"
  7316. ],
  7317. "properties": {
  7318. "biznature": {
  7319. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  7320. "type": "integer"
  7321. },
  7322. "contactname": {
  7323. "description": "联系人",
  7324. "type": "string"
  7325. },
  7326. "customername": {
  7327. "description": "客户名称(企业名称)",
  7328. "type": "string"
  7329. },
  7330. "userid": {
  7331. "description": "用户ID",
  7332. "type": "integer"
  7333. },
  7334. "userinfotype": {
  7335. "description": "用户信息类型 - 1:个人 2:企业",
  7336. "type": "integer"
  7337. },
  7338. "userstatus": {
  7339. "description": "用户状态 - 1:正常 2:注销",
  7340. "type": "integer"
  7341. }
  7342. }
  7343. },
  7344. "erms3.SoptContractDetail": {
  7345. "type": "object",
  7346. "required": [
  7347. "deliverygoodsid",
  7348. "producttype",
  7349. "unitname",
  7350. "warehouseid",
  7351. "wrstandardid",
  7352. "wrstandardname"
  7353. ],
  7354. "properties": {
  7355. "deliverygoodsdesc": {
  7356. "description": "现货品种说明",
  7357. "type": "string"
  7358. },
  7359. "deliverygoodsid": {
  7360. "description": "现货品种ID",
  7361. "type": "integer"
  7362. },
  7363. "deliverygoodsname": {
  7364. "description": "现货品种名称",
  7365. "type": "string"
  7366. },
  7367. "pointdesc": {
  7368. "description": "点价描述",
  7369. "type": "string"
  7370. },
  7371. "producttype": {
  7372. "description": "产品类型 1:标准仓单 2:等标 3:非标",
  7373. "type": "integer"
  7374. },
  7375. "producttypename": {
  7376. "description": "产品类型名称",
  7377. "type": "string"
  7378. },
  7379. "spotPointOrderVoList": {
  7380. "description": "点价列表",
  7381. "type": "array",
  7382. "items": {
  7383. "$ref": "#/definitions/erms3.SpotPointOrder"
  7384. }
  7385. },
  7386. "spotPriceOrderList": {
  7387. "description": "定价列表",
  7388. "type": "array",
  7389. "items": {
  7390. "$ref": "#/definitions/erms3.SpotPriceOrder"
  7391. }
  7392. },
  7393. "unitname": {
  7394. "description": "单位名称",
  7395. "type": "string"
  7396. },
  7397. "warehouseid": {
  7398. "description": "仓库ID",
  7399. "type": "integer"
  7400. },
  7401. "warehousename": {
  7402. "description": "仓库名称",
  7403. "type": "string"
  7404. },
  7405. "wrstandardid": {
  7406. "description": "交易标的ID",
  7407. "type": "integer"
  7408. },
  7409. "wrstandardname": {
  7410. "description": "交易标的名称",
  7411. "type": "string"
  7412. }
  7413. }
  7414. },
  7415. "erms3.SpotPointOrder": {
  7416. "type": "object",
  7417. "required": [
  7418. "basic",
  7419. "goodsid",
  7420. "qty"
  7421. ],
  7422. "properties": {
  7423. "basic": {
  7424. "description": "基差",
  7425. "type": "number"
  7426. },
  7427. "deliveryenddate": {
  7428. "description": "交收结束日期",
  7429. "type": "string"
  7430. },
  7431. "deliverystartdate": {
  7432. "description": "交收开始日期",
  7433. "type": "string"
  7434. },
  7435. "enddate": {
  7436. "description": "点价结束日期",
  7437. "type": "string"
  7438. },
  7439. "goodsid": {
  7440. "description": "商品ID",
  7441. "type": "integer"
  7442. },
  7443. "goodsname": {
  7444. "description": "商品名称",
  7445. "type": "string"
  7446. },
  7447. "qty": {
  7448. "description": "数量",
  7449. "type": "number"
  7450. },
  7451. "startdate": {
  7452. "description": "点价开始日期",
  7453. "type": "string"
  7454. }
  7455. }
  7456. },
  7457. "erms3.SpotPriceOrder": {
  7458. "type": "object",
  7459. "required": [
  7460. "amount",
  7461. "price",
  7462. "qty"
  7463. ],
  7464. "properties": {
  7465. "amount": {
  7466. "description": "金额",
  7467. "type": "number"
  7468. },
  7469. "deliveryenddate": {
  7470. "description": "交收结束日期",
  7471. "type": "string"
  7472. },
  7473. "deliverystartdate": {
  7474. "description": "交收开始日期",
  7475. "type": "string"
  7476. },
  7477. "price": {
  7478. "description": "价格",
  7479. "type": "number"
  7480. },
  7481. "qty": {
  7482. "description": "数量",
  7483. "type": "number"
  7484. }
  7485. }
  7486. },
  7487. "hsby.GetHsbyMyCountRsp": {
  7488. "type": "object",
  7489. "properties": {
  7490. "myCouponCount": {
  7491. "description": "我的优惠卷数量",
  7492. "type": "integer"
  7493. },
  7494. "myOrderDetailListingCount": {
  7495. "description": "我的订单求购中数量",
  7496. "type": "integer"
  7497. },
  7498. "myOrderDetailPreCount": {
  7499. "description": "我的订单抢购中数量",
  7500. "type": "integer"
  7501. },
  7502. "myPackageUnReceiveCount": {
  7503. "description": "我的包裹待收货数量",
  7504. "type": "integer"
  7505. },
  7506. "myPackageUnSendCount": {
  7507. "description": "我的包裹待发货数量",
  7508. "type": "integer"
  7509. },
  7510. "myPayOrderCount": {
  7511. "description": "我的订单待付款数量",
  7512. "type": "integer"
  7513. }
  7514. }
  7515. },
  7516. "hsby.QueryProvincesAndCitiesRsp": {
  7517. "type": "object",
  7518. "properties": {
  7519. "cities": {
  7520. "description": "市",
  7521. "type": "array",
  7522. "items": {
  7523. "$ref": "#/definitions/models.Division"
  7524. }
  7525. },
  7526. "province": {
  7527. "description": "省",
  7528. "$ref": "#/definitions/models.Division"
  7529. }
  7530. }
  7531. },
  7532. "models.Division": {
  7533. "type": "object",
  7534. "required": [
  7535. "autoid",
  7536. "divisioncode"
  7537. ],
  7538. "properties": {
  7539. "autoid": {
  7540. "description": "自增ID",
  7541. "type": "integer"
  7542. },
  7543. "divisioncode": {
  7544. "description": "行政代码",
  7545. "type": "string"
  7546. },
  7547. "divisionlevel": {
  7548. "description": "行政级别",
  7549. "type": "string"
  7550. },
  7551. "divisionname": {
  7552. "description": "行政名称",
  7553. "type": "string"
  7554. },
  7555. "modifierid": {
  7556. "description": "修改人",
  7557. "type": "integer"
  7558. },
  7559. "modifytime": {
  7560. "description": "修改时间",
  7561. "type": "string"
  7562. },
  7563. "parentcode": {
  7564. "description": "上级行政代码",
  7565. "type": "string"
  7566. },
  7567. "pathname": {
  7568. "description": "路径名称",
  7569. "type": "string"
  7570. },
  7571. "postcode": {
  7572. "description": "邮政编码",
  7573. "type": "string"
  7574. },
  7575. "separablename": {
  7576. "description": "可拆分的全称",
  7577. "type": "string"
  7578. },
  7579. "shortcode": {
  7580. "description": "地区简码",
  7581. "type": "string"
  7582. }
  7583. }
  7584. },
  7585. "models.Enumdicitem": {
  7586. "type": "object",
  7587. "required": [
  7588. "autoid",
  7589. "enumdiccode",
  7590. "enumdicid",
  7591. "enumitemname"
  7592. ],
  7593. "properties": {
  7594. "autoid": {
  7595. "description": "自增ID",
  7596. "type": "integer"
  7597. },
  7598. "bankmappedvalue": {
  7599. "description": "银行服务对应值",
  7600. "type": "string"
  7601. },
  7602. "enumdiccode": {
  7603. "description": "所属枚举代码",
  7604. "type": "string"
  7605. },
  7606. "enumdicid": {
  7607. "description": "所属枚举ID",
  7608. "type": "integer"
  7609. },
  7610. "enumdicname": {
  7611. "description": "枚举项名称",
  7612. "type": "string"
  7613. },
  7614. "enumitemname": {
  7615. "description": "枚举项值",
  7616. "type": "integer"
  7617. },
  7618. "enumitemstatus": {
  7619. "description": "枚举项状态 - 1.启用 2.不启用",
  7620. "type": "integer"
  7621. },
  7622. "enumitemvalue": {
  7623. "description": "通用值 - [币种通用简写]",
  7624. "type": "string"
  7625. },
  7626. "param1": {
  7627. "description": "参数1[币种:币种小数位]",
  7628. "type": "string"
  7629. },
  7630. "param2": {
  7631. "description": "参数1[币种:币种显示单位]",
  7632. "type": "string"
  7633. },
  7634. "remark": {
  7635. "description": "备注",
  7636. "type": "string"
  7637. }
  7638. }
  7639. },
  7640. "models.GoodsIDAndName": {
  7641. "type": "object",
  7642. "required": [
  7643. "goodscode",
  7644. "goodsid",
  7645. "goodsname",
  7646. "marketid"
  7647. ],
  7648. "properties": {
  7649. "goodscode": {
  7650. "description": "商品代码(内部)",
  7651. "type": "string"
  7652. },
  7653. "goodsid": {
  7654. "description": "商品ID(自增ID SEQ_GOODS)",
  7655. "type": "integer"
  7656. },
  7657. "goodsname": {
  7658. "description": "商品名称",
  7659. "type": "string"
  7660. },
  7661. "marketid": {
  7662. "description": "所属市场ID",
  7663. "type": "integer"
  7664. }
  7665. }
  7666. },
  7667. "models.HsbyBuyMyPayOrder": {
  7668. "type": "object",
  7669. "required": [
  7670. "goodscode",
  7671. "goodsname",
  7672. "tradeid",
  7673. "trademode"
  7674. ],
  7675. "properties": {
  7676. "agreeunit": {
  7677. "description": "合约单位",
  7678. "type": "number"
  7679. },
  7680. "buyaccountid": {
  7681. "description": "买方账号ID[报价币种]",
  7682. "type": "integer"
  7683. },
  7684. "buyorderid": {
  7685. "description": "买方委托单号",
  7686. "type": "string"
  7687. },
  7688. "createtime": {
  7689. "description": "创建时间",
  7690. "type": "string"
  7691. },
  7692. "currencysign": {
  7693. "description": "货币符号",
  7694. "type": "string"
  7695. },
  7696. "decimalplace": {
  7697. "description": "报价小数位",
  7698. "type": "integer"
  7699. },
  7700. "goodscode": {
  7701. "description": "商品代码(内部)",
  7702. "type": "string"
  7703. },
  7704. "goodsid": {
  7705. "description": "商品ID",
  7706. "type": "integer"
  7707. },
  7708. "goodsname": {
  7709. "description": "商品名称",
  7710. "type": "string"
  7711. },
  7712. "marketid": {
  7713. "description": "市场ID",
  7714. "type": "integer"
  7715. },
  7716. "offamount": {
  7717. "description": "优惠金额",
  7718. "type": "number"
  7719. },
  7720. "payamount": {
  7721. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  7722. "type": "number"
  7723. },
  7724. "payflag": {
  7725. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  7726. "type": "integer"
  7727. },
  7728. "paylimitedtime": {
  7729. "description": "支付期限",
  7730. "type": "string"
  7731. },
  7732. "paytime": {
  7733. "description": "付款时间",
  7734. "type": "string"
  7735. },
  7736. "picurls1": {
  7737. "description": "预售商品介绍图片[多张用逗号分隔]",
  7738. "type": "string"
  7739. },
  7740. "picurls2": {
  7741. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7742. "type": "string"
  7743. },
  7744. "sellaccountid": {
  7745. "description": "卖方账号ID[报价币种]",
  7746. "type": "integer"
  7747. },
  7748. "sellorderid": {
  7749. "description": "卖方委托单号",
  7750. "type": "string"
  7751. },
  7752. "tradeamount": {
  7753. "description": "成交金额",
  7754. "type": "number"
  7755. },
  7756. "tradecharge": {
  7757. "description": "成交手续费(买方)",
  7758. "type": "number"
  7759. },
  7760. "tradedate": {
  7761. "description": "交易日(yyyyMMdd)",
  7762. "type": "string"
  7763. },
  7764. "tradeid": {
  7765. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7766. "type": "string"
  7767. },
  7768. "trademode": {
  7769. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7770. "type": "integer"
  7771. },
  7772. "tradeprice": {
  7773. "description": "成交价格",
  7774. "type": "number"
  7775. },
  7776. "tradeqty": {
  7777. "description": "成交数量",
  7778. "type": "integer"
  7779. },
  7780. "vendorname1": {
  7781. "description": "预售商品供应商名称",
  7782. "type": "string"
  7783. },
  7784. "vendorname2": {
  7785. "description": "挂牌商品供应商名称",
  7786. "type": "string"
  7787. }
  7788. }
  7789. },
  7790. "models.HsbyBuyMyTradeDetail": {
  7791. "type": "object",
  7792. "required": [
  7793. "accountid",
  7794. "buyorsell",
  7795. "goodscode",
  7796. "goodsid",
  7797. "goodsname",
  7798. "marketid",
  7799. "orderid",
  7800. "qty",
  7801. "time",
  7802. "trademode"
  7803. ],
  7804. "properties": {
  7805. "accountid": {
  7806. "description": "账户ID[报价币种]",
  7807. "type": "integer"
  7808. },
  7809. "agreeunit": {
  7810. "description": "合约单位",
  7811. "type": "number"
  7812. },
  7813. "amount": {
  7814. "description": "金额 = 价格 * 数量 * 合约单位",
  7815. "type": "number"
  7816. },
  7817. "buyorsell": {
  7818. "description": "买卖 - 0:买 1:卖",
  7819. "type": "integer"
  7820. },
  7821. "currencysign": {
  7822. "description": "货币符号",
  7823. "type": "string"
  7824. },
  7825. "decimalplace": {
  7826. "description": "报价小数位",
  7827. "type": "integer"
  7828. },
  7829. "goodscode": {
  7830. "description": "商品代码(内部)",
  7831. "type": "string"
  7832. },
  7833. "goodsid": {
  7834. "description": "商品ID",
  7835. "type": "integer"
  7836. },
  7837. "goodsname": {
  7838. "description": "商品名称",
  7839. "type": "string"
  7840. },
  7841. "marketid": {
  7842. "description": "市场ID",
  7843. "type": "integer"
  7844. },
  7845. "orderid": {
  7846. "description": "单号(成交单号)",
  7847. "type": "string"
  7848. },
  7849. "picurls1": {
  7850. "description": "预售商品介绍图片[多张用逗号分隔]",
  7851. "type": "string"
  7852. },
  7853. "picurls2": {
  7854. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  7855. "type": "string"
  7856. },
  7857. "price": {
  7858. "description": "价格",
  7859. "type": "number"
  7860. },
  7861. "qty": {
  7862. "description": "数量",
  7863. "type": "integer"
  7864. },
  7865. "time": {
  7866. "description": "时间",
  7867. "type": "string"
  7868. },
  7869. "trademode": {
  7870. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  7871. "type": "integer"
  7872. },
  7873. "vendorname1": {
  7874. "description": "预售商品供应商名称",
  7875. "type": "string"
  7876. },
  7877. "vendorname2": {
  7878. "description": "挂牌商品供应商名称",
  7879. "type": "string"
  7880. }
  7881. }
  7882. },
  7883. "models.HsbyGoodsOrderDetail": {
  7884. "type": "object",
  7885. "required": [
  7886. "buyorsell",
  7887. "orderid",
  7888. "ordertime"
  7889. ],
  7890. "properties": {
  7891. "buyorsell": {
  7892. "description": "买卖 - 0:买 1:卖",
  7893. "type": "integer"
  7894. },
  7895. "currencysign": {
  7896. "description": "货币符号",
  7897. "type": "string"
  7898. },
  7899. "customername": {
  7900. "description": "客户名称(企业名称),已脱敏",
  7901. "type": "string"
  7902. },
  7903. "enableqty": {
  7904. "description": "可用数量",
  7905. "type": "integer"
  7906. },
  7907. "goodunit": {
  7908. "description": "报价单位",
  7909. "type": "string"
  7910. },
  7911. "orderid": {
  7912. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  7913. "type": "string"
  7914. },
  7915. "orderprice": {
  7916. "description": "委托价格",
  7917. "type": "number"
  7918. },
  7919. "ordertime": {
  7920. "description": "委托时间",
  7921. "type": "string"
  7922. }
  7923. }
  7924. },
  7925. "models.HsbyListingGoodsDetail": {
  7926. "type": "object",
  7927. "required": [
  7928. "goodscode",
  7929. "goodsid",
  7930. "goodsname",
  7931. "marketid",
  7932. "trademode"
  7933. ],
  7934. "properties": {
  7935. "agreeunit": {
  7936. "description": "合约单位",
  7937. "type": "number"
  7938. },
  7939. "buymaxqty": {
  7940. "description": "购买上限 [71] - 0为不限",
  7941. "type": "integer"
  7942. },
  7943. "currency": {
  7944. "description": "货币",
  7945. "type": "string"
  7946. },
  7947. "currencysign": {
  7948. "description": "货币符号",
  7949. "type": "string"
  7950. },
  7951. "decimalplace": {
  7952. "description": "报价小数位",
  7953. "type": "integer"
  7954. },
  7955. "desccityid": {
  7956. "description": "目的地(市)ID",
  7957. "type": "integer"
  7958. },
  7959. "descprovinceid": {
  7960. "description": "目的地(省)ID",
  7961. "type": "integer"
  7962. },
  7963. "goodscode": {
  7964. "description": "商品代码(内部)",
  7965. "type": "string"
  7966. },
  7967. "goodsdesc": {
  7968. "description": "商品详情",
  7969. "type": "string"
  7970. },
  7971. "goodsid": {
  7972. "description": "商品ID(自增ID SEQ_GOODS)",
  7973. "type": "integer"
  7974. },
  7975. "goodsname": {
  7976. "description": "商品名称",
  7977. "type": "string"
  7978. },
  7979. "goodsprice": {
  7980. "description": "商品价格",
  7981. "type": "number"
  7982. },
  7983. "hotindex": {
  7984. "description": "景点热度",
  7985. "type": "integer"
  7986. },
  7987. "last": {
  7988. "description": "现价",
  7989. "type": "number"
  7990. },
  7991. "limitdown": {
  7992. "description": "跌停价",
  7993. "type": "number"
  7994. },
  7995. "limitup": {
  7996. "description": "涨停价",
  7997. "type": "number"
  7998. },
  7999. "lotsize": {
  8000. "description": "手数最小变动单位",
  8001. "type": "integer"
  8002. },
  8003. "marketid": {
  8004. "description": "所属市场ID",
  8005. "type": "integer"
  8006. },
  8007. "picurls": {
  8008. "description": "介绍图片[多张用逗号分隔]",
  8009. "type": "string"
  8010. },
  8011. "quoteminunit": {
  8012. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8013. "type": "integer"
  8014. },
  8015. "stepvalue": {
  8016. "description": "价格最小变动单位",
  8017. "type": "number"
  8018. },
  8019. "trademode": {
  8020. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8021. "type": "integer"
  8022. },
  8023. "vendorattr": {
  8024. "description": "供应商附件(多张,逗号分隔)",
  8025. "type": "string"
  8026. },
  8027. "vendorname": {
  8028. "description": "供应商名称",
  8029. "type": "string"
  8030. },
  8031. "vendorphone": {
  8032. "description": "供应商客服电话",
  8033. "type": "string"
  8034. },
  8035. "videourls": {
  8036. "description": "介绍视频[多张用逗号分隔]",
  8037. "type": "string"
  8038. }
  8039. }
  8040. },
  8041. "models.HsbyMarketGoods": {
  8042. "type": "object",
  8043. "required": [
  8044. "accountid",
  8045. "buyorsell",
  8046. "goodscode",
  8047. "goodsid",
  8048. "goodsname",
  8049. "marketid",
  8050. "orderid",
  8051. "trademode"
  8052. ],
  8053. "properties": {
  8054. "accountid": {
  8055. "description": "账户ID[报价币种]",
  8056. "type": "integer"
  8057. },
  8058. "agreeunit": {
  8059. "description": "合约单位",
  8060. "type": "number"
  8061. },
  8062. "buyorsell": {
  8063. "description": "买卖 - 0:买 1:卖",
  8064. "type": "integer"
  8065. },
  8066. "categoryid": {
  8067. "description": "类别ID(WRCATEGORY)",
  8068. "type": "integer"
  8069. },
  8070. "currency": {
  8071. "description": "货币",
  8072. "type": "string"
  8073. },
  8074. "currencysign": {
  8075. "description": "货币符号",
  8076. "type": "string"
  8077. },
  8078. "customername": {
  8079. "description": "卖家名称",
  8080. "type": "string"
  8081. },
  8082. "decimalplace": {
  8083. "description": "报价小数位",
  8084. "type": "integer"
  8085. },
  8086. "goodscode": {
  8087. "description": "商品代码(内部)",
  8088. "type": "string"
  8089. },
  8090. "goodsid": {
  8091. "description": "商品ID",
  8092. "type": "integer"
  8093. },
  8094. "goodsname": {
  8095. "description": "商品名称",
  8096. "type": "string"
  8097. },
  8098. "hascoupon": {
  8099. "description": "是否可用优惠卷",
  8100. "type": "boolean"
  8101. },
  8102. "hotindex": {
  8103. "description": "景点热度",
  8104. "type": "integer"
  8105. },
  8106. "marketid": {
  8107. "description": "市场ID",
  8108. "type": "integer"
  8109. },
  8110. "orderid": {
  8111. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8112. "type": "string"
  8113. },
  8114. "orderprice": {
  8115. "description": "委托价格",
  8116. "type": "number"
  8117. },
  8118. "orderstatus": {
  8119. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8120. "type": "integer"
  8121. },
  8122. "picurls": {
  8123. "description": "介绍图片[多张用逗号分隔]",
  8124. "type": "string"
  8125. },
  8126. "quoteminunit": {
  8127. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8128. "type": "integer"
  8129. },
  8130. "sellUserID": {
  8131. "description": "卖方UserID",
  8132. "type": "integer"
  8133. },
  8134. "trademode": {
  8135. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8136. "type": "integer"
  8137. },
  8138. "videourls": {
  8139. "description": "介绍视频[多张用逗号分隔]",
  8140. "type": "string"
  8141. }
  8142. }
  8143. },
  8144. "models.HsbyMarketGoodsDetail": {
  8145. "type": "object",
  8146. "required": [
  8147. "accountid",
  8148. "buyorsell",
  8149. "goodscode",
  8150. "goodsid",
  8151. "goodsname",
  8152. "marketid",
  8153. "orderid",
  8154. "orderqty",
  8155. "trademode"
  8156. ],
  8157. "properties": {
  8158. "accountid": {
  8159. "description": "账户ID[报价币种]",
  8160. "type": "integer"
  8161. },
  8162. "agreeunit": {
  8163. "description": "合约单位",
  8164. "type": "number"
  8165. },
  8166. "buymaxqty": {
  8167. "description": "购买上限 [71] - 0为不限",
  8168. "type": "integer"
  8169. },
  8170. "buyorsell": {
  8171. "description": "买卖 - 0:买 1:卖",
  8172. "type": "integer"
  8173. },
  8174. "cancelqty": {
  8175. "description": "撤单数量",
  8176. "type": "integer"
  8177. },
  8178. "categoryid": {
  8179. "description": "类别ID(WRCATEGORY)",
  8180. "type": "integer"
  8181. },
  8182. "currency": {
  8183. "description": "货币",
  8184. "type": "string"
  8185. },
  8186. "currencysign": {
  8187. "description": "货币符号",
  8188. "type": "string"
  8189. },
  8190. "customername": {
  8191. "description": "卖家名称",
  8192. "type": "string"
  8193. },
  8194. "decimalplace": {
  8195. "description": "报价小数位",
  8196. "type": "integer"
  8197. },
  8198. "goodscode": {
  8199. "description": "商品代码(内部)",
  8200. "type": "string"
  8201. },
  8202. "goodsdesc": {
  8203. "description": "商品详情",
  8204. "type": "string"
  8205. },
  8206. "goodsid": {
  8207. "description": "商品ID",
  8208. "type": "integer"
  8209. },
  8210. "goodsname": {
  8211. "description": "商品名称",
  8212. "type": "string"
  8213. },
  8214. "hotindex": {
  8215. "description": "景点热度",
  8216. "type": "integer"
  8217. },
  8218. "lotsize": {
  8219. "description": "手数最小变动单位",
  8220. "type": "integer"
  8221. },
  8222. "marketid": {
  8223. "description": "市场ID",
  8224. "type": "integer"
  8225. },
  8226. "orderid": {
  8227. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8228. "type": "string"
  8229. },
  8230. "orderprice": {
  8231. "description": "委托价格",
  8232. "type": "number"
  8233. },
  8234. "orderqty": {
  8235. "description": "委托数量",
  8236. "type": "integer"
  8237. },
  8238. "orderstatus": {
  8239. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  8240. "type": "integer"
  8241. },
  8242. "picurls": {
  8243. "description": "介绍图片[多张用逗号分隔]",
  8244. "type": "string"
  8245. },
  8246. "quoteminunit": {
  8247. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8248. "type": "integer"
  8249. },
  8250. "sellUserID": {
  8251. "description": "卖方UserID",
  8252. "type": "integer"
  8253. },
  8254. "trademode": {
  8255. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8256. "type": "integer"
  8257. },
  8258. "tradeqty": {
  8259. "description": "成交数量",
  8260. "type": "integer"
  8261. },
  8262. "vendorname": {
  8263. "description": "供应商名称",
  8264. "type": "string"
  8265. },
  8266. "videourls": {
  8267. "description": "介绍视频[多张用逗号分隔]",
  8268. "type": "string"
  8269. }
  8270. }
  8271. },
  8272. "models.HsbyMarketInfo": {
  8273. "type": "object",
  8274. "required": [
  8275. "marketid",
  8276. "marketstatus",
  8277. "trademode"
  8278. ],
  8279. "properties": {
  8280. "marketid": {
  8281. "description": "市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务",
  8282. "type": "integer"
  8283. },
  8284. "marketname": {
  8285. "description": "市场名称",
  8286. "type": "string"
  8287. },
  8288. "marketstatus": {
  8289. "description": "生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销",
  8290. "type": "integer"
  8291. },
  8292. "trademode": {
  8293. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8294. "type": "integer"
  8295. }
  8296. }
  8297. },
  8298. "models.HsbyMyGoods": {
  8299. "type": "object",
  8300. "required": [
  8301. "accountid",
  8302. "goodscode",
  8303. "goodsid",
  8304. "goodsname",
  8305. "marketid",
  8306. "trademode"
  8307. ],
  8308. "properties": {
  8309. "accountid": {
  8310. "description": "账号Id",
  8311. "type": "integer"
  8312. },
  8313. "agreeunit": {
  8314. "description": "合约单位",
  8315. "type": "number"
  8316. },
  8317. "buyaverageprice": {
  8318. "description": "持仓均价",
  8319. "type": "number"
  8320. },
  8321. "buycurholderamount": {
  8322. "description": "买当前持仓总金额[商品币种]",
  8323. "type": "number"
  8324. },
  8325. "buycurpositionqty": {
  8326. "description": "买当前持仓总数量",
  8327. "type": "integer"
  8328. },
  8329. "currencysign": {
  8330. "description": "货币符号",
  8331. "type": "string"
  8332. },
  8333. "decimalplace": {
  8334. "description": "报价小数位",
  8335. "type": "integer"
  8336. },
  8337. "enableqty": {
  8338. "description": "可用数量",
  8339. "type": "integer"
  8340. },
  8341. "goodscode": {
  8342. "description": "商品代码(内部)",
  8343. "type": "string"
  8344. },
  8345. "goodsid": {
  8346. "description": "商品Id",
  8347. "type": "integer"
  8348. },
  8349. "goodsname": {
  8350. "description": "商品名称",
  8351. "type": "string"
  8352. },
  8353. "goodsprice": {
  8354. "description": "商品价格",
  8355. "type": "number"
  8356. },
  8357. "goodsstatus": {
  8358. "description": "商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市",
  8359. "type": "integer"
  8360. },
  8361. "marketid": {
  8362. "description": "所属市场ID",
  8363. "type": "integer"
  8364. },
  8365. "picurls": {
  8366. "description": "介绍图片[多张用逗号分隔]",
  8367. "type": "string"
  8368. },
  8369. "trademode": {
  8370. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8371. "type": "integer"
  8372. }
  8373. }
  8374. },
  8375. "models.HsbyMyPackage": {
  8376. "type": "object",
  8377. "required": [
  8378. "goodscode",
  8379. "goodsname",
  8380. "takeorderid"
  8381. ],
  8382. "properties": {
  8383. "accountid": {
  8384. "description": "账户ID",
  8385. "type": "integer"
  8386. },
  8387. "address": {
  8388. "description": "提货人详细地址",
  8389. "type": "string"
  8390. },
  8391. "agreeunit": {
  8392. "description": "合约单位",
  8393. "type": "number"
  8394. },
  8395. "amount": {
  8396. "description": "提货金额",
  8397. "type": "number"
  8398. },
  8399. "auditer": {
  8400. "description": "审核人",
  8401. "type": "integer"
  8402. },
  8403. "audittime": {
  8404. "description": "审核时间",
  8405. "type": "string"
  8406. },
  8407. "averageprice": {
  8408. "description": "均价",
  8409. "type": "number"
  8410. },
  8411. "cardnum": {
  8412. "description": "提货人证件号码",
  8413. "type": "string"
  8414. },
  8415. "cardtypeid": {
  8416. "description": "提货人证件类型",
  8417. "type": "integer"
  8418. },
  8419. "checkremark": {
  8420. "description": "审核备注",
  8421. "type": "string"
  8422. },
  8423. "currencysign": {
  8424. "description": "货币符号",
  8425. "type": "string"
  8426. },
  8427. "decimalplace": {
  8428. "description": "报价小数位",
  8429. "type": "integer"
  8430. },
  8431. "goodscode": {
  8432. "description": "商品代码(内部)",
  8433. "type": "string"
  8434. },
  8435. "goodsid": {
  8436. "description": "商品ID",
  8437. "type": "integer"
  8438. },
  8439. "goodsname": {
  8440. "description": "商品名称",
  8441. "type": "string"
  8442. },
  8443. "handlestatus": {
  8444. "description": "处理状态",
  8445. "type": "integer"
  8446. },
  8447. "marketid": {
  8448. "description": "市场ID",
  8449. "type": "integer"
  8450. },
  8451. "phonenum": {
  8452. "description": "提货人联系方式",
  8453. "type": "string"
  8454. },
  8455. "picurls": {
  8456. "description": "介绍图片[多张用逗号分隔]",
  8457. "type": "string"
  8458. },
  8459. "qty": {
  8460. "description": "提货数量",
  8461. "type": "number"
  8462. },
  8463. "recivername": {
  8464. "description": "提货人姓名",
  8465. "type": "string"
  8466. },
  8467. "reqtime": {
  8468. "description": "更新时间",
  8469. "type": "string"
  8470. },
  8471. "takemode": {
  8472. "description": "提货方式 - 2:自提 3:配送",
  8473. "type": "integer"
  8474. },
  8475. "takeorderid": {
  8476. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  8477. "type": "string"
  8478. },
  8479. "takeorderstatus": {
  8480. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  8481. "type": "integer"
  8482. },
  8483. "takeremark": {
  8484. "description": "提货备注",
  8485. "type": "string"
  8486. },
  8487. "tradedate": {
  8488. "description": "交易日(yyyyMMdd)",
  8489. "type": "string"
  8490. },
  8491. "userid": {
  8492. "description": "用户ID",
  8493. "type": "integer"
  8494. },
  8495. "vendorname": {
  8496. "description": "供应商名称",
  8497. "type": "string"
  8498. }
  8499. }
  8500. },
  8501. "models.HsbyPreGoods": {
  8502. "type": "object",
  8503. "required": [
  8504. "goodscode",
  8505. "goodsid",
  8506. "goodsname",
  8507. "marketid",
  8508. "trademode"
  8509. ],
  8510. "properties": {
  8511. "agreeunit": {
  8512. "description": "合约单位",
  8513. "type": "number"
  8514. },
  8515. "currency": {
  8516. "description": "货币",
  8517. "type": "string"
  8518. },
  8519. "currencysign": {
  8520. "description": "货币符号",
  8521. "type": "string"
  8522. },
  8523. "decimalplace": {
  8524. "description": "报价小数位",
  8525. "type": "integer"
  8526. },
  8527. "enableqty": {
  8528. "description": "剩余数量",
  8529. "type": "integer"
  8530. },
  8531. "goodscode": {
  8532. "description": "商品代码(内部)",
  8533. "type": "string"
  8534. },
  8535. "goodsid": {
  8536. "description": "商品ID(自增ID SEQ_GOODS)",
  8537. "type": "integer"
  8538. },
  8539. "goodsname": {
  8540. "description": "商品名称",
  8541. "type": "string"
  8542. },
  8543. "goodsstatus": {
  8544. "description": "商品状态- 2:未上市 3:上市",
  8545. "type": "integer"
  8546. },
  8547. "lasttradedate": {
  8548. "description": "最后交易日期(状态:待退市)",
  8549. "type": "string"
  8550. },
  8551. "listingdate": {
  8552. "description": "交易开始日期",
  8553. "type": "string"
  8554. },
  8555. "marketid": {
  8556. "description": "所属市场ID",
  8557. "type": "integer"
  8558. },
  8559. "picurls": {
  8560. "description": "介绍图片[多张用逗号分隔]",
  8561. "type": "string"
  8562. },
  8563. "presaledqty": {
  8564. "description": "已预售量(预售结束时更新)",
  8565. "type": "integer"
  8566. },
  8567. "presaleqty": {
  8568. "description": "预售数量",
  8569. "type": "integer"
  8570. },
  8571. "quoteminunit": {
  8572. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8573. "type": "integer"
  8574. },
  8575. "refprice": {
  8576. "description": "参考价格[一口价]",
  8577. "type": "number"
  8578. },
  8579. "relatedgoodsid": {
  8580. "description": "关联交易合约ID",
  8581. "type": "integer"
  8582. },
  8583. "trademode": {
  8584. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8585. "type": "integer"
  8586. },
  8587. "videourls": {
  8588. "description": "介绍视频[多张用逗号分隔]",
  8589. "type": "string"
  8590. }
  8591. }
  8592. },
  8593. "models.HsbyPreGoodsDetail": {
  8594. "type": "object",
  8595. "required": [
  8596. "goodscode",
  8597. "goodsid",
  8598. "goodsname",
  8599. "marketid",
  8600. "trademode"
  8601. ],
  8602. "properties": {
  8603. "agreeunit": {
  8604. "description": "合约单位",
  8605. "type": "number"
  8606. },
  8607. "buymaxqty": {
  8608. "description": "购买上限 [71] - 0为不限",
  8609. "type": "integer"
  8610. },
  8611. "currency": {
  8612. "description": "货币",
  8613. "type": "string"
  8614. },
  8615. "currencysign": {
  8616. "description": "货币符号",
  8617. "type": "string"
  8618. },
  8619. "customername": {
  8620. "description": "发行单位",
  8621. "type": "string"
  8622. },
  8623. "decimalplace": {
  8624. "description": "报价小数位",
  8625. "type": "integer"
  8626. },
  8627. "desccityid": {
  8628. "description": "目的地(市)ID",
  8629. "type": "integer"
  8630. },
  8631. "descprovinceid": {
  8632. "description": "目的地(省)ID",
  8633. "type": "integer"
  8634. },
  8635. "enableqty": {
  8636. "description": "剩余数量",
  8637. "type": "integer"
  8638. },
  8639. "goodscode": {
  8640. "description": "商品代码(内部)",
  8641. "type": "string"
  8642. },
  8643. "goodsdesc": {
  8644. "description": "商品详情",
  8645. "type": "string"
  8646. },
  8647. "goodsid": {
  8648. "description": "商品ID(自增ID SEQ_GOODS)",
  8649. "type": "integer"
  8650. },
  8651. "goodsname": {
  8652. "description": "商品名称",
  8653. "type": "string"
  8654. },
  8655. "goodsstatus": {
  8656. "description": "商品状态- 2:未上市 3:上市",
  8657. "type": "integer"
  8658. },
  8659. "goodunit": {
  8660. "description": "报价单位",
  8661. "type": "string"
  8662. },
  8663. "lasttradedate": {
  8664. "description": "最后交易日期(状态:待退市)",
  8665. "type": "string"
  8666. },
  8667. "listingdate": {
  8668. "description": "交易开始日期",
  8669. "type": "string"
  8670. },
  8671. "lotsize": {
  8672. "description": "手数最小变动单位",
  8673. "type": "integer"
  8674. },
  8675. "marketid": {
  8676. "description": "所属市场ID",
  8677. "type": "integer"
  8678. },
  8679. "picurls": {
  8680. "description": "介绍图片[多张用逗号分隔]",
  8681. "type": "string"
  8682. },
  8683. "presaledqty": {
  8684. "description": "已预售量(预售结束时更新)",
  8685. "type": "integer"
  8686. },
  8687. "presaleqty": {
  8688. "description": "预售数量",
  8689. "type": "integer"
  8690. },
  8691. "quoteminunit": {
  8692. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8693. "type": "integer"
  8694. },
  8695. "refprice": {
  8696. "description": "参考价格[一口价]",
  8697. "type": "number"
  8698. },
  8699. "relatedgoodsid": {
  8700. "description": "关联交易合约ID",
  8701. "type": "integer"
  8702. },
  8703. "stepvalue": {
  8704. "description": "价格最小变动单位",
  8705. "type": "number"
  8706. },
  8707. "trademode": {
  8708. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8709. "type": "integer"
  8710. },
  8711. "vendorattr": {
  8712. "description": "供应商附件(多张,逗号分隔)",
  8713. "type": "string"
  8714. },
  8715. "vendorname": {
  8716. "description": "供应商名称",
  8717. "type": "string"
  8718. },
  8719. "vendorphone": {
  8720. "description": "供应商客服电话",
  8721. "type": "string"
  8722. },
  8723. "videourls": {
  8724. "description": "介绍视频[多张用逗号分隔]",
  8725. "type": "string"
  8726. }
  8727. }
  8728. },
  8729. "models.HsbySellCollectionOrder": {
  8730. "type": "object",
  8731. "required": [
  8732. "goodscode",
  8733. "goodsname",
  8734. "tradeid",
  8735. "trademode"
  8736. ],
  8737. "properties": {
  8738. "agreeunit": {
  8739. "description": "合约单位",
  8740. "type": "number"
  8741. },
  8742. "buyaccountid": {
  8743. "description": "买方账号ID[报价币种]",
  8744. "type": "integer"
  8745. },
  8746. "buyorderid": {
  8747. "description": "买方委托单号",
  8748. "type": "string"
  8749. },
  8750. "createtime": {
  8751. "description": "创建时间",
  8752. "type": "string"
  8753. },
  8754. "currencysign": {
  8755. "description": "货币符号",
  8756. "type": "string"
  8757. },
  8758. "decimalplace": {
  8759. "description": "报价小数位",
  8760. "type": "integer"
  8761. },
  8762. "goodscode": {
  8763. "description": "商品代码(内部)",
  8764. "type": "string"
  8765. },
  8766. "goodsid": {
  8767. "description": "商品ID",
  8768. "type": "integer"
  8769. },
  8770. "goodsname": {
  8771. "description": "商品名称",
  8772. "type": "string"
  8773. },
  8774. "marketid": {
  8775. "description": "市场ID",
  8776. "type": "integer"
  8777. },
  8778. "offamount": {
  8779. "description": "优惠金额",
  8780. "type": "number"
  8781. },
  8782. "payamount": {
  8783. "description": "支付金额 = TradeAmount + TradeCharge - OffAmount",
  8784. "type": "number"
  8785. },
  8786. "payflag": {
  8787. "description": "付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止",
  8788. "type": "integer"
  8789. },
  8790. "paylimitedtime": {
  8791. "description": "支付期限",
  8792. "type": "string"
  8793. },
  8794. "paytime": {
  8795. "description": "付款时间",
  8796. "type": "string"
  8797. },
  8798. "picurls": {
  8799. "description": "商品介绍图片[多张用逗号分隔]",
  8800. "type": "string"
  8801. },
  8802. "sellaccountid": {
  8803. "description": "卖方账号ID[报价币种]",
  8804. "type": "integer"
  8805. },
  8806. "sellorderid": {
  8807. "description": "卖方委托单号",
  8808. "type": "string"
  8809. },
  8810. "tradeamount": {
  8811. "description": "成交金额",
  8812. "type": "number"
  8813. },
  8814. "tradecharge": {
  8815. "description": "成交手续费(买方)",
  8816. "type": "number"
  8817. },
  8818. "tradedate": {
  8819. "description": "交易日(yyyyMMdd)",
  8820. "type": "string"
  8821. },
  8822. "tradeid": {
  8823. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  8824. "type": "string"
  8825. },
  8826. "trademode": {
  8827. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8828. "type": "integer"
  8829. },
  8830. "tradeprice": {
  8831. "description": "成交价格",
  8832. "type": "number"
  8833. },
  8834. "tradeqty": {
  8835. "description": "成交数量",
  8836. "type": "integer"
  8837. }
  8838. }
  8839. },
  8840. "models.HsbySellMyDetail": {
  8841. "type": "object",
  8842. "required": [
  8843. "accountid",
  8844. "buyorsell",
  8845. "goodscode",
  8846. "goodsid",
  8847. "goodsname",
  8848. "marketid",
  8849. "orderid",
  8850. "time",
  8851. "trademode"
  8852. ],
  8853. "properties": {
  8854. "accountid": {
  8855. "description": "账户ID[报价币种]",
  8856. "type": "integer"
  8857. },
  8858. "agreeunit": {
  8859. "description": "合约单位",
  8860. "type": "number"
  8861. },
  8862. "buyorsell": {
  8863. "description": "买卖 - 0:买 1:卖",
  8864. "type": "integer"
  8865. },
  8866. "currencysign": {
  8867. "description": "货币符号",
  8868. "type": "string"
  8869. },
  8870. "decimalplace": {
  8871. "description": "报价小数位",
  8872. "type": "integer"
  8873. },
  8874. "goodscode": {
  8875. "description": "商品代码(内部)",
  8876. "type": "string"
  8877. },
  8878. "goodsid": {
  8879. "description": "商品ID",
  8880. "type": "integer"
  8881. },
  8882. "goodsname": {
  8883. "description": "商品名称",
  8884. "type": "string"
  8885. },
  8886. "marketid": {
  8887. "description": "市场ID",
  8888. "type": "integer"
  8889. },
  8890. "orderid": {
  8891. "description": "单号(发布中 - 委托单号;已完成 - 成交单号)",
  8892. "type": "string"
  8893. },
  8894. "ordertype": {
  8895. "description": "单据类型:0 - 发布中, 1 - 已完成",
  8896. "type": "integer"
  8897. },
  8898. "picurls": {
  8899. "description": "介绍图片[多张用逗号分隔]",
  8900. "type": "string"
  8901. },
  8902. "price": {
  8903. "description": "价格",
  8904. "type": "number"
  8905. },
  8906. "qty": {
  8907. "description": "数量",
  8908. "type": "integer"
  8909. },
  8910. "time": {
  8911. "description": "时间",
  8912. "type": "string"
  8913. },
  8914. "trademode": {
  8915. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8916. "type": "integer"
  8917. },
  8918. "vendorname": {
  8919. "description": "供应商名称",
  8920. "type": "string"
  8921. }
  8922. }
  8923. },
  8924. "models.HsbyTopGoods": {
  8925. "type": "object",
  8926. "required": [
  8927. "goodscode",
  8928. "goodsid",
  8929. "goodsname",
  8930. "marketid",
  8931. "trademode"
  8932. ],
  8933. "properties": {
  8934. "agreeunit": {
  8935. "description": "合约单位",
  8936. "type": "number"
  8937. },
  8938. "currency": {
  8939. "description": "货币",
  8940. "type": "string"
  8941. },
  8942. "currencysign": {
  8943. "description": "货币符号",
  8944. "type": "string"
  8945. },
  8946. "decimalplace": {
  8947. "description": "报价小数位",
  8948. "type": "integer"
  8949. },
  8950. "goodscode": {
  8951. "description": "商品代码(内部)",
  8952. "type": "string"
  8953. },
  8954. "goodsid": {
  8955. "description": "商品ID(自增ID SEQ_GOODS)",
  8956. "type": "integer"
  8957. },
  8958. "goodsname": {
  8959. "description": "商品名称",
  8960. "type": "string"
  8961. },
  8962. "hotindex": {
  8963. "description": "景点热度",
  8964. "type": "integer"
  8965. },
  8966. "last": {
  8967. "description": "现价",
  8968. "type": "number"
  8969. },
  8970. "marketid": {
  8971. "description": "所属市场ID",
  8972. "type": "integer"
  8973. },
  8974. "picurls": {
  8975. "description": "介绍图片[多张用逗号分隔]",
  8976. "type": "string"
  8977. },
  8978. "quoteminunit": {
  8979. "description": "行情最小变动单位 [整数,报价小数位一起使用]",
  8980. "type": "integer"
  8981. },
  8982. "trademode": {
  8983. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  8984. "type": "integer"
  8985. },
  8986. "videourls": {
  8987. "description": "介绍视频[多张用逗号分隔]",
  8988. "type": "string"
  8989. }
  8990. }
  8991. },
  8992. "models.HybsMyBuyOrderDetail": {
  8993. "type": "object",
  8994. "required": [
  8995. "accountid",
  8996. "buyorsell",
  8997. "goodscode",
  8998. "goodsid",
  8999. "goodsname",
  9000. "marketid",
  9001. "orderid",
  9002. "orderqty",
  9003. "ordertime",
  9004. "trademode"
  9005. ],
  9006. "properties": {
  9007. "accountid": {
  9008. "description": "账户ID[报价币种]",
  9009. "type": "integer"
  9010. },
  9011. "agreeunit": {
  9012. "description": "合约单位",
  9013. "type": "number"
  9014. },
  9015. "buyorsell": {
  9016. "description": "买卖 - 0:买 1:卖",
  9017. "type": "integer"
  9018. },
  9019. "cancelqty": {
  9020. "description": "撤单数量",
  9021. "type": "integer"
  9022. },
  9023. "currencysign": {
  9024. "description": "货币符号",
  9025. "type": "string"
  9026. },
  9027. "decimalplace": {
  9028. "description": "报价小数位",
  9029. "type": "integer"
  9030. },
  9031. "goodscode": {
  9032. "description": "商品代码(内部)",
  9033. "type": "string"
  9034. },
  9035. "goodsid": {
  9036. "description": "商品ID",
  9037. "type": "integer"
  9038. },
  9039. "goodsname": {
  9040. "description": "商品名称",
  9041. "type": "string"
  9042. },
  9043. "listingselecttype": {
  9044. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  9045. "type": "integer"
  9046. },
  9047. "marketid": {
  9048. "description": "市场ID",
  9049. "type": "integer"
  9050. },
  9051. "mybuystatus": {
  9052. "description": "\"我的订单\"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败",
  9053. "type": "integer"
  9054. },
  9055. "orderamount": {
  9056. "description": "委托金额",
  9057. "type": "number"
  9058. },
  9059. "orderid": {
  9060. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9061. "type": "string"
  9062. },
  9063. "orderprice": {
  9064. "description": "委托价格",
  9065. "type": "number"
  9066. },
  9067. "orderqty": {
  9068. "description": "委托数量",
  9069. "type": "integer"
  9070. },
  9071. "orderstatus": {
  9072. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  9073. "type": "integer"
  9074. },
  9075. "ordertime": {
  9076. "description": "委托时间",
  9077. "type": "string"
  9078. },
  9079. "picurls1": {
  9080. "description": "预售商品介绍图片[多张用逗号分隔]",
  9081. "type": "string"
  9082. },
  9083. "picurls2": {
  9084. "description": "挂牌商品介绍图片[多张用逗号分隔]",
  9085. "type": "string"
  9086. },
  9087. "trademode": {
  9088. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9089. "type": "integer"
  9090. },
  9091. "tradeqty": {
  9092. "description": "成交数量",
  9093. "type": "integer"
  9094. },
  9095. "vendorname1": {
  9096. "description": "预售商品供应商名称",
  9097. "type": "string"
  9098. },
  9099. "vendorname2": {
  9100. "description": "挂牌商品供应商名称",
  9101. "type": "string"
  9102. }
  9103. }
  9104. },
  9105. "models.Marketrun": {
  9106. "type": "object",
  9107. "required": [
  9108. "marketid",
  9109. "nexttradedate",
  9110. "reckonflag",
  9111. "runstatus",
  9112. "tradedate",
  9113. "tradedate2"
  9114. ],
  9115. "properties": {
  9116. "afternexttradedate": {
  9117. "description": "下下交易日",
  9118. "type": "string"
  9119. },
  9120. "clearquoteflag": {
  9121. "description": "行情清盘标志- 1:未发送 2:已发送 3:已回复",
  9122. "type": "integer"
  9123. },
  9124. "lastreckondate": {
  9125. "description": "最新交易日(结算成功)",
  9126. "type": "string"
  9127. },
  9128. "machinedate": {
  9129. "description": "机器时间",
  9130. "type": "string"
  9131. },
  9132. "manualflag": {
  9133. "description": "手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)",
  9134. "type": "integer"
  9135. },
  9136. "marketid": {
  9137. "description": "市场ID",
  9138. "type": "integer"
  9139. },
  9140. "nexttradedate": {
  9141. "description": "下一交易日",
  9142. "type": "string"
  9143. },
  9144. "pretradedate": {
  9145. "description": "上一交易日",
  9146. "type": "string"
  9147. },
  9148. "reckonflag": {
  9149. "description": "结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)",
  9150. "type": "integer"
  9151. },
  9152. "runstatus": {
  9153. "description": "运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算",
  9154. "type": "integer"
  9155. },
  9156. "sectionid": {
  9157. "description": "时间段号[多时段时用]",
  9158. "type": "integer"
  9159. },
  9160. "tradedate": {
  9161. "description": "当前交易日(服务) 资金结算完成即变更,供交易服务使用",
  9162. "type": "string"
  9163. },
  9164. "tradedate2": {
  9165. "description": "当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用",
  9166. "type": "string"
  9167. },
  9168. "updatetime": {
  9169. "description": "更新时间",
  9170. "type": "string"
  9171. }
  9172. }
  9173. },
  9174. "models.Messageboard": {
  9175. "type": "object",
  9176. "required": [
  9177. "messageboardid"
  9178. ],
  9179. "properties": {
  9180. "createtime": {
  9181. "description": "创建时间",
  9182. "type": "string"
  9183. },
  9184. "message": {
  9185. "description": "留言信息",
  9186. "type": "string"
  9187. },
  9188. "messageboardid": {
  9189. "description": "留言簿ID(SEQ_MessageBoard)",
  9190. "type": "integer"
  9191. },
  9192. "userid": {
  9193. "description": "用户ID",
  9194. "type": "integer"
  9195. }
  9196. }
  9197. },
  9198. "models.MyCoupon": {
  9199. "type": "object",
  9200. "required": [
  9201. "accountid",
  9202. "coupontypeid"
  9203. ],
  9204. "properties": {
  9205. "accountid": {
  9206. "description": "资金账户ID",
  9207. "type": "integer"
  9208. },
  9209. "areauserid": {
  9210. "description": "所属机构",
  9211. "type": "integer"
  9212. },
  9213. "conditionvalue": {
  9214. "description": "条件阈值(可为0)",
  9215. "type": "number"
  9216. },
  9217. "couponcategroy": {
  9218. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单张)",
  9219. "type": "integer"
  9220. },
  9221. "couponname": {
  9222. "description": "优惠券名称",
  9223. "type": "string"
  9224. },
  9225. "coupontypeid": {
  9226. "description": "优惠券类型ID",
  9227. "type": "string"
  9228. },
  9229. "couponvalue": {
  9230. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9231. "type": "number"
  9232. },
  9233. "curfreezeqty": {
  9234. "description": "期末冻结数量",
  9235. "type": "integer"
  9236. },
  9237. "curqty": {
  9238. "description": "期末数量",
  9239. "type": "integer"
  9240. },
  9241. "isgeneral": {
  9242. "description": "是否通用券 - 0:否 1:是",
  9243. "type": "integer"
  9244. },
  9245. "isunusable": {
  9246. "description": "是否不可用",
  9247. "type": "boolean"
  9248. },
  9249. "limitedflag": {
  9250. "description": "是否指定商品 - 0:不限 1:限制",
  9251. "type": "integer"
  9252. },
  9253. "limitedgoodsids": {
  9254. "description": "指定商品IDs[逗号分隔,前后加逗号]",
  9255. "type": "string"
  9256. },
  9257. "orifreezeqty": {
  9258. "description": "期初冻结数量",
  9259. "type": "integer"
  9260. },
  9261. "oriqty": {
  9262. "description": "期初数量",
  9263. "type": "integer"
  9264. },
  9265. "reasontype": {
  9266. "description": "不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家",
  9267. "type": "integer"
  9268. },
  9269. "todaydecrease": {
  9270. "description": "今日减少",
  9271. "type": "integer"
  9272. },
  9273. "todayincrease": {
  9274. "description": "今日增加",
  9275. "type": "integer"
  9276. },
  9277. "userid": {
  9278. "description": "用户ID",
  9279. "type": "integer"
  9280. },
  9281. "userscope": {
  9282. "description": "卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]",
  9283. "type": "string"
  9284. }
  9285. }
  9286. },
  9287. "models.MyCouponHold": {
  9288. "type": "object",
  9289. "required": [
  9290. "couponholdid"
  9291. ],
  9292. "properties": {
  9293. "accountid": {
  9294. "description": "资金账户ID",
  9295. "type": "integer"
  9296. },
  9297. "conditionvalue": {
  9298. "description": "条件阈值(可为0)",
  9299. "type": "number"
  9300. },
  9301. "couponcategroy": {
  9302. "description": "种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)",
  9303. "type": "integer"
  9304. },
  9305. "couponholdid": {
  9306. "description": "优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)",
  9307. "type": "string"
  9308. },
  9309. "couponname": {
  9310. "description": "优惠券名称",
  9311. "type": "string"
  9312. },
  9313. "coupontypeid": {
  9314. "description": "优惠券类型ID - SEQ_COUPONTYPE",
  9315. "type": "string"
  9316. },
  9317. "couponvalue": {
  9318. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值]",
  9319. "type": "number"
  9320. },
  9321. "createtime": {
  9322. "description": "创建时间",
  9323. "type": "string"
  9324. },
  9325. "enddate": {
  9326. "description": "结束日期",
  9327. "type": "string"
  9328. },
  9329. "giveapplyid": {
  9330. "description": "发放申请ID(SEQ_COUPONGIVEAPPLY)",
  9331. "type": "integer"
  9332. },
  9333. "holdstatus": {
  9334. "description": "持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期",
  9335. "type": "integer"
  9336. },
  9337. "isgeneral": {
  9338. "description": "是否通用券 - 0:否 1:是",
  9339. "type": "integer"
  9340. },
  9341. "limitedflag": {
  9342. "description": "是否指定商品 - 0:不限 1:限制",
  9343. "type": "integer"
  9344. },
  9345. "limitedgoodsids": {
  9346. "description": "指定商品IDs[逗号分隔]",
  9347. "type": "string"
  9348. },
  9349. "qty": {
  9350. "description": "数量(按1平铺)",
  9351. "type": "integer"
  9352. },
  9353. "startdate": {
  9354. "description": "开始日期",
  9355. "type": "string"
  9356. },
  9357. "userid": {
  9358. "description": "用户ID",
  9359. "type": "integer"
  9360. },
  9361. "userscope": {
  9362. "description": "卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]",
  9363. "type": "string"
  9364. }
  9365. }
  9366. },
  9367. "models.MyUsedCoupon": {
  9368. "type": "object",
  9369. "required": [
  9370. "coupontypeid",
  9371. "orderid"
  9372. ],
  9373. "properties": {
  9374. "accountid": {
  9375. "description": "资金账户ID(买方)",
  9376. "type": "integer"
  9377. },
  9378. "conditionvalue": {
  9379. "description": "条件阈值(可为0)",
  9380. "type": "number"
  9381. },
  9382. "couponcategroy": {
  9383. "description": "种类 - 1:现金券 2:折扣券",
  9384. "type": "integer"
  9385. },
  9386. "couponname": {
  9387. "description": "优惠券名称",
  9388. "type": "string"
  9389. },
  9390. "coupontypeid": {
  9391. "description": "优惠券类型ID(买方)",
  9392. "type": "string"
  9393. },
  9394. "couponvalue": {
  9395. "description": "面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]",
  9396. "type": "number"
  9397. },
  9398. "createtime": {
  9399. "description": "创建时间",
  9400. "type": "string"
  9401. },
  9402. "goodsid": {
  9403. "description": "商品ID",
  9404. "type": "integer"
  9405. },
  9406. "handlestatus": {
  9407. "description": "处理状态",
  9408. "type": "integer"
  9409. },
  9410. "marketid": {
  9411. "description": "市场ID",
  9412. "type": "integer"
  9413. },
  9414. "offamount": {
  9415. "description": "优惠金额",
  9416. "type": "number"
  9417. },
  9418. "orderid": {
  9419. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9420. "type": "string"
  9421. },
  9422. "sellaccountid": {
  9423. "description": "资金账户ID(卖方)",
  9424. "type": "integer"
  9425. },
  9426. "tradeamount": {
  9427. "description": "成交金额",
  9428. "type": "number"
  9429. },
  9430. "tradeid": {
  9431. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  9432. "type": "string"
  9433. },
  9434. "usedqty": {
  9435. "description": "使用数量",
  9436. "type": "integer"
  9437. }
  9438. }
  9439. },
  9440. "models.OperationPrimaryMenu": {
  9441. "type": "object",
  9442. "properties": {
  9443. "Children": {
  9444. "description": "二级功能菜单",
  9445. "type": "array",
  9446. "items": {
  9447. "$ref": "#/definitions/models.OperationSecondaryMenu"
  9448. }
  9449. },
  9450. "Key": {
  9451. "description": "菜单KEY",
  9452. "type": "string"
  9453. },
  9454. "Label": {
  9455. "description": "菜单标题",
  9456. "type": "string"
  9457. }
  9458. }
  9459. },
  9460. "models.OperationSecondaryMenu": {
  9461. "type": "object",
  9462. "properties": {
  9463. "Key": {
  9464. "description": "菜单KEY",
  9465. "type": "string"
  9466. },
  9467. "Label": {
  9468. "description": "菜单标题",
  9469. "type": "string"
  9470. },
  9471. "TabList": {
  9472. "description": "三级功能菜单",
  9473. "type": "array",
  9474. "items": {
  9475. "$ref": "#/definitions/models.OperationTabMenu"
  9476. }
  9477. }
  9478. }
  9479. },
  9480. "models.OperationTabMenu": {
  9481. "type": "object",
  9482. "properties": {
  9483. "Key": {
  9484. "description": "菜单KEY",
  9485. "type": "string"
  9486. },
  9487. "Label": {
  9488. "description": "菜单标题",
  9489. "type": "string"
  9490. }
  9491. }
  9492. },
  9493. "models.QuotePrimaryMenu": {
  9494. "type": "object",
  9495. "properties": {
  9496. "Index": {
  9497. "description": "序号",
  9498. "type": "integer"
  9499. },
  9500. "Key": {
  9501. "description": "键名",
  9502. "type": "string"
  9503. },
  9504. "Name": {
  9505. "description": "菜单名称",
  9506. "type": "string"
  9507. },
  9508. "SubMenus": {
  9509. "description": "子菜单",
  9510. "type": "array",
  9511. "items": {
  9512. "$ref": "#/definitions/models.QuoteSecondaryMenu"
  9513. }
  9514. },
  9515. "SubTitleType": {
  9516. "description": "子菜单标题模式:0-市场名称;1-外部交易所名称",
  9517. "type": "integer"
  9518. },
  9519. "TradeModes": {
  9520. "description": "包含市场交易类型",
  9521. "type": "string"
  9522. }
  9523. }
  9524. },
  9525. "models.QuoteSecondaryMenu": {
  9526. "type": "object",
  9527. "properties": {
  9528. "ExExchangeCode": {
  9529. "description": "外部交易所代码",
  9530. "type": "string"
  9531. },
  9532. "ExExchangeID": {
  9533. "description": "外部交易所ID",
  9534. "type": "integer"
  9535. },
  9536. "GoodsGroupIDs": {
  9537. "description": "商品组ID列表",
  9538. "type": "array",
  9539. "items": {
  9540. "type": "integer"
  9541. }
  9542. },
  9543. "Index": {
  9544. "description": "序号",
  9545. "type": "integer"
  9546. },
  9547. "MarketID": {
  9548. "description": "市场ID",
  9549. "type": "integer"
  9550. },
  9551. "MenuTitle": {
  9552. "description": "菜单标题(市场名称或外部交易所名称)",
  9553. "type": "string"
  9554. },
  9555. "TradeMode": {
  9556. "description": "交易模式",
  9557. "type": "integer"
  9558. }
  9559. }
  9560. },
  9561. "models.SearchGoods": {
  9562. "type": "object",
  9563. "required": [
  9564. "goodscode",
  9565. "goodsid",
  9566. "goodsname",
  9567. "marketid",
  9568. "trademode"
  9569. ],
  9570. "properties": {
  9571. "goodscode": {
  9572. "description": "商品代码(内部)",
  9573. "type": "string"
  9574. },
  9575. "goodsid": {
  9576. "description": "商品ID(自增ID SEQ_GOODS)",
  9577. "type": "integer"
  9578. },
  9579. "goodsname": {
  9580. "description": "商品名称",
  9581. "type": "string"
  9582. },
  9583. "marketid": {
  9584. "description": "所属市场ID",
  9585. "type": "integer"
  9586. },
  9587. "marketname": {
  9588. "description": "市场名称",
  9589. "type": "string"
  9590. },
  9591. "trademode": {
  9592. "description": "交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价",
  9593. "type": "integer"
  9594. }
  9595. }
  9596. },
  9597. "models.Szdz2imageconfig": {
  9598. "type": "object",
  9599. "required": [
  9600. "configid"
  9601. ],
  9602. "properties": {
  9603. "configid": {
  9604. "description": "配置ID(SEQ_SZDZ2_IMAGECONFIG)",
  9605. "type": "integer"
  9606. },
  9607. "imagepath": {
  9608. "description": "图片",
  9609. "type": "string"
  9610. },
  9611. "imagetype": {
  9612. "description": "类型 - 1:App首页轮播 2:我的",
  9613. "type": "integer"
  9614. },
  9615. "sort": {
  9616. "description": "排序",
  9617. "type": "integer"
  9618. },
  9619. "title": {
  9620. "description": "标题",
  9621. "type": "string"
  9622. },
  9623. "url": {
  9624. "description": "链接",
  9625. "type": "string"
  9626. }
  9627. }
  9628. },
  9629. "models.Szdz3convertconfig": {
  9630. "type": "object",
  9631. "required": [
  9632. "converttype",
  9633. "innergoodsid",
  9634. "outergoodscode"
  9635. ],
  9636. "properties": {
  9637. "canin": {
  9638. "description": "是否可转入 - 0:不可 1:可 [5:花生米转交易]",
  9639. "type": "integer"
  9640. },
  9641. "canout": {
  9642. "description": "是否可转出 - 0:不可 1:可 [5:花生米转交易]",
  9643. "type": "integer"
  9644. },
  9645. "converttype": {
  9646. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)",
  9647. "type": "integer"
  9648. },
  9649. "createtime": {
  9650. "description": "创建时间",
  9651. "type": "string"
  9652. },
  9653. "creatorid": {
  9654. "description": "创建人",
  9655. "type": "integer"
  9656. },
  9657. "daymaxvalue": {
  9658. "description": "当日最大转入限制",
  9659. "type": "number"
  9660. },
  9661. "freezedays": {
  9662. "description": "冻结天数 [5:花生米转交易]",
  9663. "type": "integer"
  9664. },
  9665. "innergoodsid": {
  9666. "description": "内部商品ID[交易]",
  9667. "type": "integer"
  9668. },
  9669. "inratio": {
  9670. "description": "目标值",
  9671. "type": "integer"
  9672. },
  9673. "modifierid": {
  9674. "description": "修改人",
  9675. "type": "integer"
  9676. },
  9677. "modifytime": {
  9678. "description": "修改时间",
  9679. "type": "string"
  9680. },
  9681. "outergoodscode": {
  9682. "description": "外部商品代码[JD\\PD]",
  9683. "type": "string"
  9684. },
  9685. "outratio": {
  9686. "description": "源值",
  9687. "type": "integer"
  9688. },
  9689. "pddecimalplace": {
  9690. "description": "PD小数位",
  9691. "type": "integer"
  9692. },
  9693. "timemaxvalue": {
  9694. "description": "单次最大转入限制",
  9695. "type": "number"
  9696. },
  9697. "timeminvalue": {
  9698. "description": "单次最小转入限制",
  9699. "type": "number"
  9700. }
  9701. }
  9702. },
  9703. "models.Szdz3searchwhitelist": {
  9704. "type": "object",
  9705. "required": [
  9706. "userid"
  9707. ],
  9708. "properties": {
  9709. "createtime": {
  9710. "description": "创建时间",
  9711. "type": "string"
  9712. },
  9713. "creatorid": {
  9714. "description": "创建人",
  9715. "type": "integer"
  9716. },
  9717. "modifierid": {
  9718. "description": "修改人",
  9719. "type": "integer"
  9720. },
  9721. "modifytime": {
  9722. "description": "修改时间",
  9723. "type": "string"
  9724. },
  9725. "userid": {
  9726. "description": "用户ID",
  9727. "type": "integer"
  9728. }
  9729. }
  9730. },
  9731. "models.Tablecolumnconfig": {
  9732. "type": "object",
  9733. "required": [
  9734. "autoid"
  9735. ],
  9736. "properties": {
  9737. "aligntype": {
  9738. "description": "对齐方式 - 1:居中对齐 2:左对齐 3:右对齐",
  9739. "type": "integer"
  9740. },
  9741. "autoid": {
  9742. "description": "AutoID",
  9743. "type": "integer"
  9744. },
  9745. "columnfield": {
  9746. "description": "列字段",
  9747. "type": "string"
  9748. },
  9749. "columntitle": {
  9750. "description": "列Title",
  9751. "type": "string"
  9752. },
  9753. "columnwidth": {
  9754. "description": "列宽",
  9755. "type": "string"
  9756. },
  9757. "formatterstring": {
  9758. "description": "格式化字符",
  9759. "type": "string"
  9760. },
  9761. "formattertype": {
  9762. "description": "格式化类型",
  9763. "type": "string"
  9764. },
  9765. "groupname": {
  9766. "description": "表头分组名称",
  9767. "type": "string"
  9768. },
  9769. "isshow": {
  9770. "description": "是否显示 - 0:不显示 1:显示",
  9771. "type": "integer"
  9772. },
  9773. "needsummary": {
  9774. "description": "是否需要汇总 - 0:不需要 1:需要",
  9775. "type": "integer"
  9776. },
  9777. "orderindex": {
  9778. "description": "顺序",
  9779. "type": "integer"
  9780. },
  9781. "remark": {
  9782. "description": "备注",
  9783. "type": "string"
  9784. },
  9785. "summarytype": {
  9786. "description": "汇总类型 - 1:加总 2:最后一个",
  9787. "type": "integer"
  9788. },
  9789. "tablekey": {
  9790. "description": "列表Key",
  9791. "type": "string"
  9792. }
  9793. }
  9794. },
  9795. "models.Useraccount": {
  9796. "type": "object",
  9797. "required": [
  9798. "userid"
  9799. ],
  9800. "properties": {
  9801. "accountname": {
  9802. "description": "账户名称(机构名称)",
  9803. "type": "string"
  9804. },
  9805. "accountstatus": {
  9806. "description": "账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销",
  9807. "type": "integer"
  9808. },
  9809. "auditremark": {
  9810. "description": "审核备注",
  9811. "type": "string"
  9812. },
  9813. "audittime": {
  9814. "description": "审核时间",
  9815. "type": "string"
  9816. },
  9817. "audituserid": {
  9818. "description": "审核人",
  9819. "type": "integer"
  9820. },
  9821. "broker": {
  9822. "description": "所属经纪人ID",
  9823. "type": "integer"
  9824. },
  9825. "canceltime": {
  9826. "description": "销户时间",
  9827. "type": "string"
  9828. },
  9829. "canceluserid": {
  9830. "description": "销户人",
  9831. "type": "integer"
  9832. },
  9833. "createtime": {
  9834. "description": "创建时间",
  9835. "type": "string"
  9836. },
  9837. "creatorid": {
  9838. "description": "创建人",
  9839. "type": "integer"
  9840. },
  9841. "hasauth": {
  9842. "description": "是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝",
  9843. "type": "integer"
  9844. },
  9845. "isanonymous": {
  9846. "description": "是否匿名下单 - 0:否 1:是",
  9847. "type": "integer"
  9848. },
  9849. "maxinvestornum": {
  9850. "description": "最大用户数(经纪会员下投资者个数)",
  9851. "type": "integer"
  9852. },
  9853. "memberuserid": {
  9854. "description": "所属会员ID",
  9855. "type": "integer"
  9856. },
  9857. "modifierid": {
  9858. "description": "修改人",
  9859. "type": "integer"
  9860. },
  9861. "modifyremark": {
  9862. "description": "变更备注",
  9863. "type": "string"
  9864. },
  9865. "modifystatus": {
  9866. "description": "变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)",
  9867. "type": "integer"
  9868. },
  9869. "modifytime": {
  9870. "description": "修改时间",
  9871. "type": "string"
  9872. },
  9873. "parentuserid": {
  9874. "description": "所属机构ID",
  9875. "type": "integer"
  9876. },
  9877. "reckonaccountid": {
  9878. "description": "默认结算资金账号ID(机构分润使用) 作废",
  9879. "type": "integer"
  9880. },
  9881. "refercount": {
  9882. "description": "推荐总人数",
  9883. "type": "integer"
  9884. },
  9885. "refereeuserid": {
  9886. "description": "推荐人ID",
  9887. "type": "integer"
  9888. },
  9889. "refernum": {
  9890. "description": "推荐码",
  9891. "type": "string"
  9892. },
  9893. "subarealevelpath": {
  9894. "description": "子机构层级路径(逗号分隔,首尾加逗号)",
  9895. "type": "string"
  9896. },
  9897. "userid": {
  9898. "description": "用户ID",
  9899. "type": "integer"
  9900. },
  9901. "usertype": {
  9902. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  9903. "type": "integer"
  9904. }
  9905. }
  9906. },
  9907. "models.Userfavoritegoods": {
  9908. "type": "object",
  9909. "required": [
  9910. "goodsid"
  9911. ],
  9912. "properties": {
  9913. "goodsid": {
  9914. "description": "商品ID",
  9915. "type": "integer"
  9916. }
  9917. }
  9918. },
  9919. "models.Userinfo": {
  9920. "type": "object",
  9921. "required": [
  9922. "userid"
  9923. ],
  9924. "properties": {
  9925. "address": {
  9926. "description": "地址",
  9927. "type": "string"
  9928. },
  9929. "attachment1": {
  9930. "description": "附件1",
  9931. "type": "string"
  9932. },
  9933. "attachment2": {
  9934. "description": "附件2",
  9935. "type": "string"
  9936. },
  9937. "bankaccount": {
  9938. "description": "银行帐号 (加密存储)",
  9939. "type": "string"
  9940. },
  9941. "bankaccountname": {
  9942. "description": "收款人名称",
  9943. "type": "string"
  9944. },
  9945. "bankcardfrontphotourl": {
  9946. "description": "银行卡正面照地址",
  9947. "type": "string"
  9948. },
  9949. "bankid": {
  9950. "description": "银行编码",
  9951. "type": "string"
  9952. },
  9953. "bankname": {
  9954. "description": "银行名称",
  9955. "type": "string"
  9956. },
  9957. "biznature": {
  9958. "description": "企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它",
  9959. "type": "integer"
  9960. },
  9961. "bizscope": {
  9962. "description": "企业经营范围(企业)",
  9963. "type": "string"
  9964. },
  9965. "cardbackphotourl": {
  9966. "description": "证件背面图片地址",
  9967. "type": "string"
  9968. },
  9969. "cardfrontphotourl": {
  9970. "description": "证件正面图片地址",
  9971. "type": "string"
  9972. },
  9973. "cardnum": {
  9974. "description": "证件号码(加密存储)",
  9975. "type": "string"
  9976. },
  9977. "cardtypeid": {
  9978. "description": "证件类型ID",
  9979. "type": "integer"
  9980. },
  9981. "cityid": {
  9982. "description": "市",
  9983. "type": "integer"
  9984. },
  9985. "company": {
  9986. "description": "公司(个人)",
  9987. "type": "string"
  9988. },
  9989. "contactname": {
  9990. "description": "联系人",
  9991. "type": "string"
  9992. },
  9993. "countryid": {
  9994. "description": "国家",
  9995. "type": "integer"
  9996. },
  9997. "createtime": {
  9998. "description": "创建时间",
  9999. "type": "string"
  10000. },
  10001. "creatorid": {
  10002. "description": "创建人",
  10003. "type": "integer"
  10004. },
  10005. "customername": {
  10006. "description": "客户名称(企业名称)",
  10007. "type": "string"
  10008. },
  10009. "districtid": {
  10010. "description": "地区",
  10011. "type": "integer"
  10012. },
  10013. "email": {
  10014. "description": "邮件(加密存储)",
  10015. "type": "string"
  10016. },
  10017. "fax": {
  10018. "description": "传真(加密存储)",
  10019. "type": "string"
  10020. },
  10021. "halfbodyphotourl": {
  10022. "description": "半身照地址",
  10023. "type": "string"
  10024. },
  10025. "hasencrypt": {
  10026. "description": "数据是否已加密 - 0:未加密 1:已加密",
  10027. "type": "integer"
  10028. },
  10029. "headurl": {
  10030. "description": "头像地址",
  10031. "type": "string"
  10032. },
  10033. "legalcardbackphotourl": {
  10034. "description": "法人身份证背面照地址",
  10035. "type": "string"
  10036. },
  10037. "legalcardfrontphotourl": {
  10038. "description": "法人身份证正面照地址",
  10039. "type": "string"
  10040. },
  10041. "legalpersonname": {
  10042. "description": "法人姓名(企业)",
  10043. "type": "string"
  10044. },
  10045. "mobile": {
  10046. "description": "手机号码(加密存储)",
  10047. "type": "string"
  10048. },
  10049. "mobile2": {
  10050. "description": "手机号码[明文-尚志]",
  10051. "type": "string"
  10052. },
  10053. "modifierid": {
  10054. "description": "修改人",
  10055. "type": "integer"
  10056. },
  10057. "modifiertime": {
  10058. "description": "修改时间",
  10059. "type": "string"
  10060. },
  10061. "needinvoice": {
  10062. "description": "是否需要发票 - 0:不需要 1:需要",
  10063. "type": "integer"
  10064. },
  10065. "nickname": {
  10066. "description": "昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)",
  10067. "type": "string"
  10068. },
  10069. "openmode": {
  10070. "description": "开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户",
  10071. "type": "integer"
  10072. },
  10073. "otherurl": {
  10074. "description": "其它图片地址[使用分号分隔]",
  10075. "type": "string"
  10076. },
  10077. "postalcode": {
  10078. "description": "邮政编码",
  10079. "type": "string"
  10080. },
  10081. "provinceid": {
  10082. "description": "省",
  10083. "type": "integer"
  10084. },
  10085. "qq": {
  10086. "description": "QQ(加密存储",
  10087. "type": "string"
  10088. },
  10089. "remark": {
  10090. "description": "备注",
  10091. "type": "string"
  10092. },
  10093. "sex": {
  10094. "description": "用户性别 0: 女 1: 男",
  10095. "type": "integer"
  10096. },
  10097. "signpdfurl": {
  10098. "description": "签约pdf文件",
  10099. "type": "string"
  10100. },
  10101. "telphone": {
  10102. "description": "联系电话(加密存储)",
  10103. "type": "string"
  10104. },
  10105. "userid": {
  10106. "description": "用户ID",
  10107. "type": "integer"
  10108. },
  10109. "userinfotype": {
  10110. "description": "用户信息类型 - 1:个人 2:企业",
  10111. "type": "integer"
  10112. },
  10113. "userstatus": {
  10114. "description": "用户状态 - 1:正常 2:注销",
  10115. "type": "integer"
  10116. },
  10117. "usertype": {
  10118. "description": "账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户",
  10119. "type": "integer"
  10120. },
  10121. "wechat": {
  10122. "description": "微信(加密存储)",
  10123. "type": "string"
  10124. },
  10125. "wskhinfo": {
  10126. "description": "开户申请信息(JSON)",
  10127. "type": "string"
  10128. }
  10129. }
  10130. },
  10131. "models.WRCategoryTree": {
  10132. "type": "object",
  10133. "required": [
  10134. "categoryid"
  10135. ],
  10136. "properties": {
  10137. "areauserid": {
  10138. "description": "所属机构",
  10139. "type": "integer"
  10140. },
  10141. "categorydesc": {
  10142. "description": "类别描述",
  10143. "type": "string"
  10144. },
  10145. "categoryid": {
  10146. "description": "类别ID(SEQ_WRCATEGORY)",
  10147. "type": "integer"
  10148. },
  10149. "categoryname": {
  10150. "description": "类别名称",
  10151. "type": "string"
  10152. },
  10153. "iconurl": {
  10154. "description": "图标地址",
  10155. "type": "string"
  10156. },
  10157. "orderindex": {
  10158. "description": "顺序",
  10159. "type": "integer"
  10160. },
  10161. "parentcategoryid": {
  10162. "description": "父类别ID",
  10163. "type": "integer"
  10164. },
  10165. "subcategory": {
  10166. "description": "子分类",
  10167. "type": "array",
  10168. "items": {
  10169. "$ref": "#/definitions/models.WRCategoryTree"
  10170. }
  10171. }
  10172. }
  10173. },
  10174. "models.WRStandardInfo": {
  10175. "type": "object",
  10176. "required": [
  10177. "wrstandardid"
  10178. ],
  10179. "properties": {
  10180. "createtime": {
  10181. "description": "创建时间",
  10182. "type": "string"
  10183. },
  10184. "creatorid": {
  10185. "description": "创建人",
  10186. "type": "integer"
  10187. },
  10188. "deliverygoodsid": {
  10189. "description": "品种ID",
  10190. "type": "integer"
  10191. },
  10192. "deliverygoodsname": {
  10193. "description": "交割商品名称",
  10194. "type": "string"
  10195. },
  10196. "factoryitemjson": {
  10197. "description": "要素项定义Json[{\"DGFactoryItemTypeID\": ,\"ItemTypeMode\": ,\"FactoryItemIDs\": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem-\u003eDGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem-\u003eItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem-\u003eDGFactoryItemID, 逗号分隔",
  10198. "type": "string"
  10199. },
  10200. "isvalid": {
  10201. "description": "是否有效 - 0:无效 1:有效",
  10202. "type": "integer"
  10203. },
  10204. "minivalue": {
  10205. "description": "最小变动值",
  10206. "type": "integer"
  10207. },
  10208. "minivaluedp": {
  10209. "description": "最小变动值小数位",
  10210. "type": "integer"
  10211. },
  10212. "realminivalue": {
  10213. "description": "实际最小变动值",
  10214. "type": "integer"
  10215. },
  10216. "realminivaluedp": {
  10217. "description": "实际最小变动值小数位",
  10218. "type": "integer"
  10219. },
  10220. "unitid": {
  10221. "description": "单位ID",
  10222. "type": "integer"
  10223. },
  10224. "unitname": {
  10225. "description": "单位",
  10226. "type": "string"
  10227. },
  10228. "updatetime": {
  10229. "description": "更新时间",
  10230. "type": "string"
  10231. },
  10232. "updatorid": {
  10233. "description": "更新人",
  10234. "type": "integer"
  10235. },
  10236. "wrsstatus": {
  10237. "description": "状态 - 作废 - 0:未激活 1:正常",
  10238. "type": "integer"
  10239. },
  10240. "wrstandardcode": {
  10241. "description": "仓单标准代码",
  10242. "type": "string"
  10243. },
  10244. "wrstandardid": {
  10245. "description": "仓单标准ID(SEQ_WRSTANDARD)",
  10246. "type": "integer"
  10247. },
  10248. "wrstandardname": {
  10249. "description": "仓单标准名称",
  10250. "type": "string"
  10251. }
  10252. }
  10253. },
  10254. "models.Warehouseinfo": {
  10255. "type": "object",
  10256. "required": [
  10257. "autoid",
  10258. "warehousecode"
  10259. ],
  10260. "properties": {
  10261. "address": {
  10262. "description": "详细地址",
  10263. "type": "string"
  10264. },
  10265. "areauserid": {
  10266. "description": "所属机构",
  10267. "type": "integer"
  10268. },
  10269. "autoid": {
  10270. "description": "自增ID",
  10271. "type": "integer"
  10272. },
  10273. "cityid": {
  10274. "description": "市",
  10275. "type": "integer"
  10276. },
  10277. "contactname": {
  10278. "description": "联系人",
  10279. "type": "string"
  10280. },
  10281. "contactnum": {
  10282. "description": "联系电话",
  10283. "type": "string"
  10284. },
  10285. "countryid": {
  10286. "description": "国家",
  10287. "type": "integer"
  10288. },
  10289. "createtime": {
  10290. "description": "创建时间",
  10291. "type": "string"
  10292. },
  10293. "districtid": {
  10294. "description": "区",
  10295. "type": "integer"
  10296. },
  10297. "hasvideo": {
  10298. "description": "是否有视频 - 0:无 1:有",
  10299. "type": "integer"
  10300. },
  10301. "provinceid": {
  10302. "description": "省",
  10303. "type": "integer"
  10304. },
  10305. "remark": {
  10306. "description": "审核备注",
  10307. "type": "string"
  10308. },
  10309. "videourl": {
  10310. "description": "视频地址",
  10311. "type": "string"
  10312. },
  10313. "warehousecode": {
  10314. "description": "仓库代码",
  10315. "type": "string"
  10316. },
  10317. "warehousename": {
  10318. "description": "仓库名称",
  10319. "type": "string"
  10320. },
  10321. "warehousestatus": {
  10322. "description": "仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝",
  10323. "type": "integer"
  10324. },
  10325. "warehousetype": {
  10326. "description": "仓库类型 - 1 厂库 2 自有库 3 合作库",
  10327. "type": "integer"
  10328. }
  10329. }
  10330. },
  10331. "order.QueryHisTradeDetailRsp": {
  10332. "type": "object",
  10333. "required": [
  10334. "accountid",
  10335. "buyorsell",
  10336. "goodsid",
  10337. "histradedate",
  10338. "marketid",
  10339. "memberuserid",
  10340. "orderid",
  10341. "tradeamount",
  10342. "tradedate",
  10343. "tradeid",
  10344. "tradeprice",
  10345. "tradeqty",
  10346. "tradetime"
  10347. ],
  10348. "properties": {
  10349. "accountid": {
  10350. "description": "账户ID[报价币种]",
  10351. "type": "integer"
  10352. },
  10353. "buildtype": {
  10354. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10355. "type": "integer"
  10356. },
  10357. "buyorsell": {
  10358. "description": "方向 - 0:买 1:卖",
  10359. "type": "integer"
  10360. },
  10361. "charge": {
  10362. "description": "手续费",
  10363. "type": "number"
  10364. },
  10365. "closecharge": {
  10366. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10367. "type": "number"
  10368. },
  10369. "closeexchagechargevalue": {
  10370. "description": "平仓交易所手续费设置值",
  10371. "type": "number"
  10372. },
  10373. "closefeealgorithm": {
  10374. "description": "平仓手续费收取方式 1:比率 2:固定",
  10375. "type": "integer"
  10376. },
  10377. "closememberchargevalue": {
  10378. "description": "平仓会员手续费设置值",
  10379. "type": "number"
  10380. },
  10381. "closepl": {
  10382. "description": "平仓盈亏",
  10383. "type": "number"
  10384. },
  10385. "closepl2": {
  10386. "description": "平仓盈亏[逐笔]",
  10387. "type": "number"
  10388. },
  10389. "closeqty": {
  10390. "description": "平仓数量(先建后平操作 需要记录)",
  10391. "type": "integer"
  10392. },
  10393. "creditamount": {
  10394. "description": "授信金额",
  10395. "type": "number"
  10396. },
  10397. "gcaccountid": {
  10398. "description": "账户ID[合约币种]",
  10399. "type": "integer"
  10400. },
  10401. "goodscode": {
  10402. "description": "商品代码",
  10403. "type": "string"
  10404. },
  10405. "goodsid": {
  10406. "description": "商品ID",
  10407. "type": "integer"
  10408. },
  10409. "goodsname": {
  10410. "description": "商品名称",
  10411. "type": "string"
  10412. },
  10413. "histradedate": {
  10414. "description": "历史交易日",
  10415. "type": "string"
  10416. },
  10417. "intclosepl": {
  10418. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10419. "type": "integer"
  10420. },
  10421. "isconfirmexercise": {
  10422. "description": "是否确认行权- 0:否 1:是",
  10423. "type": "integer"
  10424. },
  10425. "ismain": {
  10426. "description": "是否主单 - 0:不是 1:是",
  10427. "type": "integer"
  10428. },
  10429. "ispreexercise": {
  10430. "description": "是否预申报- 0:否 1:是",
  10431. "type": "integer"
  10432. },
  10433. "isreckoned": {
  10434. "description": "是否结算 - 0:未结算 1:已结算",
  10435. "type": "integer"
  10436. },
  10437. "isvaliddata": {
  10438. "description": "是否有效 - 0:无效 1:有效",
  10439. "type": "integer"
  10440. },
  10441. "listingselecttype": {
  10442. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10443. "type": "integer"
  10444. },
  10445. "marketid": {
  10446. "description": "市场ID",
  10447. "type": "integer"
  10448. },
  10449. "marketname": {
  10450. "description": "市场名称",
  10451. "type": "string"
  10452. },
  10453. "matchaccountid": {
  10454. "description": "对手账号id",
  10455. "type": "integer"
  10456. },
  10457. "memberuserid": {
  10458. "description": "会员id 个人投资者 需要填写",
  10459. "type": "integer"
  10460. },
  10461. "opencharge": {
  10462. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10463. "type": "number"
  10464. },
  10465. "openexchagechargevalue": {
  10466. "description": "建仓交易所手续费设置值",
  10467. "type": "number"
  10468. },
  10469. "openfeealgorithm": {
  10470. "description": "建仓手续费收取方式 1:比率 2:固定",
  10471. "type": "integer"
  10472. },
  10473. "openmemberchargevalue": {
  10474. "description": "建仓会员手续费设置值",
  10475. "type": "number"
  10476. },
  10477. "openqty": {
  10478. "description": "开仓数量(先建后平操作 需要记录)",
  10479. "type": "integer"
  10480. },
  10481. "optiontype": {
  10482. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10483. "type": "integer"
  10484. },
  10485. "orderid": {
  10486. "description": "委托单号",
  10487. "type": "string"
  10488. },
  10489. "performanceplanid": {
  10490. "description": "履约计划ID[期权]",
  10491. "type": "integer"
  10492. },
  10493. "performancestatus": {
  10494. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10495. "type": "integer"
  10496. },
  10497. "preexerciseprice": {
  10498. "description": "预申报价格",
  10499. "type": "number"
  10500. },
  10501. "premium": {
  10502. "description": "权利金 - [持仓单的权利金]",
  10503. "type": "number"
  10504. },
  10505. "relatedouttradeid": {
  10506. "description": "关联外部成交单ID",
  10507. "type": "integer"
  10508. },
  10509. "status": {
  10510. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  10511. "type": "integer"
  10512. },
  10513. "tradeamount": {
  10514. "description": "成交金额[账户币种,用于所有权]",
  10515. "type": "number"
  10516. },
  10517. "tradedate": {
  10518. "description": "交易日(yyyyMMdd)",
  10519. "type": "string"
  10520. },
  10521. "tradeid": {
  10522. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10523. "type": "string"
  10524. },
  10525. "trademode": {
  10526. "description": "交易模式",
  10527. "type": "integer"
  10528. },
  10529. "tradeprice": {
  10530. "description": "成交价格",
  10531. "type": "number"
  10532. },
  10533. "tradeproperty": {
  10534. "description": "交易属性",
  10535. "type": "integer"
  10536. },
  10537. "tradeqty": {
  10538. "description": "成交数量",
  10539. "type": "integer"
  10540. },
  10541. "tradetime": {
  10542. "description": "成交时间",
  10543. "type": "string"
  10544. },
  10545. "tradetype": {
  10546. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  10547. "type": "integer"
  10548. }
  10549. }
  10550. },
  10551. "order.QueryHisTradeOrderDetailRsp": {
  10552. "type": "object",
  10553. "required": [
  10554. "accountid",
  10555. "buildtype",
  10556. "buyorsell",
  10557. "goodsid",
  10558. "histradedate",
  10559. "marketid",
  10560. "memberuserid",
  10561. "operatetype",
  10562. "orderid",
  10563. "orderqty",
  10564. "ordertime",
  10565. "pricemode",
  10566. "tradedate",
  10567. "validtype"
  10568. ],
  10569. "properties": {
  10570. "accountid": {
  10571. "description": "账户ID[报价币种]",
  10572. "type": "integer"
  10573. },
  10574. "buildtype": {
  10575. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  10576. "type": "integer"
  10577. },
  10578. "buyorsell": {
  10579. "description": "买卖 - 0:买 1:卖",
  10580. "type": "integer"
  10581. },
  10582. "cancelorderid": {
  10583. "description": "撤单单号(撤单时填写)",
  10584. "type": "string"
  10585. },
  10586. "cancelqty": {
  10587. "description": "撤单数量",
  10588. "type": "integer"
  10589. },
  10590. "clientordertime": {
  10591. "description": "客户端委托时间",
  10592. "type": "string"
  10593. },
  10594. "clientticket": {
  10595. "description": "客户端流水号",
  10596. "type": "string"
  10597. },
  10598. "clienttype": {
  10599. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  10600. "type": "integer"
  10601. },
  10602. "closeexchagechargevalue": {
  10603. "description": "平仓交易所手续费设置值",
  10604. "type": "number"
  10605. },
  10606. "closefeealgorithm": {
  10607. "description": "平仓手续费收取方式 1:比率 2:固定",
  10608. "type": "integer"
  10609. },
  10610. "closefreezecharge": {
  10611. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  10612. "type": "number"
  10613. },
  10614. "closememberchargevalue": {
  10615. "description": "平仓会员手续费设置值",
  10616. "type": "number"
  10617. },
  10618. "closeqty": {
  10619. "description": "平仓数量(先建后平操作 需要记录)",
  10620. "type": "integer"
  10621. },
  10622. "closetradeqty": {
  10623. "description": "平仓成交数量(先建后平操作,需要记录)",
  10624. "type": "integer"
  10625. },
  10626. "closeunfreezecharge": {
  10627. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  10628. "type": "number"
  10629. },
  10630. "delistingtype": {
  10631. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  10632. "type": "integer"
  10633. },
  10634. "freezecharge": {
  10635. "description": "冻结手续费",
  10636. "type": "number"
  10637. },
  10638. "freezemargin": {
  10639. "description": "冻结保证金(冻结交易金额)",
  10640. "type": "number"
  10641. },
  10642. "gcaccountid": {
  10643. "description": "账户ID[合约币种]",
  10644. "type": "integer"
  10645. },
  10646. "goodscode": {
  10647. "description": "商品代码",
  10648. "type": "string"
  10649. },
  10650. "goodsid": {
  10651. "description": "商品ID",
  10652. "type": "integer"
  10653. },
  10654. "goodsname": {
  10655. "description": "商品名称",
  10656. "type": "string"
  10657. },
  10658. "histradedate": {
  10659. "description": "历史交易日",
  10660. "type": "string"
  10661. },
  10662. "isconfirmexercise": {
  10663. "description": "是否确认行权- 0:否 1:是",
  10664. "type": "integer"
  10665. },
  10666. "ispreexercise": {
  10667. "description": "是否预申报- 0:否 1:是",
  10668. "type": "integer"
  10669. },
  10670. "isvaliddata": {
  10671. "description": "是否有效 - 0:无效 1:有效",
  10672. "type": "integer"
  10673. },
  10674. "listingselecttype": {
  10675. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10676. "type": "integer"
  10677. },
  10678. "marginalgorithm": {
  10679. "description": "保证金收取方式 1:比率 2:固定",
  10680. "type": "integer"
  10681. },
  10682. "marginvalue": {
  10683. "description": "即市保证金设置值",
  10684. "type": "number"
  10685. },
  10686. "marketid": {
  10687. "description": "市场ID",
  10688. "type": "integer"
  10689. },
  10690. "marketmaxsub": {
  10691. "description": "市价最大偏移范围",
  10692. "type": "number"
  10693. },
  10694. "marketname": {
  10695. "description": "市场名称",
  10696. "type": "string"
  10697. },
  10698. "memberuserid": {
  10699. "description": "所属会员UserID",
  10700. "type": "integer"
  10701. },
  10702. "openexchagechargevalue": {
  10703. "description": "建仓交易所手续费设置值",
  10704. "type": "number"
  10705. },
  10706. "openfeealgorithm": {
  10707. "description": "建仓手续费收取方式 1:比率 2:固定",
  10708. "type": "integer"
  10709. },
  10710. "openfreezecharge": {
  10711. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  10712. "type": "number"
  10713. },
  10714. "openmemberchargevalue": {
  10715. "description": "建仓会员手续费设置值",
  10716. "type": "number"
  10717. },
  10718. "openqty": {
  10719. "description": "开仓数量(先建后平操作,需要记录)",
  10720. "type": "integer"
  10721. },
  10722. "opentradeqty": {
  10723. "description": "开仓成交数量(先建后平操作,需要记录)",
  10724. "type": "integer"
  10725. },
  10726. "openunfreezecharge": {
  10727. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  10728. "type": "number"
  10729. },
  10730. "operatetype": {
  10731. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  10732. "type": "integer"
  10733. },
  10734. "operatorid": {
  10735. "description": "登录账号(LoginID)",
  10736. "type": "integer"
  10737. },
  10738. "optiontype": {
  10739. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10740. "type": "integer"
  10741. },
  10742. "orderid": {
  10743. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  10744. "type": "string"
  10745. },
  10746. "orderprice": {
  10747. "description": "委托价格",
  10748. "type": "number"
  10749. },
  10750. "orderqty": {
  10751. "description": "委托数量",
  10752. "type": "integer"
  10753. },
  10754. "ordersrc": {
  10755. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  10756. "type": "integer"
  10757. },
  10758. "orderstatus": {
  10759. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  10760. "type": "integer"
  10761. },
  10762. "ordertime": {
  10763. "description": "委托时间",
  10764. "type": "string"
  10765. },
  10766. "preexerciseprice": {
  10767. "description": "预申报价格",
  10768. "type": "number"
  10769. },
  10770. "premium": {
  10771. "description": "权利金",
  10772. "type": "number"
  10773. },
  10774. "preorderid": {
  10775. "description": "关联预埋单号(止盈止损单时填写)",
  10776. "type": "string"
  10777. },
  10778. "pricemode": {
  10779. "description": "取价方式 - 1:市价 2: 限价",
  10780. "type": "integer"
  10781. },
  10782. "quoteid": {
  10783. "description": "报价单ID",
  10784. "type": "integer"
  10785. },
  10786. "relatedid": {
  10787. "description": "关联单号(交割单)",
  10788. "type": "string"
  10789. },
  10790. "retcode": {
  10791. "description": "错误代码",
  10792. "type": "integer"
  10793. },
  10794. "sessionid": {
  10795. "description": "会话ID",
  10796. "type": "integer"
  10797. },
  10798. "tradedate": {
  10799. "description": "交易日(yyyyMMdd)",
  10800. "type": "string"
  10801. },
  10802. "trademode": {
  10803. "description": "交易模式",
  10804. "type": "integer"
  10805. },
  10806. "tradeproperty": {
  10807. "description": "交易属性",
  10808. "type": "integer"
  10809. },
  10810. "tradeqty": {
  10811. "description": "成交数量",
  10812. "type": "integer"
  10813. },
  10814. "unfreezecharge": {
  10815. "description": "解冻手续费",
  10816. "type": "number"
  10817. },
  10818. "unfreezemargin": {
  10819. "description": "解冻保证金",
  10820. "type": "number"
  10821. },
  10822. "updatetime": {
  10823. "description": "更新时间",
  10824. "type": "string"
  10825. },
  10826. "uuid": {
  10827. "description": "发起端唯一id",
  10828. "type": "string"
  10829. },
  10830. "validtime": {
  10831. "description": "有效期限",
  10832. "type": "string"
  10833. },
  10834. "validtype": {
  10835. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  10836. "type": "integer"
  10837. },
  10838. "volumetype": {
  10839. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  10840. "type": "integer"
  10841. }
  10842. }
  10843. },
  10844. "order.QueryTradeDetailRsp": {
  10845. "type": "object",
  10846. "required": [
  10847. "accountid",
  10848. "buyorsell",
  10849. "goodsid",
  10850. "marketid",
  10851. "memberuserid",
  10852. "orderid",
  10853. "tradeamount",
  10854. "tradedate",
  10855. "tradeid",
  10856. "tradeprice",
  10857. "tradeqty",
  10858. "tradetime"
  10859. ],
  10860. "properties": {
  10861. "accountid": {
  10862. "description": "账户ID[报价币种]",
  10863. "type": "integer"
  10864. },
  10865. "buildtype": {
  10866. "description": "委托单据类型 1:建仓 2:平仓 3:先平后建",
  10867. "type": "integer"
  10868. },
  10869. "buyorsell": {
  10870. "description": "方向 - 0:买 1:卖",
  10871. "type": "integer"
  10872. },
  10873. "charge": {
  10874. "description": "手续费",
  10875. "type": "number"
  10876. },
  10877. "closecharge": {
  10878. "description": "平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10879. "type": "number"
  10880. },
  10881. "closeexchagechargevalue": {
  10882. "description": "平仓交易所手续费设置值",
  10883. "type": "number"
  10884. },
  10885. "closefeealgorithm": {
  10886. "description": "平仓手续费收取方式 1:比率 2:固定",
  10887. "type": "integer"
  10888. },
  10889. "closememberchargevalue": {
  10890. "description": "平仓会员手续费设置值",
  10891. "type": "number"
  10892. },
  10893. "closepl": {
  10894. "description": "平仓盈亏",
  10895. "type": "number"
  10896. },
  10897. "closepl2": {
  10898. "description": "平仓盈亏[逐笔]",
  10899. "type": "number"
  10900. },
  10901. "closeqty": {
  10902. "description": "平仓数量(先建后平操作 需要记录)",
  10903. "type": "integer"
  10904. },
  10905. "creditamount": {
  10906. "description": "授信金额",
  10907. "type": "number"
  10908. },
  10909. "gcaccountid": {
  10910. "description": "账户ID[合约币种]",
  10911. "type": "integer"
  10912. },
  10913. "goodscode": {
  10914. "description": "商品代码",
  10915. "type": "string"
  10916. },
  10917. "goodsid": {
  10918. "description": "商品ID",
  10919. "type": "integer"
  10920. },
  10921. "goodsname": {
  10922. "description": "商品名称",
  10923. "type": "string"
  10924. },
  10925. "intclosepl": {
  10926. "description": "整型盈亏(用于交易结算试算平衡-收益权)",
  10927. "type": "integer"
  10928. },
  10929. "isconfirmexercise": {
  10930. "description": "是否确认行权- 0:否 1:是",
  10931. "type": "integer"
  10932. },
  10933. "ismain": {
  10934. "description": "是否主单 - 0:不是 1:是",
  10935. "type": "integer"
  10936. },
  10937. "ispreexercise": {
  10938. "description": "是否预申报- 0:否 1:是",
  10939. "type": "integer"
  10940. },
  10941. "isreckoned": {
  10942. "description": "是否结算 - 0:未结算 1:已结算",
  10943. "type": "integer"
  10944. },
  10945. "listingselecttype": {
  10946. "description": "关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  10947. "type": "integer"
  10948. },
  10949. "marketid": {
  10950. "description": "市场ID",
  10951. "type": "integer"
  10952. },
  10953. "marketname": {
  10954. "description": "市场名称",
  10955. "type": "string"
  10956. },
  10957. "matchaccountid": {
  10958. "description": "对手账号id",
  10959. "type": "integer"
  10960. },
  10961. "memberuserid": {
  10962. "description": "会员id 个人投资者 需要填写",
  10963. "type": "integer"
  10964. },
  10965. "opencharge": {
  10966. "description": "建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)",
  10967. "type": "number"
  10968. },
  10969. "openexchagechargevalue": {
  10970. "description": "建仓交易所手续费设置值",
  10971. "type": "number"
  10972. },
  10973. "openfeealgorithm": {
  10974. "description": "建仓手续费收取方式 1:比率 2:固定",
  10975. "type": "integer"
  10976. },
  10977. "openmemberchargevalue": {
  10978. "description": "建仓会员手续费设置值",
  10979. "type": "number"
  10980. },
  10981. "openqty": {
  10982. "description": "开仓数量(先建后平操作 需要记录)",
  10983. "type": "integer"
  10984. },
  10985. "optiontype": {
  10986. "description": "期权类型 - 1:认购(看涨) 2:认沽(看跌)",
  10987. "type": "integer"
  10988. },
  10989. "orderid": {
  10990. "description": "委托单号",
  10991. "type": "string"
  10992. },
  10993. "performanceplanid": {
  10994. "description": "履约计划ID[期权]",
  10995. "type": "integer"
  10996. },
  10997. "performancestatus": {
  10998. "description": "履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成",
  10999. "type": "integer"
  11000. },
  11001. "preexerciseprice": {
  11002. "description": "预申报价格",
  11003. "type": "number"
  11004. },
  11005. "premium": {
  11006. "description": "权利金 - [持仓单的权利金]",
  11007. "type": "number"
  11008. },
  11009. "relatedouttradeid": {
  11010. "description": "关联外部成交单ID",
  11011. "type": "integer"
  11012. },
  11013. "status": {
  11014. "description": "处理状态 - 1:待处理 2:已处理 3:处理失败",
  11015. "type": "integer"
  11016. },
  11017. "tradeamount": {
  11018. "description": "成交金额[账户币种,用于所有权]",
  11019. "type": "number"
  11020. },
  11021. "tradedate": {
  11022. "description": "交易日(yyyyMMdd)",
  11023. "type": "string"
  11024. },
  11025. "tradeid": {
  11026. "description": "成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11027. "type": "string"
  11028. },
  11029. "trademode": {
  11030. "description": "交易模式",
  11031. "type": "integer"
  11032. },
  11033. "tradeprice": {
  11034. "description": "成交价格",
  11035. "type": "number"
  11036. },
  11037. "tradeproperty": {
  11038. "description": "交易属性",
  11039. "type": "integer"
  11040. },
  11041. "tradeqty": {
  11042. "description": "成交数量",
  11043. "type": "integer"
  11044. },
  11045. "tradetime": {
  11046. "description": "成交时间",
  11047. "type": "string"
  11048. },
  11049. "tradetype": {
  11050. "description": "成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓",
  11051. "type": "integer"
  11052. }
  11053. }
  11054. },
  11055. "order.QueryTradeOrderDetailRsp": {
  11056. "type": "object",
  11057. "required": [
  11058. "accountid",
  11059. "buildtype",
  11060. "buyorsell",
  11061. "goodsid",
  11062. "marketid",
  11063. "operatetype",
  11064. "orderqty",
  11065. "ordertime",
  11066. "pricemode",
  11067. "tradedate",
  11068. "validtype"
  11069. ],
  11070. "properties": {
  11071. "accountid": {
  11072. "description": "账户ID[报价币种]",
  11073. "type": "integer"
  11074. },
  11075. "buildtype": {
  11076. "description": "委托单据类型 - 1:建仓 2:平仓 3:先平后建",
  11077. "type": "integer"
  11078. },
  11079. "buyorsell": {
  11080. "description": "买卖 - 0:买 1:卖",
  11081. "type": "integer"
  11082. },
  11083. "cancelorderid": {
  11084. "description": "撤单单号(撤单时填写)",
  11085. "type": "string"
  11086. },
  11087. "cancelqty": {
  11088. "description": "撤单数量",
  11089. "type": "integer"
  11090. },
  11091. "clienttype": {
  11092. "description": "客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)",
  11093. "type": "integer"
  11094. },
  11095. "closefreezecharge": {
  11096. "description": "平仓冻结手续费(先建后平操作,需要记录)",
  11097. "type": "number"
  11098. },
  11099. "closeqty": {
  11100. "description": "平仓数量(先建后平操作 需要记录)",
  11101. "type": "integer"
  11102. },
  11103. "closetradeqty": {
  11104. "description": "平仓成交数量(先建后平操作,需要记录)",
  11105. "type": "integer"
  11106. },
  11107. "closeunfreezecharge": {
  11108. "description": "平仓解冻手续费(先建后平操作,需要记录)",
  11109. "type": "number"
  11110. },
  11111. "delistingtype": {
  11112. "description": "摘牌类型 - 1:价格最优 2:点选成交",
  11113. "type": "integer"
  11114. },
  11115. "enableqty": {
  11116. "description": "可用数量 = 委托数量 - 成交数量 - 撤单数量",
  11117. "type": "integer"
  11118. },
  11119. "freezecharge": {
  11120. "description": "冻结手续费",
  11121. "type": "number"
  11122. },
  11123. "freezemargin": {
  11124. "description": "冻结保证金(冻结交易金额)",
  11125. "type": "number"
  11126. },
  11127. "goodscode": {
  11128. "description": "商品代码",
  11129. "type": "string"
  11130. },
  11131. "goodsid": {
  11132. "description": "商品ID",
  11133. "type": "integer"
  11134. },
  11135. "goodsname": {
  11136. "description": "商品名称",
  11137. "type": "string"
  11138. },
  11139. "listingselecttype": {
  11140. "description": "挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂",
  11141. "type": "integer"
  11142. },
  11143. "marketid": {
  11144. "description": "市场ID",
  11145. "type": "integer"
  11146. },
  11147. "marketname": {
  11148. "description": "市场名称",
  11149. "type": "string"
  11150. },
  11151. "openfreezecharge": {
  11152. "description": "开仓冻结手续费(先建后平操作,需要记录)",
  11153. "type": "number"
  11154. },
  11155. "openqty": {
  11156. "description": "开仓数量(先建后平操作,需要记录)",
  11157. "type": "integer"
  11158. },
  11159. "opentradeqty": {
  11160. "description": "开仓成交数量(先建后平操作,需要记录)",
  11161. "type": "integer"
  11162. },
  11163. "openunfreezecharge": {
  11164. "description": "开仓解冻手续费(先建后平操作,需要记录)",
  11165. "type": "number"
  11166. },
  11167. "operatetype": {
  11168. "description": "操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让",
  11169. "type": "integer"
  11170. },
  11171. "operatorid": {
  11172. "description": "登录账号(LoginID)",
  11173. "type": "integer"
  11174. },
  11175. "orderid": {
  11176. "description": "委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11177. "type": "string"
  11178. },
  11179. "orderprice": {
  11180. "description": "委托价格",
  11181. "type": "number"
  11182. },
  11183. "orderqty": {
  11184. "description": "委托数量",
  11185. "type": "integer"
  11186. },
  11187. "ordersrc": {
  11188. "description": "委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发",
  11189. "type": "integer"
  11190. },
  11191. "orderstatus": {
  11192. "description": "委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)",
  11193. "type": "integer"
  11194. },
  11195. "ordertime": {
  11196. "description": "委托时间",
  11197. "type": "string"
  11198. },
  11199. "preorderid": {
  11200. "description": "关联预埋单号(止盈止损单时填写)",
  11201. "type": "string"
  11202. },
  11203. "pricemode": {
  11204. "description": "取价方式 - 1:市价 2: 限价",
  11205. "type": "integer"
  11206. },
  11207. "relatedid": {
  11208. "description": "关联单号(交割单)",
  11209. "type": "string"
  11210. },
  11211. "tradedate": {
  11212. "description": "交易日(yyyyMMdd)",
  11213. "type": "string"
  11214. },
  11215. "trademode": {
  11216. "description": "交易模式",
  11217. "type": "integer"
  11218. },
  11219. "tradeqty": {
  11220. "description": "成交数量",
  11221. "type": "integer"
  11222. },
  11223. "unfreezecharge": {
  11224. "description": "解冻手续费",
  11225. "type": "number"
  11226. },
  11227. "unfreezemargin": {
  11228. "description": "解冻保证金",
  11229. "type": "number"
  11230. },
  11231. "validtime": {
  11232. "description": "有效期限",
  11233. "type": "string"
  11234. },
  11235. "validtype": {
  11236. "description": "有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效",
  11237. "type": "integer"
  11238. },
  11239. "volumetype": {
  11240. "description": "当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量",
  11241. "type": "integer"
  11242. }
  11243. }
  11244. },
  11245. "order.QueryTradePositionRsp": {
  11246. "type": "object",
  11247. "required": [
  11248. "goodsid"
  11249. ],
  11250. "properties": {
  11251. "accountid": {
  11252. "description": "资金账户",
  11253. "type": "integer"
  11254. },
  11255. "agreeunit": {
  11256. "description": "合约单位",
  11257. "type": "number"
  11258. },
  11259. "averageprice": {
  11260. "description": "持仓均价",
  11261. "type": "number"
  11262. },
  11263. "buyorsell": {
  11264. "description": "方向 - 0:买 1:卖",
  11265. "type": "integer"
  11266. },
  11267. "closetotalqty": {
  11268. "description": "平仓总数量",
  11269. "type": "integer"
  11270. },
  11271. "curholderamount": {
  11272. "description": "当前持仓总金额[商品币种]",
  11273. "type": "number"
  11274. },
  11275. "curpositionqty": {
  11276. "description": "当前持仓总数量",
  11277. "type": "integer"
  11278. },
  11279. "currencyid": {
  11280. "description": "报价货币ID",
  11281. "type": "integer"
  11282. },
  11283. "curtdposition": {
  11284. "description": "期末今日头寸",
  11285. "type": "integer"
  11286. },
  11287. "decimalplace": {
  11288. "description": "报价小数位",
  11289. "type": "integer"
  11290. },
  11291. "enableqty": {
  11292. "description": "可用量",
  11293. "type": "integer"
  11294. },
  11295. "fretdposition": {
  11296. "description": "冻结今日头寸",
  11297. "type": "integer"
  11298. },
  11299. "frozenqty": {
  11300. "description": "持仓冻结数量",
  11301. "type": "integer"
  11302. },
  11303. "goodscode": {
  11304. "description": "商品代码",
  11305. "type": "string"
  11306. },
  11307. "goodsid": {
  11308. "description": "商品Id",
  11309. "type": "integer"
  11310. },
  11311. "goodsname": {
  11312. "description": "商品名称",
  11313. "type": "string"
  11314. },
  11315. "goodunit": {
  11316. "description": "报价单位",
  11317. "type": "string"
  11318. },
  11319. "goodunitid": {
  11320. "description": "报价单位ID",
  11321. "type": "integer"
  11322. },
  11323. "holderamount": {
  11324. "description": "期初持仓总金额[商品币种]",
  11325. "type": "number"
  11326. },
  11327. "marketid": {
  11328. "description": "所属市场ID",
  11329. "type": "integer"
  11330. },
  11331. "openreqqty": {
  11332. "description": "开仓申请数量(用于比较最大持仓数量)",
  11333. "type": "integer"
  11334. },
  11335. "opentotalqty": {
  11336. "description": "开仓总数量",
  11337. "type": "integer"
  11338. },
  11339. "otherfrozenqty": {
  11340. "description": "持仓其他冻结数量(交割冻结)",
  11341. "type": "integer"
  11342. },
  11343. "positionqty": {
  11344. "description": "期初持仓数量",
  11345. "type": "integer"
  11346. },
  11347. "tnqty": {
  11348. "description": "T+N冻结总量",
  11349. "type": "integer"
  11350. },
  11351. "tnusedqty": {
  11352. "description": "T+N使用量(可以使用T+N的冻结数量)",
  11353. "type": "integer"
  11354. },
  11355. "trademode": {
  11356. "description": "交易模式",
  11357. "type": "integer"
  11358. },
  11359. "usedmargin": {
  11360. "description": "占用保证金[商品币种]",
  11361. "type": "number"
  11362. }
  11363. }
  11364. },
  11365. "quote.HistoryData": {
  11366. "type": "object",
  11367. "properties": {
  11368. "c": {
  11369. "description": "收盘价",
  11370. "type": "number"
  11371. },
  11372. "h": {
  11373. "description": "最高价",
  11374. "type": "number"
  11375. },
  11376. "hv": {
  11377. "description": "持仓量",
  11378. "type": "integer"
  11379. },
  11380. "l": {
  11381. "description": "最低价",
  11382. "type": "number"
  11383. },
  11384. "o": {
  11385. "description": "开盘价",
  11386. "type": "number"
  11387. },
  11388. "s": {
  11389. "description": "结算价,日线周期(包括)以上才有",
  11390. "type": "number"
  11391. },
  11392. "ts": {
  11393. "description": "时间",
  11394. "type": "string"
  11395. },
  11396. "tt": {
  11397. "description": "总金额",
  11398. "type": "number"
  11399. },
  11400. "tv": {
  11401. "description": "总量",
  11402. "type": "integer"
  11403. }
  11404. }
  11405. },
  11406. "quote.QueryTSDataRsp": {
  11407. "type": "object",
  11408. "properties": {
  11409. "decimalPlace": {
  11410. "description": "小数位",
  11411. "type": "integer"
  11412. },
  11413. "endTime": {
  11414. "description": "结束时间",
  11415. "type": "string"
  11416. },
  11417. "goodsCode": {
  11418. "description": "商品代码",
  11419. "type": "string"
  11420. },
  11421. "historyDatas": {
  11422. "description": "历史数据",
  11423. "type": "array",
  11424. "items": {
  11425. "$ref": "#/definitions/quote.HistoryData"
  11426. }
  11427. },
  11428. "preSettle": {
  11429. "description": "昨结",
  11430. "type": "number"
  11431. },
  11432. "startTime": {
  11433. "description": "开始时间",
  11434. "type": "string"
  11435. },
  11436. "tradeDate": {
  11437. "description": "交易日",
  11438. "type": "string"
  11439. }
  11440. }
  11441. },
  11442. "szdz.QueryConvertLogRsp": {
  11443. "type": "object",
  11444. "required": [
  11445. "logid"
  11446. ],
  11447. "properties": {
  11448. "accountid": {
  11449. "description": "资金账户ID",
  11450. "type": "integer"
  11451. },
  11452. "clientticket": {
  11453. "description": "客户端流水号",
  11454. "type": "string"
  11455. },
  11456. "converttype": {
  11457. "description": "转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍",
  11458. "type": "integer"
  11459. },
  11460. "createtime": {
  11461. "description": "记账时间",
  11462. "type": "string"
  11463. },
  11464. "daymaxvalue": {
  11465. "description": "配置当日最大转入限制",
  11466. "type": "number"
  11467. },
  11468. "daymaxvalue2": {
  11469. "description": "配置当日最大转入限制(转入)",
  11470. "type": "number"
  11471. },
  11472. "goodscode": {
  11473. "description": "商品代码",
  11474. "type": "string"
  11475. },
  11476. "goodsname": {
  11477. "description": "商品名称",
  11478. "type": "string"
  11479. },
  11480. "handlestatus": {
  11481. "description": "处理状态",
  11482. "type": "integer"
  11483. },
  11484. "innergoodsid": {
  11485. "description": "内部商品ID",
  11486. "type": "integer"
  11487. },
  11488. "inratio": {
  11489. "description": "配置转入比值",
  11490. "type": "integer"
  11491. },
  11492. "invalue": {
  11493. "description": "目标值",
  11494. "type": "number"
  11495. },
  11496. "logid": {
  11497. "description": "LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)",
  11498. "type": "integer"
  11499. },
  11500. "mobile": {
  11501. "description": "手机号码(加密存储)",
  11502. "type": "string"
  11503. },
  11504. "outergoodscode": {
  11505. "description": "外部商品代码[JD\\PD]",
  11506. "type": "string"
  11507. },
  11508. "outratio": {
  11509. "description": "配置转出比值",
  11510. "type": "integer"
  11511. },
  11512. "outvalue": {
  11513. "description": "源值",
  11514. "type": "number"
  11515. },
  11516. "pddecimalplace": {
  11517. "description": "PD小数位",
  11518. "type": "integer"
  11519. },
  11520. "qty": {
  11521. "description": "数量",
  11522. "type": "string"
  11523. },
  11524. "remark": {
  11525. "description": "备注",
  11526. "type": "string"
  11527. },
  11528. "sessionid": {
  11529. "description": "会话ID",
  11530. "type": "integer"
  11531. },
  11532. "timemaxvalue": {
  11533. "description": "配置单次最大转入限制",
  11534. "type": "number"
  11535. },
  11536. "timemaxvalue2": {
  11537. "description": "配置单次最大转入限制(转入)",
  11538. "type": "number"
  11539. },
  11540. "timeminvalue": {
  11541. "description": "配置单次最小数量限制",
  11542. "type": "number"
  11543. },
  11544. "timeminvalue2": {
  11545. "description": "配置单次最小数量限制(转入)",
  11546. "type": "number"
  11547. },
  11548. "tradedate": {
  11549. "description": "交易日(yyyyMMdd)",
  11550. "type": "string"
  11551. },
  11552. "userid": {
  11553. "description": "用户ID",
  11554. "type": "integer"
  11555. }
  11556. }
  11557. },
  11558. "szdz.QueryGoodsPickupRsp": {
  11559. "type": "object",
  11560. "required": [
  11561. "takeorderid"
  11562. ],
  11563. "properties": {
  11564. "accountid": {
  11565. "description": "账户ID",
  11566. "type": "integer"
  11567. },
  11568. "address": {
  11569. "description": "提货人详细地址",
  11570. "type": "string"
  11571. },
  11572. "auditer": {
  11573. "description": "审核人",
  11574. "type": "integer"
  11575. },
  11576. "audittime": {
  11577. "description": "审核时间",
  11578. "type": "string"
  11579. },
  11580. "cardnum": {
  11581. "description": "提货人证件号码",
  11582. "type": "string"
  11583. },
  11584. "cardtypeid": {
  11585. "description": "提货人证件类型",
  11586. "type": "integer"
  11587. },
  11588. "checkremark": {
  11589. "description": "审核备注",
  11590. "type": "string"
  11591. },
  11592. "goodscode": {
  11593. "description": "商品代码",
  11594. "type": "string"
  11595. },
  11596. "goodsid": {
  11597. "description": "商品ID",
  11598. "type": "integer"
  11599. },
  11600. "goodsname": {
  11601. "description": "商品名称",
  11602. "type": "string"
  11603. },
  11604. "handlestatus": {
  11605. "description": "处理状态",
  11606. "type": "integer"
  11607. },
  11608. "marketid": {
  11609. "description": "市场ID",
  11610. "type": "integer"
  11611. },
  11612. "phonenum": {
  11613. "description": "提货人联系方式",
  11614. "type": "string"
  11615. },
  11616. "qty": {
  11617. "description": "提货数量",
  11618. "type": "number"
  11619. },
  11620. "recivername": {
  11621. "description": "提货人姓名",
  11622. "type": "string"
  11623. },
  11624. "reqtime": {
  11625. "description": "更新时间",
  11626. "type": "string"
  11627. },
  11628. "takemode": {
  11629. "description": "提货方式 - 2:自提 3:配送",
  11630. "type": "integer"
  11631. },
  11632. "takeorderid": {
  11633. "description": "提货单号(905+Unix秒时间戳(10位)+xxxxxx)",
  11634. "type": "string"
  11635. },
  11636. "takeorderstatus": {
  11637. "description": "提货状态 - 1:待发货 2:已发货 3:已收货",
  11638. "type": "integer"
  11639. },
  11640. "takeremark": {
  11641. "description": "提货备注",
  11642. "type": "string"
  11643. },
  11644. "tradedate": {
  11645. "description": "交易日(yyyyMMdd)",
  11646. "type": "string"
  11647. },
  11648. "userid": {
  11649. "description": "用户ID",
  11650. "type": "integer"
  11651. }
  11652. }
  11653. },
  11654. "szdz.QueryRecieptOrderRsp": {
  11655. "type": "object",
  11656. "required": [
  11657. "ordertime"
  11658. ],
  11659. "properties": {
  11660. "accountName": {
  11661. "description": "所属账号名称(已脱敏)",
  11662. "type": "string"
  11663. },
  11664. "accountid": {
  11665. "description": "资金账号",
  11666. "type": "integer"
  11667. },
  11668. "buyorsell": {
  11669. "description": "方向 - 0:买 1:卖",
  11670. "type": "integer"
  11671. },
  11672. "enableqty": {
  11673. "description": "可摘数量",
  11674. "type": "integer"
  11675. },
  11676. "goodscode": {
  11677. "description": "商品代码",
  11678. "type": "string"
  11679. },
  11680. "goodsid": {
  11681. "description": "商品ID",
  11682. "type": "integer"
  11683. },
  11684. "goodsname": {
  11685. "description": "商品名称",
  11686. "type": "string"
  11687. },
  11688. "orderid": {
  11689. "description": "委托单号",
  11690. "type": "string"
  11691. },
  11692. "orderprice": {
  11693. "description": "委托价格",
  11694. "type": "number"
  11695. },
  11696. "ordertime": {
  11697. "description": "委托时间",
  11698. "type": "string"
  11699. },
  11700. "tradedate": {
  11701. "description": "交易日(yyyyMMdd)",
  11702. "type": "string"
  11703. }
  11704. }
  11705. },
  11706. "szdz.QuerySZDZTradePositionRsp": {
  11707. "type": "object",
  11708. "properties": {
  11709. "accountid": {
  11710. "description": "账号Id",
  11711. "type": "integer"
  11712. },
  11713. "agreeunit": {
  11714. "description": "合约单位",
  11715. "type": "number"
  11716. },
  11717. "averageprice": {
  11718. "description": "持仓均价",
  11719. "type": "number"
  11720. },
  11721. "buyorsell": {
  11722. "description": "方向 - 0:买 1:卖",
  11723. "type": "integer"
  11724. },
  11725. "closetotalqty": {
  11726. "description": "平仓总数量",
  11727. "type": "integer"
  11728. },
  11729. "curholderamount": {
  11730. "description": "当前持仓总金额",
  11731. "type": "number"
  11732. },
  11733. "curpositionqty": {
  11734. "description": "当前持仓总数量",
  11735. "type": "integer"
  11736. },
  11737. "currencyid": {
  11738. "description": "报价货币ID",
  11739. "type": "integer"
  11740. },
  11741. "curtdposition": {
  11742. "description": "期末今日头寸",
  11743. "type": "integer"
  11744. },
  11745. "decimalplace": {
  11746. "description": "报价小数位",
  11747. "type": "integer"
  11748. },
  11749. "enableqty": {
  11750. "description": "可用量",
  11751. "type": "integer"
  11752. },
  11753. "fretdposition": {
  11754. "description": "冻结今日头寸",
  11755. "type": "integer"
  11756. },
  11757. "frozenqty": {
  11758. "description": "持仓冻结数量",
  11759. "type": "integer"
  11760. },
  11761. "goodscode": {
  11762. "description": "商品代码(内部)",
  11763. "type": "string"
  11764. },
  11765. "goodsid": {
  11766. "description": "商品Id",
  11767. "type": "integer"
  11768. },
  11769. "goodsname": {
  11770. "description": "商品名称",
  11771. "type": "string"
  11772. },
  11773. "goodunit": {
  11774. "description": "报价单位",
  11775. "type": "string"
  11776. },
  11777. "goodunitid": {
  11778. "description": "报价单位ID",
  11779. "type": "integer"
  11780. },
  11781. "holderamount": {
  11782. "description": "期初持仓总金额",
  11783. "type": "number"
  11784. },
  11785. "marketid": {
  11786. "description": "市场ID",
  11787. "type": "integer"
  11788. },
  11789. "openreqqty": {
  11790. "description": "开仓申请数量",
  11791. "type": "integer"
  11792. },
  11793. "opentotalqty": {
  11794. "description": "开仓总数量",
  11795. "type": "integer"
  11796. },
  11797. "otherfrozenqty": {
  11798. "description": "持仓其他冻结数量(交割冻结)",
  11799. "type": "integer"
  11800. },
  11801. "positionqty": {
  11802. "description": "期初持仓数量",
  11803. "type": "integer"
  11804. },
  11805. "szdz3freezqty": {
  11806. "description": "尚志大宗转换冻结总数量",
  11807. "type": "integer"
  11808. },
  11809. "tnqty": {
  11810. "description": "T+N冻结总量",
  11811. "type": "integer"
  11812. },
  11813. "tnusedqty": {
  11814. "description": "T+N使用量",
  11815. "type": "integer"
  11816. },
  11817. "trademode": {
  11818. "description": "交易模式",
  11819. "type": "integer"
  11820. },
  11821. "usedmargin": {
  11822. "description": "占用保证金",
  11823. "type": "number"
  11824. }
  11825. }
  11826. },
  11827. "taaccount.QueryAmountLogRsp": {
  11828. "type": "object",
  11829. "required": [
  11830. "accountid",
  11831. "amount",
  11832. "amountadjusttype",
  11833. "autoid",
  11834. "balance",
  11835. "createtime",
  11836. "currentbalance",
  11837. "operatetype"
  11838. ],
  11839. "properties": {
  11840. "OPERATETYPENAME": {
  11841. "description": "资金操作类型名称",
  11842. "type": "string"
  11843. },
  11844. "accountid": {
  11845. "description": "资金账户ID",
  11846. "type": "integer"
  11847. },
  11848. "agoodscode": {
  11849. "description": "竞拍商品代码",
  11850. "type": "string"
  11851. },
  11852. "agoodsname": {
  11853. "description": "竞拍商品名称",
  11854. "type": "string"
  11855. },
  11856. "amount": {
  11857. "description": "资金金额",
  11858. "type": "number"
  11859. },
  11860. "amountadjusttype": {
  11861. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11862. "type": "integer"
  11863. },
  11864. "autoid": {
  11865. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11866. "type": "integer"
  11867. },
  11868. "balance": {
  11869. "description": "期初余额",
  11870. "type": "number"
  11871. },
  11872. "businesscode": {
  11873. "description": "业务编号",
  11874. "type": "integer"
  11875. },
  11876. "createtime": {
  11877. "description": "发生时间",
  11878. "type": "string"
  11879. },
  11880. "currencyid": {
  11881. "description": "币种ID",
  11882. "type": "integer"
  11883. },
  11884. "currentbalance": {
  11885. "description": "期末余额(变动后金额)",
  11886. "type": "number"
  11887. },
  11888. "dgoodscode": {
  11889. "description": "交割商品代码",
  11890. "type": "string"
  11891. },
  11892. "dgoodsname": {
  11893. "description": "交割商品名称",
  11894. "type": "string"
  11895. },
  11896. "goodscode": {
  11897. "description": "商品代码",
  11898. "type": "string"
  11899. },
  11900. "goodsid": {
  11901. "description": "商品ID",
  11902. "type": "integer"
  11903. },
  11904. "goodsname": {
  11905. "description": "商品名称",
  11906. "type": "string"
  11907. },
  11908. "marketid": {
  11909. "description": "市场ID",
  11910. "type": "integer"
  11911. },
  11912. "marketname": {
  11913. "description": "市场名称",
  11914. "type": "string"
  11915. },
  11916. "moneyticket": {
  11917. "description": "资金流水号:银行端流水号",
  11918. "type": "integer"
  11919. },
  11920. "operatetype": {
  11921. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  11922. "type": "integer"
  11923. },
  11924. "relationorderid": {
  11925. "description": "关联单号",
  11926. "type": "string"
  11927. },
  11928. "remark": {
  11929. "description": "备注",
  11930. "type": "string"
  11931. },
  11932. "trademode": {
  11933. "description": "交易模式",
  11934. "type": "integer"
  11935. }
  11936. }
  11937. },
  11938. "taaccount.QueryHisAmountLogRsp": {
  11939. "type": "object",
  11940. "required": [
  11941. "accountid",
  11942. "amount",
  11943. "amountadjusttype",
  11944. "autoid",
  11945. "balance",
  11946. "createtime",
  11947. "currentbalance",
  11948. "histradedate",
  11949. "operatetype"
  11950. ],
  11951. "properties": {
  11952. "OPERATETYPENAME": {
  11953. "description": "资金操作类型名称",
  11954. "type": "string"
  11955. },
  11956. "accountid": {
  11957. "description": "资金账户ID",
  11958. "type": "integer"
  11959. },
  11960. "agoodscode": {
  11961. "description": "竞拍商品代码",
  11962. "type": "string"
  11963. },
  11964. "agoodsname": {
  11965. "description": "竞拍商品名称",
  11966. "type": "string"
  11967. },
  11968. "amount": {
  11969. "description": "资金金额",
  11970. "type": "number"
  11971. },
  11972. "amountadjusttype": {
  11973. "description": "资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整",
  11974. "type": "integer"
  11975. },
  11976. "autoid": {
  11977. "description": "流水ID(220+Unix秒时间戳(10位)+xxxxxx)",
  11978. "type": "integer"
  11979. },
  11980. "balance": {
  11981. "description": "期初余额",
  11982. "type": "number"
  11983. },
  11984. "businesscode": {
  11985. "description": "业务编号",
  11986. "type": "integer"
  11987. },
  11988. "createtime": {
  11989. "description": "发生时间",
  11990. "type": "string"
  11991. },
  11992. "currencyid": {
  11993. "description": "币种ID",
  11994. "type": "integer"
  11995. },
  11996. "currentbalance": {
  11997. "description": "期末余额(变动后金额)",
  11998. "type": "number"
  11999. },
  12000. "dgoodscode": {
  12001. "description": "交割商品代码",
  12002. "type": "string"
  12003. },
  12004. "dgoodsname": {
  12005. "description": "交割商品名称",
  12006. "type": "string"
  12007. },
  12008. "goodscode": {
  12009. "description": "商品代码",
  12010. "type": "string"
  12011. },
  12012. "goodsid": {
  12013. "description": "商品ID",
  12014. "type": "integer"
  12015. },
  12016. "goodsname": {
  12017. "description": "商品名称",
  12018. "type": "string"
  12019. },
  12020. "histradedate": {
  12021. "description": "历史交易日",
  12022. "type": "string"
  12023. },
  12024. "isvaliddata": {
  12025. "description": "是否有效 - 0:无效 1:有效",
  12026. "type": "integer"
  12027. },
  12028. "marketid": {
  12029. "description": "市场ID",
  12030. "type": "integer"
  12031. },
  12032. "marketname": {
  12033. "description": "市场名称",
  12034. "type": "string"
  12035. },
  12036. "moneyticket": {
  12037. "description": "资金流水号:银行端流水号",
  12038. "type": "integer"
  12039. },
  12040. "operatetype": {
  12041. "description": "资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款",
  12042. "type": "integer"
  12043. },
  12044. "relationorderid": {
  12045. "description": "关联单号",
  12046. "type": "string"
  12047. },
  12048. "remark": {
  12049. "description": "备注",
  12050. "type": "string"
  12051. },
  12052. "trademode": {
  12053. "description": "交易模式",
  12054. "type": "integer"
  12055. }
  12056. }
  12057. },
  12058. "trade.QueryRecieptOrderRsp": {
  12059. "type": "object",
  12060. "required": [
  12061. "ordertime"
  12062. ],
  12063. "properties": {
  12064. "accountName": {
  12065. "description": "所属账号名称(已脱敏)",
  12066. "type": "string"
  12067. },
  12068. "accountid": {
  12069. "description": "资金账号",
  12070. "type": "integer"
  12071. },
  12072. "buyorsell": {
  12073. "description": "方向 - 0:买 1:卖",
  12074. "type": "integer"
  12075. },
  12076. "enableqty": {
  12077. "description": "可摘数量",
  12078. "type": "integer"
  12079. },
  12080. "goodscode": {
  12081. "description": "商品代码",
  12082. "type": "string"
  12083. },
  12084. "goodsid": {
  12085. "description": "商品ID",
  12086. "type": "integer"
  12087. },
  12088. "goodsname": {
  12089. "description": "商品名称",
  12090. "type": "string"
  12091. },
  12092. "orderid": {
  12093. "description": "委托单号",
  12094. "type": "string"
  12095. },
  12096. "orderprice": {
  12097. "description": "委托价格",
  12098. "type": "number"
  12099. },
  12100. "ordertime": {
  12101. "description": "委托时间",
  12102. "type": "string"
  12103. },
  12104. "tradedate": {
  12105. "description": "交易日(yyyyMMdd)",
  12106. "type": "string"
  12107. }
  12108. }
  12109. }
  12110. },
  12111. "securityDefinitions": {
  12112. "ApiKeyAuth": {
  12113. "type": "apiKey",
  12114. "name": "Authorization",
  12115. "in": "header"
  12116. }
  12117. }
  12118. }