swagger.yaml 334 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.QueryNoticeRsp:
  22. properties:
  23. auditoruserid:
  24. description: 审核人
  25. type: integer
  26. auditremark:
  27. description: 审核备注
  28. type: string
  29. audittime:
  30. description: 审核日期
  31. type: string
  32. autoid:
  33. description: 自增ID
  34. type: integer
  35. content:
  36. description: 内容
  37. type: string
  38. createtime:
  39. description: 创建时间
  40. type: string
  41. creatorid:
  42. description: 建仓人
  43. type: integer
  44. endtime:
  45. description: 结束时间
  46. type: string
  47. istop:
  48. description: 是否置顶 - 0:不置顶 1:置顶
  49. type: integer
  50. msgiconurl:
  51. description: 消息图标Url
  52. type: string
  53. msgtype:
  54. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  55. type: integer
  56. publisher:
  57. description: 消息发布者
  58. type: string
  59. readed:
  60. description: 是否已读
  61. type: boolean
  62. scheduletime:
  63. description: 计划发送时间
  64. type: string
  65. sendtype:
  66. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  67. type: integer
  68. sentstatus:
  69. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  70. type: integer
  71. title:
  72. description: 标题
  73. type: string
  74. userid:
  75. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  76. type: integer
  77. required:
  78. - autoid
  79. type: object
  80. common.QueryProvincesAndCitiesRsp:
  81. properties:
  82. cities:
  83. description: 市
  84. items:
  85. $ref: '#/definitions/models.Division'
  86. type: array
  87. province:
  88. $ref: '#/definitions/models.Division'
  89. description: 省
  90. type: object
  91. common.QueryTableDefineRsp:
  92. properties:
  93. columns:
  94. description: 列头信息数组
  95. items:
  96. $ref: '#/definitions/models.Tablecolumnconfig'
  97. type: array
  98. remark:
  99. description: Remark
  100. type: string
  101. tabelmenu:
  102. description: 列表菜单
  103. type: string
  104. tablekey:
  105. description: 列表Key
  106. type: string
  107. tablename:
  108. description: 列表名称
  109. type: string
  110. tabletype:
  111. description: 列表类型 - 1:管理端 2:终端
  112. type: integer
  113. required:
  114. - tablekey
  115. type: object
  116. common.QueryTraderMenuRsp:
  117. properties:
  118. OperationMenu:
  119. description: 功能菜单
  120. items:
  121. $ref: '#/definitions/models.OperationPrimaryMenu'
  122. type: array
  123. QuoteMenu:
  124. description: 报价牌分类菜单
  125. items:
  126. $ref: '#/definitions/models.QuotePrimaryMenu'
  127. type: array
  128. type: object
  129. cptrade.Cptradepositioncancel:
  130. properties:
  131. accountid:
  132. description: 申请人账户ID
  133. type: integer
  134. applystatus:
  135. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  136. type: integer
  137. applytime:
  138. description: 申请时间
  139. type: string
  140. cancelid:
  141. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  142. type: integer
  143. cancelqty:
  144. description: 注销数量
  145. type: integer
  146. createtime:
  147. description: 创建时间
  148. type: string
  149. creatorid:
  150. description: 创建人ID
  151. type: integer
  152. creatorname:
  153. description: 创建人
  154. type: string
  155. goodscode:
  156. description: 订单商品代码
  157. type: string
  158. goodsid:
  159. description: 商品ID
  160. type: integer
  161. goodsname:
  162. description: 订单商品名称
  163. type: string
  164. goodunit:
  165. description: 报价单位
  166. type: string
  167. handlestatus:
  168. description: 处理状态
  169. type: integer
  170. marketid:
  171. description: 市场ID
  172. type: integer
  173. marketname:
  174. description: 市场名称
  175. type: string
  176. tradedate:
  177. description: 交易日(yyyyMMdd)
  178. type: string
  179. userid:
  180. description: 申请人ID
  181. type: integer
  182. required:
  183. - cancelid
  184. type: object
  185. cptrade.Cptradepresaleapply:
  186. properties:
  187. accountid:
  188. description: 申请人账户ID
  189. type: integer
  190. applyid:
  191. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  192. type: integer
  193. applyremark:
  194. description: 申请备注
  195. type: string
  196. applystatus:
  197. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  198. type: integer
  199. applytime:
  200. description: 申请时间
  201. type: string
  202. attachmenturl:
  203. description: 附件地址
  204. type: string
  205. endtime:
  206. description: 预售结束时间
  207. type: string
  208. goodscode:
  209. description: 商品代码
  210. type: string
  211. goodsid:
  212. description: 商品ID
  213. type: integer
  214. goodsname:
  215. description: 商品名称
  216. type: string
  217. goodunit:
  218. description: 报价单位
  219. type: string
  220. handlestatus:
  221. description: 处理状态
  222. type: integer
  223. marketid:
  224. description: 预售市场ID
  225. type: integer
  226. marketname:
  227. description: 预售市场名称
  228. type: string
  229. presaleqty:
  230. description: 预售数量
  231. type: integer
  232. relatedgoodscode:
  233. description: 关联交易合约代码
  234. type: string
  235. relatedgoodsid:
  236. description: 关联交易合约ID
  237. type: integer
  238. relatedgoodsname:
  239. description: 关联交易合约名称
  240. type: string
  241. starttime:
  242. description: 预售开始时间
  243. type: string
  244. tradedate:
  245. description: 交易日(yyyyMMdd)
  246. type: string
  247. trademode:
  248. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  249. type: integer
  250. userid:
  251. description: 申请人ID
  252. type: integer
  253. required:
  254. - applyid
  255. type: object
  256. cptrade.Cptradeusergoodsdata:
  257. properties:
  258. EnabledQty:
  259. description: 可用量
  260. type: integer
  261. GoodsCode:
  262. description: 订单商品代码
  263. type: string
  264. GoodsName:
  265. description: 订单商品名称
  266. type: string
  267. WRStandardCode:
  268. description: 仓单标准代码
  269. type: string
  270. WRStandardName:
  271. description: 仓单标准名称
  272. type: string
  273. accountid:
  274. description: 账户ID
  275. type: integer
  276. cancelqty:
  277. description: 注销量
  278. type: integer
  279. curpresaleqty:
  280. description: 当前预售量
  281. type: integer
  282. deliveryqty:
  283. description: 交割量
  284. type: integer
  285. freezeamount:
  286. description: 冻结金额
  287. type: number
  288. goodsid:
  289. description: 商品ID
  290. type: integer
  291. goodunit:
  292. description: 报价单位
  293. type: string
  294. hasspotfreeze:
  295. description: 是否有现货冻结 - 0:否 1:有
  296. type: integer
  297. inqty:
  298. description: 转入量(总数量)
  299. type: integer
  300. marketid:
  301. description: 市场ID
  302. type: integer
  303. presaledamount:
  304. description: 已预售总金额
  305. type: integer
  306. presaledqty:
  307. description: 已预售量
  308. type: integer
  309. userid:
  310. description: 用户ID
  311. type: integer
  312. wrstandardid:
  313. description: 仓单标准ID
  314. type: integer
  315. required:
  316. - accountid
  317. - goodsid
  318. type: object
  319. cptrade.QueryCPTradeMyBidRsp:
  320. properties:
  321. accountid:
  322. description: 账户ID[报价币种]
  323. type: integer
  324. goodsid:
  325. description: 商品ID
  326. type: integer
  327. goodunit:
  328. description: 报价单位
  329. type: string
  330. marketid:
  331. description: 市场ID
  332. type: integer
  333. orderid:
  334. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  335. type: integer
  336. orderprice:
  337. description: 委托价格
  338. type: number
  339. orderqty:
  340. description: 委托数量
  341. type: integer
  342. ordertime:
  343. description: 委托时间
  344. type: string
  345. ordertotalprice:
  346. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  347. type: number
  348. ordertotalweight:
  349. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  350. type: integer
  351. totaltotalprice:
  352. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  353. type: number
  354. tradeprice:
  355. description: 成交价格
  356. type: number
  357. tradeqty:
  358. description: 成交数量
  359. type: integer
  360. required:
  361. - accountid
  362. - goodsid
  363. - marketid
  364. - orderid
  365. - orderqty
  366. - ordertime
  367. - tradeprice
  368. - tradeqty
  369. type: object
  370. cptrade.QueryCPTradeOrderDetailRsq:
  371. properties:
  372. accountid:
  373. description: 账户ID[报价币种]
  374. type: integer
  375. buildtype:
  376. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  377. type: integer
  378. buyorsell:
  379. description: 买卖 - 0:买 1:卖
  380. type: integer
  381. cancelorderid:
  382. description: 撤单单号(撤单时填写)
  383. type: integer
  384. cancelqty:
  385. description: 撤单数量
  386. type: integer
  387. clientordertime:
  388. description: 客户端委托时间
  389. type: string
  390. clientticket:
  391. description: 客户端流水号
  392. type: string
  393. clienttype:
  394. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  395. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  396. type: integer
  397. closeexchagechargevalue:
  398. description: 平仓交易所手续费设置值
  399. type: number
  400. closefeealgorithm:
  401. description: 平仓手续费收取方式 1:比率 2:固定
  402. type: integer
  403. closefreezecharge:
  404. description: 平仓冻结手续费(先建后平操作,需要记录)
  405. type: number
  406. closememberchargevalue:
  407. description: 平仓会员手续费设置值
  408. type: number
  409. closeqty:
  410. description: 平仓数量(先建后平操作 需要记录)
  411. type: integer
  412. closetradeqty:
  413. description: 平仓成交数量(先建后平操作,需要记录)
  414. type: integer
  415. closeunfreezecharge:
  416. description: 平仓解冻手续费(先建后平操作,需要记录)
  417. type: number
  418. delistingtype:
  419. description: 摘牌类型 - 1:价格最优 2:点选成交
  420. type: integer
  421. freezecharge:
  422. description: 冻结手续费
  423. type: number
  424. freezemargin:
  425. description: 冻结保证金(冻结交易金额)
  426. type: number
  427. gcaccountid:
  428. description: 账户ID[合约币种]
  429. type: integer
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. isconfirmexercise:
  434. description: 是否确认行权- 0:否 1:是
  435. type: integer
  436. ispreexercise:
  437. description: 是否预申报- 0:否 1:是
  438. type: integer
  439. listingselecttype:
  440. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  441. type: integer
  442. marginalgorithm:
  443. description: 保证金收取方式 1:比率 2:固定
  444. type: integer
  445. marginvalue:
  446. description: 即市保证金设置值
  447. type: number
  448. marketid:
  449. description: 市场ID
  450. type: integer
  451. marketmaxsub:
  452. description: 市价最大偏移范围
  453. type: number
  454. memberuserid:
  455. description: 所属会员UserID
  456. type: integer
  457. openexchagechargevalue:
  458. description: 建仓交易所手续费设置值
  459. type: number
  460. openfeealgorithm:
  461. description: 建仓手续费收取方式 1:比率 2:固定
  462. type: integer
  463. openfreezecharge:
  464. description: 开仓冻结手续费(先建后平操作,需要记录)
  465. type: number
  466. openmemberchargevalue:
  467. description: 建仓会员手续费设置值
  468. type: number
  469. openqty:
  470. description: 开仓数量(先建后平操作,需要记录)
  471. type: integer
  472. opentradeqty:
  473. description: 开仓成交数量(先建后平操作,需要记录)
  474. type: integer
  475. openunfreezecharge:
  476. description: 开仓解冻手续费(先建后平操作,需要记录)
  477. type: number
  478. operatetype:
  479. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  480. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  481. 15:管理端协议转让
  482. type: integer
  483. operatorid:
  484. description: 登录账号(LoginID)
  485. type: integer
  486. optiontype:
  487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  488. type: integer
  489. orderprice:
  490. description: 委托价格
  491. type: number
  492. orderqty:
  493. description: 委托数量
  494. type: integer
  495. ordersrc:
  496. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  497. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  498. type: integer
  499. orderstatus:
  500. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  501. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  502. 16:成交失败违约(荷兰式竞拍专用)
  503. type: integer
  504. ordertime:
  505. description: 委托时间
  506. type: string
  507. preexerciseprice:
  508. description: 预申报价格
  509. type: number
  510. premium:
  511. description: 权利金
  512. type: number
  513. preorderid:
  514. description: 关联预埋单号(止盈止损单时填写)
  515. type: integer
  516. pricemode:
  517. description: '取价方式 - 1:市价 2: 限价'
  518. type: integer
  519. quoteid:
  520. description: 报价单ID
  521. type: integer
  522. relatedid:
  523. description: 关联单号(交割单)
  524. type: integer
  525. retcode:
  526. description: 错误代码
  527. type: integer
  528. sessionid:
  529. description: 会话ID
  530. type: integer
  531. strorderid:
  532. description: 委托单号
  533. type: string
  534. tradedate:
  535. description: 交易日(yyyyMMdd)
  536. type: string
  537. tradeproperty:
  538. description: 交易属性
  539. type: integer
  540. tradeqty:
  541. description: 成交数量
  542. type: integer
  543. unfreezecharge:
  544. description: 解冻手续费
  545. type: number
  546. unfreezemargin:
  547. description: 解冻保证金
  548. type: number
  549. updatetime:
  550. description: 更新时间
  551. type: string
  552. uuid:
  553. description: 发起端唯一id
  554. type: string
  555. validtime:
  556. description: 有效期限
  557. type: string
  558. validtype:
  559. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  560. type: integer
  561. volumetype:
  562. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  563. type: integer
  564. required:
  565. - accountid
  566. - buildtype
  567. - buyorsell
  568. - goodsid
  569. - marketid
  570. - memberuserid
  571. - operatetype
  572. - orderqty
  573. - ordertime
  574. - pricemode
  575. - strorderid
  576. - tradedate
  577. - validtype
  578. type: object
  579. cptrade.QueryMyCPTradeGoodsRsp:
  580. properties:
  581. accountid:
  582. description: 卖方账户ID
  583. type: integer
  584. agreeunit:
  585. description: 合约单位
  586. type: number
  587. applyid:
  588. description: 关联申请ID
  589. type: integer
  590. attachmenturl:
  591. description: 附件地址
  592. type: string
  593. createtime:
  594. description: 创建时间
  595. type: string
  596. currencyid:
  597. description: 报价货币ID
  598. type: integer
  599. decimalplace:
  600. description: 报价小数位
  601. type: integer
  602. endtime:
  603. description: 预售结束时间
  604. type: string
  605. floorprice:
  606. description: 底价[大宗式竞拍]
  607. type: number
  608. goodscode:
  609. description: 商品代码(预售)
  610. type: string
  611. goodsdetail:
  612. description: 详情[大宗]
  613. type: string
  614. goodsid:
  615. description: 商品ID(自增ID SEQ_GOODS)
  616. type: integer
  617. goodsname:
  618. description: 商品名称(预售)
  619. type: string
  620. goodunit:
  621. description: 报价单位
  622. type: string
  623. goodunitid:
  624. description: 报价单位ID
  625. type: integer
  626. marketid:
  627. description: 所属市场ID
  628. type: integer
  629. marketname:
  630. description: 预售市场名称
  631. type: string
  632. presaledamount:
  633. description: 已预售总金额(预售结束时更新)
  634. type: number
  635. presaledqty:
  636. description: 已预售量(预售结束时更新)
  637. type: integer
  638. presalemode:
  639. description: 预售模式 - 1:一口价 2:大宗式竞拍
  640. type: integer
  641. presaleqty:
  642. description: 预售数量
  643. type: integer
  644. refprice:
  645. description: 参考价格[一口价]
  646. type: number
  647. relatedgoodscode:
  648. description: 商品代码(订单)
  649. type: string
  650. relatedgoodsid:
  651. description: 关联交易合约ID
  652. type: integer
  653. relatedgoodsname:
  654. description: 商品名称(订单)
  655. type: string
  656. relatedmarketid:
  657. description: 关联交易合约市场ID
  658. type: integer
  659. sellstatus:
  660. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  661. type: integer
  662. startprice:
  663. description: 起拍价[大宗式竞拍]
  664. type: number
  665. starttime:
  666. description: 预售开始时间
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeprice:
  672. description: 成交价[大宗]
  673. type: number
  674. userid:
  675. description: 卖方用户ID
  676. type: integer
  677. required:
  678. - goodscode
  679. - goodsid
  680. - goodsname
  681. - marketid
  682. - relatedgoodscode
  683. - relatedgoodsname
  684. type: object
  685. cptrade.QueryPresaleGoodsExRsp:
  686. properties:
  687. attachmenturl:
  688. description: 附件地址
  689. type: string
  690. createtime:
  691. description: 创建时间
  692. type: string
  693. endtime:
  694. description: 预售结束时间
  695. type: string
  696. floorprice:
  697. description: 底价[大宗式竞拍]
  698. type: number
  699. goodsdetail:
  700. description: 详情[大宗]
  701. type: string
  702. goodsid:
  703. description: 商品ID(预售)
  704. type: integer
  705. goodunit:
  706. description: 报价单位
  707. type: string
  708. marketid:
  709. description: 预售市场ID - 根据预售模式选择市场
  710. type: integer
  711. presaledamount:
  712. description: 已预售总金额(预售结束时更新)
  713. type: number
  714. presaledqty:
  715. description: 已预售量(预售结束时更新)
  716. type: integer
  717. presalemode:
  718. description: 预售模式 - 1:一口价 2:大宗式竞拍
  719. type: integer
  720. presaleqty:
  721. description: 预售数量
  722. type: integer
  723. refprice:
  724. description: 参考价格[一口价]
  725. type: number
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedmarketid:
  730. description: 关联交易合约市场ID
  731. type: integer
  732. sellstatus:
  733. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  734. type: integer
  735. startprice:
  736. description: 起拍价[大宗式竞拍]
  737. type: number
  738. starttime:
  739. description: 预售开始时间
  740. type: string
  741. tradedate:
  742. description: 交易日(yyyyMMdd)
  743. type: string
  744. tradeprice:
  745. description: 成交价[大宗]
  746. type: number
  747. required:
  748. - goodsid
  749. type: object
  750. delivery.QueryDeliveryRelationRsp:
  751. properties:
  752. begindate:
  753. description: 起始日期(yyyyMMdd)
  754. type: string
  755. buytemplateid:
  756. description: 买履约计划模板ID
  757. type: integer
  758. deliverygoodscode:
  759. description: 品种代码
  760. type: string
  761. deliverygoodsid:
  762. description: 交割商品
  763. type: integer
  764. deliverygoodsname:
  765. description: 品种名称
  766. type: string
  767. deliverymode:
  768. description: 交割方式 - 1:点选式 2:申报式
  769. type: integer
  770. deliverypricerule:
  771. description: 交割价规则- 1:行情价 2:建仓价
  772. type: integer
  773. deliverytype:
  774. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  775. type: integer
  776. enddate:
  777. description: 结束日期(yyyyMMdd)
  778. type: string
  779. goodscode:
  780. description: 商品代码
  781. type: string
  782. goodsid:
  783. description: 交易合约ID
  784. type: integer
  785. goodsname:
  786. description: 商品名称
  787. type: string
  788. marketid:
  789. description: 市场ID
  790. type: integer
  791. mindeliveryqty:
  792. description: 最小交割系数(K)
  793. type: integer
  794. p2deliveryprice:
  795. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  796. type: number
  797. p2deliveryratio:
  798. description: P2合约系数(p)
  799. type: integer
  800. p2goodsid:
  801. description: P2合约ID
  802. type: integer
  803. p2pricemode:
  804. description: P2合约价格方式 - 1:商品价 2:固定值
  805. type: integer
  806. pdeliveryprice:
  807. description: P合约价格(商品价时填写0,固定值时填写固定值)
  808. type: number
  809. pdeliveryratio:
  810. description: P合约系数(n)
  811. type: integer
  812. pgoodsid:
  813. description: P合约ID
  814. type: integer
  815. ppricemode:
  816. description: P合约价格方式 - 1:商品价 2:固定值
  817. type: integer
  818. rratio:
  819. description: 兑换系数(R)
  820. type: integer
  821. rratio1:
  822. description: 兑换系数(交易合约)(R1)
  823. type: integer
  824. rratio2:
  825. description: 兑换系数(仓单标准)(R2)
  826. type: integer
  827. selltemplateid:
  828. description: 卖履约计划模板ID
  829. type: integer
  830. wrstandardid:
  831. description: 仓单标准ID
  832. type: integer
  833. xdeliveryratio:
  834. description: 交易合约系数(m)
  835. type: integer
  836. required:
  837. - begindate
  838. - enddate
  839. - goodsid
  840. - mindeliveryqty
  841. - xdeliveryratio
  842. type: object
  843. ermcp.ExposureDetailRsp:
  844. properties:
  845. areauserid:
  846. description: 机构ID
  847. type: integer
  848. changeQty:
  849. description: 套保变动量
  850. type: number
  851. contracttype:
  852. description: 现货合同类型 - 1:采购 -1:销售
  853. type: integer
  854. convertfactor:
  855. description: 标仓系数
  856. type: number
  857. convertratio:
  858. description: 套保系数
  859. type: number
  860. createtime:
  861. description: 时间
  862. type: string
  863. enumdicname:
  864. description: 现货商品单位名称
  865. type: string
  866. logtype:
  867. description: 类型 - 1:套保计划 2:现货合同
  868. type: integer
  869. middlegoodsId:
  870. description: 套保商品id
  871. type: integer
  872. middlegoodscode:
  873. description: 套保商品代码
  874. type: string
  875. middlegoodsname:
  876. description: 套保商品名称
  877. type: string
  878. qty:
  879. description: 数量
  880. type: number
  881. relateNo:
  882. description: 现货合同/套保计划编号
  883. type: string
  884. wrstandardcode:
  885. description: 现货商品代码
  886. type: string
  887. wrstandardid:
  888. description: 现货商品ID
  889. type: integer
  890. wrstandardname:
  891. description: 现货商品名称
  892. type: string
  893. type: object
  894. ermcp.ExposureHedgePosDetailRsp:
  895. properties:
  896. buyorsell:
  897. description: 买卖方向 0-买 1-卖
  898. type: integer
  899. channelbuildtype:
  900. description: 开平方向 1-建仓 2-平仓
  901. type: integer
  902. goodscode:
  903. description: 商品代码
  904. type: string
  905. goodsname:
  906. description: 商品名称
  907. type: string
  908. hedgegoodsid:
  909. description: 商品id
  910. type: integer
  911. tradeqty:
  912. description: 数量(成交数量)
  913. type: integer
  914. tradetime:
  915. description: 时间(成交时间)
  916. type: string
  917. type: object
  918. ermcp.ExposureHedgePositionRsp:
  919. properties:
  920. accountid:
  921. description: 资金账号[外部母账户]
  922. type: integer
  923. curbuyposition:
  924. description: 期末买头寸
  925. type: integer
  926. cursellposition:
  927. description: 期末卖头寸
  928. type: integer
  929. curtdbuyposition:
  930. description: 期末今日买头寸
  931. type: integer
  932. curtdsellposition:
  933. description: 期末今日卖头寸
  934. type: integer
  935. curydbuyposition:
  936. description: 期末上日买头寸
  937. type: integer
  938. curydsellposition:
  939. description: 期末上日卖头寸
  940. type: integer
  941. decreaseqty:
  942. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  943. type: integer
  944. fretdbuyposition:
  945. description: 冻结今日买头寸
  946. type: integer
  947. fretdsellposition:
  948. description: 冻结今日卖头寸
  949. type: integer
  950. freydbuyposition:
  951. description: 冻结上日买头寸
  952. type: integer
  953. freydsellposition:
  954. description: 冻结上日卖头寸
  955. type: integer
  956. goodscode:
  957. description: 商品代码
  958. type: string
  959. goodsid:
  960. description: 商品id
  961. type: integer
  962. goodsname:
  963. description: 商品名称
  964. type: string
  965. hedgeaccountcode:
  966. description: 对冲账号
  967. type: string
  968. hedgegoodsid:
  969. description: 对冲合约ID
  970. type: integer
  971. increaseqty:
  972. description: 增加数量 = 期末买头寸 - 期初买头寸
  973. type: integer
  974. marketid:
  975. description: 市场ID
  976. type: integer
  977. relateduserid:
  978. description: 关联用户id
  979. type: integer
  980. totalcurqty:
  981. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  982. type: integer
  983. totalydqty:
  984. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  985. type: integer
  986. tradedate:
  987. description: 交易日(yyyyMMdd)
  988. type: string
  989. ydbuyposition:
  990. description: 期初买头寸
  991. type: integer
  992. ydsellposition:
  993. description: 期初卖头寸
  994. type: integer
  995. type: object
  996. ermcp.ExposureSpotDetailRsp:
  997. properties:
  998. contracttype:
  999. description: 合同类型 1-采购 -1-销售
  1000. type: integer
  1001. createtime:
  1002. description: 创建时间
  1003. type: string
  1004. enumdicname:
  1005. description: 现货商品单位名称
  1006. type: string
  1007. logtype:
  1008. description: 记录类型 1-套保 2-现货合同
  1009. type: integer
  1010. qty:
  1011. description: 数量
  1012. type: number
  1013. recordname:
  1014. description: 类型名称
  1015. type: string
  1016. relatedid:
  1017. description: 套保计划ID/现货合同ID
  1018. type: string
  1019. relatedno:
  1020. description: 编号
  1021. type: string
  1022. strtime:
  1023. description: 时间
  1024. type: string
  1025. wrstandardcode:
  1026. description: 现货商品代码
  1027. type: string
  1028. wrstandardname:
  1029. description: 现货商品名称
  1030. type: string
  1031. type: object
  1032. ermcp.ExposureSpotRsp:
  1033. properties:
  1034. areauserid:
  1035. description: 所属机构
  1036. type: integer
  1037. decreaseqty:
  1038. description: 减少数量=-(销售已定价数量+采购计划数量)
  1039. type: number
  1040. increaseqty:
  1041. description: 增加数量=销售计划数量+采购已定价数量
  1042. type: number
  1043. oritoalspotqty:
  1044. description: 昨日数量
  1045. type: number
  1046. totalspotqty:
  1047. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1048. type: number
  1049. updatetime:
  1050. description: 更新时间
  1051. type: string
  1052. wrstandardcode:
  1053. description: 现货品种代码
  1054. type: string
  1055. wrstandardid:
  1056. description: 现货商品ID
  1057. type: integer
  1058. wrstandardname:
  1059. description: 现货品种
  1060. type: string
  1061. type: object
  1062. ermcp.HisExposureRsp:
  1063. properties:
  1064. data:
  1065. description: 历史敞口
  1066. items:
  1067. $ref: '#/definitions/models.ErmcpHisExposure'
  1068. type: array
  1069. enumdicname:
  1070. description: 单位名称
  1071. type: string
  1072. middlegoodscode:
  1073. description: 套保品种代码
  1074. type: string
  1075. middlegoodsid:
  1076. description: 套保品种ID
  1077. type: integer
  1078. middlegoodsname:
  1079. description: 套保品种名称
  1080. type: string
  1081. type: object
  1082. ermcp.QryAvalidGPRsp:
  1083. properties:
  1084. goodsgroupid:
  1085. description: 期货品种id
  1086. type: integer
  1087. goodsgroupname:
  1088. description: 期货品种名称
  1089. type: string
  1090. goodunitid:
  1091. description: 品种单位id
  1092. type: integer
  1093. goodunitname:
  1094. description: 品种单位名称
  1095. type: string
  1096. outergroupcode:
  1097. description: 期货品种代码
  1098. type: string
  1099. type: object
  1100. ermcp.QryBusinessDjRsp:
  1101. properties:
  1102. amount:
  1103. description: 点价金额=(点价价格+升贴水)*点价数量
  1104. type: number
  1105. applyid:
  1106. description: 申请人
  1107. type: string
  1108. applyname:
  1109. description: 申请人名称
  1110. type: string
  1111. applystatus:
  1112. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1113. type: integer
  1114. applytime:
  1115. description: 申请时间
  1116. type: string
  1117. attachurl:
  1118. description: 附件
  1119. type: string
  1120. auditname:
  1121. description: 审核人名称
  1122. type: string
  1123. audittime:
  1124. description: 审核时间
  1125. type: string
  1126. buyusername:
  1127. description: 采购方名称
  1128. type: string
  1129. contractno:
  1130. description: 合同编号
  1131. type: string
  1132. contractstatus:
  1133. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1134. type: integer
  1135. contracttype:
  1136. description: 现货合同类型 - 1:采购 -1:销售
  1137. type: integer
  1138. enumdicname:
  1139. description: 单位名称
  1140. type: string
  1141. goodscode:
  1142. description: 点价合约
  1143. type: string
  1144. goodsname:
  1145. description: 商品名称
  1146. type: string
  1147. operateapplyid:
  1148. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1149. type: string
  1150. operateapplytype:
  1151. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1152. type: integer
  1153. pricedPrice:
  1154. description: 点价价格(非必填)
  1155. type: number
  1156. pricedQty:
  1157. description: 点价数量(非必填)
  1158. type: number
  1159. pricemove:
  1160. description: 升贴水
  1161. type: number
  1162. pricetype:
  1163. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1164. type: integer
  1165. relatedid:
  1166. description: 现货合同ID
  1167. type: string
  1168. sellusername:
  1169. description: 销售方名字
  1170. type: string
  1171. userid:
  1172. description: 用户ID
  1173. type: integer
  1174. type: object
  1175. ermcp.QryBussinessFpRsp:
  1176. properties:
  1177. applyid:
  1178. description: 申请人
  1179. type: string
  1180. applyname:
  1181. description: 申请人名称
  1182. type: string
  1183. applystatus:
  1184. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1185. type: integer
  1186. applytime:
  1187. description: 申请时间
  1188. type: string
  1189. attachurl:
  1190. description: 附件
  1191. type: string
  1192. auditname:
  1193. description: 审核人名称
  1194. type: string
  1195. audittime:
  1196. description: 审核时间
  1197. type: string
  1198. buyusername:
  1199. description: 采购方名称
  1200. type: string
  1201. contractno:
  1202. description: 合同编号
  1203. type: string
  1204. contractstatus:
  1205. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1206. type: integer
  1207. contracttype:
  1208. description: 现货合同类型 - 1:采购 -1:销售
  1209. type: integer
  1210. enumdicname:
  1211. description: 单位名称
  1212. type: string
  1213. goodscode:
  1214. description: 点价合约
  1215. type: string
  1216. goodsname:
  1217. description: 商品名称
  1218. type: string
  1219. invoiceAmount:
  1220. description: 已开收票金额(销售为开票,采购为收票)
  1221. type: number
  1222. operateapplyid:
  1223. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1224. type: string
  1225. operateapplytype:
  1226. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1227. type: integer
  1228. pricemove:
  1229. description: 升贴水
  1230. type: number
  1231. pricetype:
  1232. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1233. type: integer
  1234. relatedid:
  1235. description: 现货合同ID
  1236. type: string
  1237. sellusername:
  1238. description: 销售方名字
  1239. type: string
  1240. userid:
  1241. description: 用户ID
  1242. type: integer
  1243. type: object
  1244. ermcp.QryBussinessJsExRsp:
  1245. properties:
  1246. applyid:
  1247. description: 申请人
  1248. type: string
  1249. applyname:
  1250. description: 申请人名称
  1251. type: string
  1252. applystatus:
  1253. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1254. type: integer
  1255. applytime:
  1256. description: 申请时间
  1257. type: string
  1258. attachurl:
  1259. description: 附件
  1260. type: string
  1261. auditname:
  1262. description: 审核人名称
  1263. type: string
  1264. audittime:
  1265. description: 审核时间
  1266. type: string
  1267. buyusername:
  1268. description: 采购方名称
  1269. type: string
  1270. contractno:
  1271. description: 合同编号
  1272. type: string
  1273. contractstatus:
  1274. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1275. type: integer
  1276. contracttype:
  1277. description: 现货合同类型 - 1:采购 -1:销售
  1278. type: integer
  1279. enumdicname:
  1280. description: 单位名称
  1281. type: string
  1282. goodscode:
  1283. description: 点价合约
  1284. type: string
  1285. goodsname:
  1286. description: 商品名称
  1287. type: string
  1288. operateapplyid:
  1289. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1290. type: string
  1291. operateapplytype:
  1292. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1293. type: integer
  1294. pricemove:
  1295. description: 升贴水
  1296. type: number
  1297. pricetype:
  1298. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1299. type: integer
  1300. reckontype:
  1301. description: 结算类型
  1302. type: string
  1303. reckonvalue:
  1304. description: 值
  1305. type: number
  1306. relatedid:
  1307. description: 现货合同ID
  1308. type: string
  1309. sellusername:
  1310. description: 销售方名字
  1311. type: string
  1312. userid:
  1313. description: 用户ID
  1314. type: integer
  1315. type: object
  1316. ermcp.QryBussinessJsRsp:
  1317. properties:
  1318. addmargin:
  1319. description: 追加保证金(非必填)
  1320. type: number
  1321. applyid:
  1322. description: 申请人
  1323. type: string
  1324. applyname:
  1325. description: 申请人名称
  1326. type: string
  1327. applystatus:
  1328. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1329. type: integer
  1330. applytime:
  1331. description: 申请时间
  1332. type: string
  1333. attachurl:
  1334. description: 附件
  1335. type: string
  1336. auditname:
  1337. description: 审核人名称
  1338. type: string
  1339. audittime:
  1340. description: 审核时间
  1341. type: string
  1342. buyusername:
  1343. description: 采购方名称
  1344. type: string
  1345. contractno:
  1346. description: 合同编号
  1347. type: string
  1348. contractstatus:
  1349. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1350. type: integer
  1351. contracttype:
  1352. description: 现货合同类型 - 1:采购 -1:销售
  1353. type: integer
  1354. decmargin:
  1355. description: 减少保证金(非必填)
  1356. type: number
  1357. enumdicname:
  1358. description: 单位名称
  1359. type: string
  1360. goodscode:
  1361. description: 点价合约
  1362. type: string
  1363. goodsname:
  1364. description: 商品名称
  1365. type: string
  1366. operateapplyid:
  1367. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1368. type: string
  1369. operateapplytype:
  1370. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1371. type: integer
  1372. pricemove:
  1373. description: 升贴水
  1374. type: number
  1375. pricetype:
  1376. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1377. type: integer
  1378. reckonadjustamount:
  1379. description: 结算调整金额(非必填)
  1380. type: number
  1381. reckonosamount:
  1382. description: 结算溢短金额(非必填)
  1383. type: number
  1384. reckonotheramount:
  1385. description: 结算其他费用(非必填)
  1386. type: number
  1387. reckonrealqty:
  1388. description: 结算实际数量(非必填)
  1389. type: number
  1390. relatedid:
  1391. description: 现货合同ID
  1392. type: string
  1393. sellusername:
  1394. description: 销售方名字
  1395. type: string
  1396. userid:
  1397. description: 用户ID
  1398. type: integer
  1399. type: object
  1400. ermcp.QryBussinessKxRsp:
  1401. properties:
  1402. applyid:
  1403. description: 申请人
  1404. type: string
  1405. applyname:
  1406. description: 申请人名称
  1407. type: string
  1408. applystatus:
  1409. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1410. type: integer
  1411. applytime:
  1412. description: 申请时间
  1413. type: string
  1414. attachurl:
  1415. description: 附件
  1416. type: string
  1417. auditname:
  1418. description: 审核人名称
  1419. type: string
  1420. audittime:
  1421. description: 审核时间
  1422. type: string
  1423. buyusername:
  1424. description: 采购方名称
  1425. type: string
  1426. contractno:
  1427. description: 合同编号
  1428. type: string
  1429. contractstatus:
  1430. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1431. type: integer
  1432. contracttype:
  1433. description: 现货合同类型 - 1:采购 -1:销售
  1434. type: integer
  1435. deductamount:
  1436. description: 退款(非必填)
  1437. type: number
  1438. enumdicname:
  1439. description: 单位名称
  1440. type: string
  1441. goodscode:
  1442. description: 点价合约
  1443. type: string
  1444. goodsname:
  1445. description: 商品名称
  1446. type: string
  1447. kxtype:
  1448. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1449. type: integer
  1450. operateapplyid:
  1451. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1452. type: string
  1453. operateapplytype:
  1454. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1455. type: integer
  1456. payamount:
  1457. description: 收付款(非必填)
  1458. type: number
  1459. pricemove:
  1460. description: 升贴水
  1461. type: number
  1462. pricetype:
  1463. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1464. type: integer
  1465. relatedid:
  1466. description: 现货合同ID
  1467. type: string
  1468. sellusername:
  1469. description: 销售方名字
  1470. type: string
  1471. userid:
  1472. description: 用户ID
  1473. type: integer
  1474. type: object
  1475. ermcp.QryErmcpRsp:
  1476. properties:
  1477. accountname:
  1478. description: 账户名称
  1479. type: string
  1480. attachment:
  1481. description: 附件
  1482. type: string
  1483. audittime:
  1484. description: 审核时间
  1485. type: string
  1486. contracctstatus:
  1487. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1488. type: integer
  1489. contractmargin:
  1490. description: 合同保证金
  1491. type: number
  1492. contractno:
  1493. description: 合同编号
  1494. type: string
  1495. contracttype:
  1496. description: 合同类型 1-采购, -1-销售
  1497. type: integer
  1498. convertfactor:
  1499. description: 标仓系数
  1500. type: number
  1501. createtime:
  1502. description: 创建时间
  1503. type: string
  1504. daikaiamount:
  1505. description: 待开票额
  1506. type: number
  1507. deliveryenddate:
  1508. description: 交割结束日
  1509. type: string
  1510. deliverygoodscode:
  1511. description: 现货商品代码
  1512. type: string
  1513. deliverygoodsid:
  1514. description: 现货商品ID
  1515. type: integer
  1516. deliverygoodsname:
  1517. description: 现货商品名称
  1518. type: string
  1519. deliverystartdate:
  1520. description: 交割开始日
  1521. type: string
  1522. enddate:
  1523. description: 点价结束日
  1524. type: string
  1525. enumdicname:
  1526. description: 单位名称
  1527. type: string
  1528. goodscode:
  1529. description: 点价商品代码
  1530. type: string
  1531. goodsid:
  1532. description: 点价商品ID
  1533. type: integer
  1534. goodsname:
  1535. description: 点价商品名称
  1536. type: string
  1537. invoiceamount:
  1538. description: 已开票额
  1539. type: number
  1540. loanamount:
  1541. description: 贷款总额=已定价额+调整金额
  1542. type: number
  1543. margin:
  1544. description: 保证金
  1545. type: number
  1546. payamount:
  1547. description: 已收付额(收款或付款)
  1548. type: number
  1549. price:
  1550. description: 价格
  1551. type: number
  1552. pricedamount:
  1553. description: 已定价额
  1554. type: number
  1555. pricedavg:
  1556. description: 已点均价
  1557. type: number
  1558. pricedqty:
  1559. description: 已定价量
  1560. type: number
  1561. pricemove:
  1562. description: 升贴水
  1563. type: number
  1564. pricetype:
  1565. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1566. type: integer
  1567. producttype:
  1568. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1569. type: integer
  1570. qty:
  1571. description: 合同量
  1572. type: number
  1573. reckonadjustamount:
  1574. description: 调整金额
  1575. type: number
  1576. reckonedamount:
  1577. description: 已收付额(已确定额)
  1578. type: number
  1579. reckonotheramount:
  1580. description: 其它费用
  1581. type: number
  1582. reckonrealqty:
  1583. description: 已确定量
  1584. type: number
  1585. remark:
  1586. description: 备注
  1587. type: string
  1588. spotcontractid:
  1589. description: 合同ID
  1590. type: string
  1591. spotgoodsdesc:
  1592. description: 商品型号(商品规格)
  1593. type: string
  1594. startdate:
  1595. description: 点价开始日
  1596. type: string
  1597. totalamount:
  1598. description: 合计总额
  1599. type: number
  1600. unpayamount:
  1601. description: 待支收额(支付或收款)
  1602. type: number
  1603. unpricedqty:
  1604. description: 未定价量
  1605. type: number
  1606. unsureqty:
  1607. description: 未确定量
  1608. type: number
  1609. userid:
  1610. description: 用户ID
  1611. type: integer
  1612. type: object
  1613. ermcp.QryGGCovertCfgRsp:
  1614. properties:
  1615. convertratio:
  1616. description: 折算系数
  1617. type: number
  1618. destgoodsgroupid:
  1619. description: 目标品种ID
  1620. type: integer
  1621. dstcode:
  1622. description: 目录品种代码
  1623. type: string
  1624. dstname:
  1625. description: 目标品种名称
  1626. type: string
  1627. dstunitid:
  1628. description: 目标品种单位ID
  1629. type: integer
  1630. dstunitidname:
  1631. description: 目标品种单位名称
  1632. type: string
  1633. srccode:
  1634. description: 源品种代码
  1635. type: string
  1636. srcgoodsgroupid:
  1637. description: 源品种ID
  1638. type: integer
  1639. srcname:
  1640. description: 源品种名称
  1641. type: string
  1642. srcunitid:
  1643. description: 源品种单位ID
  1644. type: integer
  1645. srcunitidname:
  1646. description: 源品种单位名称
  1647. type: string
  1648. type: object
  1649. ermcp.QryHedgePlanRsp:
  1650. properties:
  1651. areauserid:
  1652. description: 用户ID
  1653. type: integer
  1654. contracttype:
  1655. description: 计划类型 - 1:采购 -1:销售
  1656. type: integer
  1657. convertfactor:
  1658. description: 标仓系数
  1659. type: number
  1660. createtime:
  1661. description: 创建时间
  1662. type: string
  1663. deliverygoodsid:
  1664. description: 现货品种ID
  1665. type: integer
  1666. deliverygoodsname:
  1667. description: 现货品种名称
  1668. type: string
  1669. hedgeplanid:
  1670. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  1671. type: string
  1672. hedgeplanno:
  1673. description: 套保计划编号(名称)
  1674. type: string
  1675. hedgeplanstatus:
  1676. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1677. type: integer
  1678. planqty:
  1679. description: 计划数量
  1680. type: number
  1681. plantime:
  1682. description: 计划时间
  1683. type: string
  1684. producttype:
  1685. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1686. type: integer
  1687. remark:
  1688. description: 备注
  1689. type: string
  1690. spotgoodsdesc:
  1691. description: 商品型号
  1692. type: string
  1693. wrstandardid:
  1694. description: 现货商品ID
  1695. type: integer
  1696. wrstandardname:
  1697. description: 现货商品名称
  1698. type: string
  1699. type: object
  1700. ermcp.QryMGChangeLogRsp:
  1701. properties:
  1702. aftervalue:
  1703. description: 变更后
  1704. type: number
  1705. applyid:
  1706. description: 操作人
  1707. type: integer
  1708. applyname:
  1709. description: 操作人名称
  1710. type: string
  1711. applysrc:
  1712. description: 操作来源 - 1:管理端 2:终端
  1713. type: integer
  1714. beforevalue:
  1715. description: 变更前
  1716. type: number
  1717. changelogtype:
  1718. description: 变更流水类型 - 1:套保比率变更
  1719. type: integer
  1720. handlestatus:
  1721. description: 处理状态
  1722. type: integer
  1723. logdatetime:
  1724. description: 流水日期
  1725. type: string
  1726. logid:
  1727. description: 流水ID
  1728. type: integer
  1729. logremark:
  1730. description: 流水备注
  1731. type: string
  1732. middlegoodsid:
  1733. description: 套保品种ID
  1734. type: integer
  1735. tradedate:
  1736. description: 交易日(yyyyMMdd)
  1737. type: string
  1738. updatetime:
  1739. description: 更新时间
  1740. type: string
  1741. type: object
  1742. ermcp.QryMiddleGoodsDetailRsp:
  1743. properties:
  1744. cvList:
  1745. description: 期货品种折算列表
  1746. items:
  1747. $ref: '#/definitions/models.GoodsGroupConvert'
  1748. type: array
  1749. mg:
  1750. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1751. description: 套保品种基本信息
  1752. type: object
  1753. ermcp.QryMiddleGoodsRsp:
  1754. properties:
  1755. areauserid:
  1756. description: 机构用户ID
  1757. type: integer
  1758. enumdicname:
  1759. description: 单位名称
  1760. type: string
  1761. evaluateratio:
  1762. description: 估价系数
  1763. type: number
  1764. goodsgroupid:
  1765. description: 关联期货品种ID
  1766. type: integer
  1767. isvalid:
  1768. description: 状态 0-无效(停用) 1-有效(正常)
  1769. type: integer
  1770. middlegoodscode:
  1771. description: 套保品种代码
  1772. type: string
  1773. middlegoodsid:
  1774. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1775. type: integer
  1776. middlegoodsname:
  1777. description: 套保品种名称
  1778. type: string
  1779. modifytime:
  1780. description: 修改时间
  1781. type: string
  1782. needhedgeratio:
  1783. description: 套保比率
  1784. type: number
  1785. qtydecimalplace:
  1786. description: 数量小数位
  1787. type: integer
  1788. relatedgoodsid:
  1789. description: 关联交易商品ID
  1790. type: integer
  1791. relatedgoodstype:
  1792. description: 关联商品类型 - 1:期货合约 2:现货品种
  1793. type: integer
  1794. type: object
  1795. ermcp.QryOPLogRsp:
  1796. properties:
  1797. aftervalue:
  1798. description: 变更后
  1799. type: number
  1800. applyid:
  1801. description: 操作人ID
  1802. type: string
  1803. applyname:
  1804. description: 操作人名称
  1805. type: string
  1806. beforevalue:
  1807. description: 变更前
  1808. type: number
  1809. biztype:
  1810. description: 业务类型 - 1:套保计划 2:现货合同
  1811. type: integer
  1812. contracttype:
  1813. description: 现货合同类型 - 1:采购 -1:销售
  1814. type: integer
  1815. logvalue:
  1816. description: 数值
  1817. type: number
  1818. operatelogtype:
  1819. description: 操作流水类型
  1820. type: integer
  1821. operatelogtypedesc:
  1822. description: 操作流水类型名称
  1823. type: string
  1824. relatedid:
  1825. description: 现货合同ID\套保计划
  1826. type: string
  1827. updatetime:
  1828. description: 更新时间
  1829. type: string
  1830. type: object
  1831. ermcp.QryReportDaySpotDetailRsp:
  1832. properties:
  1833. applyid:
  1834. description: 操作人
  1835. type: integer
  1836. applyname:
  1837. description: 操作人名称
  1838. type: string
  1839. biztype:
  1840. description: 业务类型 - 1:套保计划 2:现货合同
  1841. type: integer
  1842. contracttype:
  1843. description: 现货合同类型 - 1:采购 -1:销售
  1844. type: integer
  1845. enumdicName:
  1846. description: 单位名称
  1847. type: string
  1848. logdatetime:
  1849. description: 流水日期(时间)
  1850. type: string
  1851. logid:
  1852. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  1853. type: string
  1854. logtypename:
  1855. description: 合同类型(名称)
  1856. type: string
  1857. logvalue:
  1858. description: 数值
  1859. type: string
  1860. operatelogtype:
  1861. description: 操作流水类型 -
  1862. type: integer
  1863. optypename:
  1864. description: 流水类型名称
  1865. type: string
  1866. relatedid:
  1867. description: 现货合同ID\套保计划
  1868. type: string
  1869. relatedno:
  1870. description: 合同编号
  1871. type: string
  1872. tradedate:
  1873. description: 交易日(yyyyMMdd)
  1874. type: string
  1875. userid:
  1876. description: 机构ID
  1877. type: integer
  1878. wrstandardcode:
  1879. description: 现货商品代码
  1880. type: string
  1881. wrstandardid:
  1882. description: 现货商品ID
  1883. type: integer
  1884. wrstandardname:
  1885. description: 现货商品名称
  1886. type: string
  1887. type: object
  1888. ermcp.QryReportExposureDayRsp:
  1889. properties:
  1890. areauserid:
  1891. description: 所属机构
  1892. type: integer
  1893. buyfutureqty:
  1894. description: 买入期货数量
  1895. type: number
  1896. buyplanqty:
  1897. description: 采购计划数量
  1898. type: number
  1899. buypricedqty:
  1900. description: 采购合同已定价数量
  1901. type: number
  1902. diffFutuQty:
  1903. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  1904. type: number
  1905. diffSpotQty:
  1906. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  1907. type: number
  1908. enumdicname:
  1909. description: 单位名称
  1910. type: string
  1911. middlegoodscode:
  1912. description: 套保品种代码
  1913. type: string
  1914. middlegoodshedgeratio:
  1915. description: 应套保比例
  1916. type: number
  1917. middlegoodsid:
  1918. description: 套保品种ID
  1919. type: integer
  1920. middlegoodsname:
  1921. description: 套保品种名称
  1922. type: string
  1923. needhedgeexposoure:
  1924. description: 应套保敞口
  1925. type: number
  1926. needhedgeratio:
  1927. description: 应套保敞口比例
  1928. type: number
  1929. oriTotalFutuQty:
  1930. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  1931. type: number
  1932. oriTotalSpotQty:
  1933. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  1934. type: number
  1935. oribuyfutureqty:
  1936. description: 期初买入期货数量
  1937. type: number
  1938. oribuyplanqty:
  1939. description: 期初采购计划数量
  1940. type: number
  1941. oribuypricedqty:
  1942. description: 期初采购合同已定价数量
  1943. type: number
  1944. orisellfutureqty:
  1945. description: 期初卖出期货数量
  1946. type: number
  1947. orisellplanqty:
  1948. description: 期初销售计划数量
  1949. type: number
  1950. orisellpricedqty:
  1951. description: 期初销售合同已定价数量
  1952. type: number
  1953. reckondate:
  1954. description: 日照时期(yyyyMMdd)
  1955. type: string
  1956. sellfutureqty:
  1957. description: 卖出期货数量
  1958. type: number
  1959. sellplanqty:
  1960. description: 销售计划数量
  1961. type: number
  1962. sellpricedqty:
  1963. description: 销售合同已定价数量
  1964. type: number
  1965. totalexposure:
  1966. description: 总敞口
  1967. type: number
  1968. totalfutureqty:
  1969. description: 期货数量
  1970. type: number
  1971. totalhedgeratio:
  1972. description: 敞口比例
  1973. type: number
  1974. totalneedhedgeqty:
  1975. description: 期货应套保量
  1976. type: number
  1977. totalspotqty:
  1978. description: 现货数量
  1979. type: number
  1980. type: object
  1981. ermcp.QryReportFinanceDayRsp:
  1982. properties:
  1983. areauserid:
  1984. description: 所属机构
  1985. type: integer
  1986. collectinvoiceamount:
  1987. description: 今日开票金额
  1988. type: number
  1989. collectinvoicecount:
  1990. description: 今日开票笔数
  1991. type: integer
  1992. collectmoneyamount:
  1993. description: 今日收款金额
  1994. type: number
  1995. collectmoneycount:
  1996. description: 今日收款笔数
  1997. type: integer
  1998. payinvoiceamount:
  1999. description: 今日收票金额
  2000. type: number
  2001. payinvoicecount:
  2002. description: 今日收票笔数
  2003. type: integer
  2004. paymoneyamount:
  2005. description: 今日付款金额
  2006. type: number
  2007. paymoneycount:
  2008. description: 今日付款笔数
  2009. type: integer
  2010. reckondate:
  2011. description: 日照时期(yyyyMMdd)
  2012. type: string
  2013. updatetime:
  2014. description: 更新时间
  2015. type: string
  2016. type: object
  2017. ermcp.QryReportFinanceKxRsp:
  2018. properties:
  2019. applyid:
  2020. description: 操作人
  2021. type: integer
  2022. applyname:
  2023. description: 操作人名称
  2024. type: string
  2025. biztype:
  2026. description: 业务类型 - 1:套保计划 2:现货合同
  2027. type: integer
  2028. contracttype:
  2029. description: 现货合同类型 - 1:采购 -1:销售
  2030. type: integer
  2031. enumdicName:
  2032. description: 单位名称
  2033. type: string
  2034. logdatetime:
  2035. description: 流水日期(时间)
  2036. type: string
  2037. logid:
  2038. description: 流水ID(604+Unix秒时间戳(10位)+xxxxxx)
  2039. type: string
  2040. logtypename:
  2041. description: 合同类型(名称)
  2042. type: string
  2043. logvalue:
  2044. description: 数值
  2045. type: string
  2046. operatelogtype:
  2047. description: 操作流水类型 -
  2048. type: integer
  2049. optypename:
  2050. description: 流水类型名称
  2051. type: string
  2052. relatedid:
  2053. description: 现货合同ID\套保计划
  2054. type: string
  2055. relatedno:
  2056. description: 合同编号
  2057. type: string
  2058. tradedate:
  2059. description: 交易日(yyyyMMdd)
  2060. type: string
  2061. userid:
  2062. description: 机构ID
  2063. type: integer
  2064. wrstandardcode:
  2065. description: 现货商品代码
  2066. type: string
  2067. wrstandardid:
  2068. description: 现货商品ID
  2069. type: integer
  2070. wrstandardname:
  2071. description: 现货商品名称
  2072. type: string
  2073. type: object
  2074. ermcp.QryReportFinanceMonRsp:
  2075. properties:
  2076. areauserid:
  2077. description: 所属机构【原值】
  2078. type: integer
  2079. collectinvoiceamount:
  2080. description: 今日开票金额【汇总】
  2081. type: number
  2082. collectinvoicecount:
  2083. description: 今日开票笔数【汇总】
  2084. type: integer
  2085. collectmoneyamount:
  2086. description: 今日收款金额【汇总】
  2087. type: number
  2088. collectmoneycount:
  2089. description: 今日收款笔数 【汇总】
  2090. type: integer
  2091. cycletime:
  2092. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2093. type: string
  2094. cycletype:
  2095. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2096. type: integer
  2097. dayFr:
  2098. description: 日报表明细
  2099. items:
  2100. $ref: '#/definitions/models.ErmcpReportDayFR'
  2101. type: array
  2102. payinvoiceamount:
  2103. description: 今日收票金额【汇总】
  2104. type: number
  2105. payinvoicecount:
  2106. description: 今日收票笔数【汇总】
  2107. type: integer
  2108. paymoneyamount:
  2109. description: 今日付款金额【汇总】
  2110. type: number
  2111. paymoneycount:
  2112. description: 今日付款笔数【汇总】
  2113. type: integer
  2114. updatetime:
  2115. description: 更新时间
  2116. type: string
  2117. type: object
  2118. ermcp.QryReportSpotDayRsp:
  2119. properties:
  2120. areauserid:
  2121. description: 所属机构T
  2122. type: integer
  2123. enumdicname:
  2124. description: 现货商品单位名称
  2125. type: string
  2126. reckondate:
  2127. description: 日照时期(yyyyMMdd)
  2128. type: string
  2129. todaybuyreckonqty:
  2130. description: 采购确定量
  2131. type: number
  2132. todaysellreckonqty:
  2133. description: 销售确定量
  2134. type: number
  2135. totalbuypricedqty:
  2136. description: 采购定价量 = 期末 - 期初
  2137. type: number
  2138. totalsellpricedqty:
  2139. description: 销售定价量 = 期末 - 期初
  2140. type: number
  2141. wrstandardcode:
  2142. description: 现货商品代码
  2143. type: string
  2144. wrstandardid:
  2145. description: 现货商品ID
  2146. type: integer
  2147. wrstandardname:
  2148. description: 现货商品名称
  2149. type: string
  2150. type: object
  2151. ermcp.QryReportSpotMonRsp:
  2152. properties:
  2153. areauserid:
  2154. description: 所属机构T
  2155. type: integer
  2156. cycletime:
  2157. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  2158. type: string
  2159. cycletype:
  2160. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  2161. type: integer
  2162. enumdicname:
  2163. description: 现货商品单位名称
  2164. type: string
  2165. todaybuyreckonqty:
  2166. description: 采购确定量
  2167. type: number
  2168. todaysellreckonqty:
  2169. description: 销售确定量
  2170. type: number
  2171. totalbuypricedqty:
  2172. description: 采购定价量 = 期末 - 期初
  2173. type: number
  2174. totalsellpricedqty:
  2175. description: 销售定价量 = 期末 - 期初
  2176. type: number
  2177. wrstandardcode:
  2178. description: 现货商品代码
  2179. type: string
  2180. wrstandardid:
  2181. description: 现货商品ID
  2182. type: integer
  2183. wrstandardname:
  2184. description: 现货商品名称
  2185. type: string
  2186. type: object
  2187. ermcp.QryReportSpotMonthDetailRsp:
  2188. properties:
  2189. areauserid:
  2190. description: 所属机构T
  2191. type: integer
  2192. enumdicname:
  2193. description: 现货商品单位名称
  2194. type: string
  2195. reckondate:
  2196. description: 日照时期(yyyyMMdd)
  2197. type: string
  2198. todaybuyreckonqty:
  2199. description: 采购确定量
  2200. type: number
  2201. todaysellreckonqty:
  2202. description: 销售确定量
  2203. type: number
  2204. totalbuypricedqty:
  2205. description: 采购定价量 = 期末 - 期初
  2206. type: number
  2207. totalsellpricedqty:
  2208. description: 销售定价量 = 期末 - 期初
  2209. type: number
  2210. wrstandardcode:
  2211. description: 现货商品代码
  2212. type: string
  2213. wrstandardid:
  2214. description: 现货商品ID
  2215. type: integer
  2216. wrstandardname:
  2217. description: 现货商品名称
  2218. type: string
  2219. type: object
  2220. ermcp.QrySpotContractRsp:
  2221. properties:
  2222. amount:
  2223. description: 金额 [1:一口价、3:暂定价]
  2224. type: number
  2225. attachment:
  2226. description: 附件
  2227. type: string
  2228. auditremark:
  2229. description: 审核意见
  2230. type: string
  2231. audittime:
  2232. description: 审核时间
  2233. type: string
  2234. brandname:
  2235. description: 品牌名称
  2236. type: string
  2237. buyuserid:
  2238. description: 采购方ID
  2239. type: integer
  2240. buyusername:
  2241. description: 采购方名称
  2242. type: string
  2243. contracctstatus:
  2244. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  2245. type: integer
  2246. contractmargin:
  2247. description: 合同保证金
  2248. type: number
  2249. contractno:
  2250. description: 现货合同编号
  2251. type: string
  2252. contracttype:
  2253. description: 现货合同类型 - 1:采购 -1:销售
  2254. type: integer
  2255. convertfactor:
  2256. description: 标仓系数
  2257. type: number
  2258. createtime:
  2259. description: 创建时间
  2260. type: string
  2261. deliveryenddate:
  2262. description: 交收期(结束)
  2263. type: string
  2264. deliverygoodscode:
  2265. description: 现货品种代码
  2266. type: string
  2267. deliverygoodsid:
  2268. description: 现货品种ID
  2269. type: integer
  2270. deliverygoodsname:
  2271. description: 现货品种名称
  2272. type: string
  2273. deliverystartdate:
  2274. description: 交收期(开始)
  2275. type: string
  2276. enddate:
  2277. description: 点价结束日期 [2:点价 3:暂定价]
  2278. type: string
  2279. enumdicname:
  2280. description: 单位名称
  2281. type: string
  2282. goodscode:
  2283. description: 点价合约代码
  2284. type: string
  2285. goodsid:
  2286. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  2287. type: integer
  2288. goodsname:
  2289. description: 点价商品名称
  2290. type: string
  2291. margin:
  2292. description: 当前保证金
  2293. type: number
  2294. modelname:
  2295. description: 型号名称
  2296. type: string
  2297. price:
  2298. description: 价格\暂定价 [1:一口价、3:暂定价]
  2299. type: number
  2300. pricemove:
  2301. description: 升贴水 [2:点价 3:暂定价]
  2302. type: number
  2303. pricetype:
  2304. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  2305. type: integer
  2306. producttype:
  2307. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2308. type: integer
  2309. qty:
  2310. description: 数量
  2311. type: number
  2312. remark:
  2313. description: 备注
  2314. type: string
  2315. selluserid:
  2316. description: 销售方ID
  2317. type: integer
  2318. sellusername:
  2319. description: 销售方名称
  2320. type: string
  2321. spotcontractid:
  2322. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  2323. type: string
  2324. spotgoodsbrandid:
  2325. description: 现货品牌ID
  2326. type: integer
  2327. spotgoodsdesc:
  2328. description: 商品型号
  2329. type: string
  2330. spotgoodsmodelid:
  2331. description: 现货型号ID
  2332. type: integer
  2333. startdate:
  2334. description: 点价开始日期 [2:点价 3:暂定价]
  2335. type: string
  2336. userid:
  2337. description: 机构ID
  2338. type: integer
  2339. wrstandardid:
  2340. description: 现货商品ID
  2341. type: integer
  2342. type: object
  2343. ermcp.QryUserInfoRsp:
  2344. properties:
  2345. address:
  2346. description: 通讯地址
  2347. type: string
  2348. attachment1:
  2349. description: 附件1
  2350. type: string
  2351. cardfrontphotourl:
  2352. description: 证件正面图片地址
  2353. type: string
  2354. cardnum:
  2355. description: 证件号码
  2356. type: string
  2357. cardtype:
  2358. description: 证件类型
  2359. type: integer
  2360. cardtypename:
  2361. description: 证件类型名称
  2362. type: string
  2363. cityid:
  2364. description: 市
  2365. type: integer
  2366. countryid:
  2367. description: 国家
  2368. type: integer
  2369. createtime:
  2370. description: 创建时间
  2371. type: string
  2372. customername:
  2373. description: 企业名称
  2374. type: string
  2375. memberuserid:
  2376. description: 所属机构ID
  2377. type: integer
  2378. mobile:
  2379. description: 手机号码
  2380. type: string
  2381. provinceid:
  2382. description: 省
  2383. type: integer
  2384. remark:
  2385. description: 备注
  2386. type: string
  2387. status:
  2388. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2389. type: integer
  2390. statusdesc:
  2391. description: 账户状态中文描述
  2392. type: string
  2393. telphone:
  2394. description: 联系电话
  2395. type: string
  2396. userid:
  2397. description: 用户ID
  2398. type: integer
  2399. userinfotype:
  2400. description: 客户类型
  2401. type: string
  2402. type: object
  2403. ermcp.QryWrStandardDetailRsp:
  2404. properties:
  2405. gbList:
  2406. description: 品牌列表
  2407. items:
  2408. $ref: '#/definitions/models.GoodsBrand'
  2409. type: array
  2410. gtList:
  2411. description: 型号列表
  2412. items:
  2413. $ref: '#/definitions/models.GoodsTypeModel'
  2414. type: array
  2415. wrd:
  2416. $ref: '#/definitions/models.ErmcpWrstandard'
  2417. description: 基本信息
  2418. wrsList:
  2419. description: 套保信息列表
  2420. items:
  2421. $ref: '#/definitions/models.WRSConverTDetail'
  2422. type: array
  2423. type: object
  2424. ermcp.QryWrStandardRsp:
  2425. properties:
  2426. areauserid:
  2427. description: 所属机构
  2428. type: integer
  2429. createtime:
  2430. description: 创建时间
  2431. type: string
  2432. creatorid:
  2433. description: 创建人
  2434. type: integer
  2435. deliverygoodsid:
  2436. description: 品种ID
  2437. type: integer
  2438. enumdicname:
  2439. description: 单位名称
  2440. type: string
  2441. isvalid:
  2442. description: 是否有效 0-无效(停用) 1-有效(正常)
  2443. type: integer
  2444. minivalue:
  2445. description: 最小变动值
  2446. type: integer
  2447. minivaluedp:
  2448. description: 最小变动值小数位
  2449. type: integer
  2450. realminivalue:
  2451. description: 实际最小变动值
  2452. type: integer
  2453. realminivaluedp:
  2454. description: 实际最小变动值小数位
  2455. type: integer
  2456. remark:
  2457. description: 备注
  2458. type: string
  2459. unitid:
  2460. description: 单位ID
  2461. type: integer
  2462. updatetime:
  2463. description: 更新时间
  2464. type: string
  2465. wrstandardcode:
  2466. description: 现货商品代码
  2467. type: string
  2468. wrstandardid:
  2469. description: 现货商品ID(SEQ_WRSTANDARD)
  2470. type: integer
  2471. wrstandardname:
  2472. description: 现货商品名称
  2473. type: string
  2474. type: object
  2475. ermcp.QueryErmcpTradePositionRsp:
  2476. properties:
  2477. agreeunit:
  2478. description: 合约单位
  2479. type: number
  2480. averageprice:
  2481. description: 持仓均价
  2482. type: number
  2483. buyorsell:
  2484. description: 方向 - 0:买 1:卖
  2485. type: integer
  2486. curholderamount:
  2487. description: 当前持仓总金额[商品币种]
  2488. type: number
  2489. curpositionqty:
  2490. description: 当前持仓总数量(总仓数量)
  2491. type: integer
  2492. curtdposition:
  2493. description: 期末今日头寸(今仓数量)
  2494. type: integer
  2495. curtdpositionenabled:
  2496. description: 今仓可用
  2497. type: integer
  2498. decimalplace:
  2499. description: 报价小数位
  2500. type: integer
  2501. enableqty:
  2502. description: 可用量(总仓可用)
  2503. type: integer
  2504. exexchangename:
  2505. description: 外部交易所名称
  2506. type: string
  2507. goodscode:
  2508. description: 商品代码(内部)
  2509. type: string
  2510. goodsid:
  2511. description: 商品ID(自增ID SEQ_GOODS)
  2512. type: integer
  2513. goodsname:
  2514. description: 商品名称
  2515. type: string
  2516. last:
  2517. description: 现价
  2518. type: number
  2519. marketid:
  2520. description: 所属市场ID
  2521. type: integer
  2522. outgoodscode:
  2523. description: 商品代码(外部)
  2524. type: string
  2525. positionpl:
  2526. description: 持仓盈亏
  2527. type: number
  2528. positionplrate:
  2529. description: 持仓盈亏率
  2530. type: number
  2531. usedmargin:
  2532. description: 占用保证金[商品币种]
  2533. type: number
  2534. type: object
  2535. ermcp.RealtimeExposurePositionRsp:
  2536. properties:
  2537. agreeunit:
  2538. description: 合约单位
  2539. type: string
  2540. areauserid:
  2541. description: 所属机构id
  2542. type: integer
  2543. convertratio:
  2544. description: 期货品种系数(折算系数)
  2545. type: number
  2546. curqty:
  2547. description: 当前持仓
  2548. type: integer
  2549. diffhedgeqty:
  2550. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2551. type: number
  2552. diffqty:
  2553. description: 持仓变动量=当前持仓-昨日持仓
  2554. type: integer
  2555. goodscode:
  2556. description: 商品代码
  2557. type: string
  2558. goodsid:
  2559. description: 商品id
  2560. type: integer
  2561. goodsname:
  2562. description: 商品名称
  2563. type: string
  2564. middlegoodsid:
  2565. description: 套保商品id
  2566. type: integer
  2567. ydqty:
  2568. description: 昨日持仓
  2569. type: integer
  2570. type: object
  2571. ermcp.RealtimeExposureRsp:
  2572. properties:
  2573. areaUserID:
  2574. description: 所属机构
  2575. type: integer
  2576. buyFutureQty:
  2577. description: 买入期货数量
  2578. type: number
  2579. buyPlanQty:
  2580. description: 采购计划数量
  2581. type: number
  2582. buyPricedQty:
  2583. description: 采购合同已定价数量
  2584. type: number
  2585. diffFutuQty:
  2586. description: 今日变动量(期货) = (买入 - 买入期初) - (卖出 - 卖出期初)
  2587. type: number
  2588. diffSpotQty:
  2589. description: 今日变动量(现货) = 现货数量 - 期初现货数量
  2590. type: number
  2591. enumdicname:
  2592. description: 单位名称
  2593. type: string
  2594. middleGoodsCode:
  2595. description: 套保品种代码
  2596. type: string
  2597. middleGoodsHedgeRatio:
  2598. description: 应套保比例
  2599. type: number
  2600. middleGoodsID:
  2601. description: 套保品种
  2602. type: integer
  2603. middleGoodsName:
  2604. description: 套保品种名称
  2605. type: string
  2606. needHedgeExposoure:
  2607. description: 应套保敞口
  2608. type: number
  2609. needHedgeRatio:
  2610. description: 应套保敞口比例
  2611. type: number
  2612. oriBuyFutureQty:
  2613. description: 期初买入期货数量
  2614. type: number
  2615. oriBuyPlanQty:
  2616. description: 期初采购计划数量
  2617. type: number
  2618. oriBuyPricedQty:
  2619. description: 期初采购合同已定价数量
  2620. type: number
  2621. oriSellFutureQty:
  2622. description: 期初卖出期货数量
  2623. type: number
  2624. oriSellPlanQty:
  2625. description: 期初销售计划数量
  2626. type: number
  2627. oriSellPricedQty:
  2628. description: 期初销售合同已定价数量
  2629. type: number
  2630. oriTotalFutuQty:
  2631. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2632. type: number
  2633. oriTotalSpotQty:
  2634. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2635. type: number
  2636. sellFutureQty:
  2637. description: 卖出期货数量
  2638. type: number
  2639. sellPlanQty:
  2640. description: 销售计划数量
  2641. type: number
  2642. sellPricedQty:
  2643. description: 销售合同已定价数量
  2644. type: number
  2645. totalExposure:
  2646. description: 总敞口
  2647. type: number
  2648. totalFutureQty:
  2649. description: 期货数量
  2650. type: number
  2651. totalHedgeRatio:
  2652. description: 敞口比例
  2653. type: number
  2654. totalNeedHedgeQty:
  2655. description: 期货应套保量
  2656. type: number
  2657. totalSpotQty:
  2658. description: 现货数量
  2659. type: number
  2660. type: object
  2661. erms2.QueryArbitrageStrategyRsp:
  2662. properties:
  2663. applybasis:
  2664. description: 申请基差
  2665. type: number
  2666. asapplyid:
  2667. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2668. type: string
  2669. asname:
  2670. description: 策略名称
  2671. type: string
  2672. asno:
  2673. description: 策略编号
  2674. type: string
  2675. basischangepl:
  2676. description: 基差变动损益[结算更新]
  2677. type: number
  2678. biztype:
  2679. description: 业务类型 - 1:正向套利 -1:反向套利
  2680. type: integer
  2681. closetradedate:
  2682. description: 完结交易日(yyyyMMdd)
  2683. type: string
  2684. curbasis:
  2685. description: 当前基差[结算更新]
  2686. type: number
  2687. deliverygoodsid:
  2688. description: 现货品种ID
  2689. type: integer
  2690. futureavgprice:
  2691. description: 期货建仓均价
  2692. type: number
  2693. futurecloseamount:
  2694. description: 期货平仓金额
  2695. type: number
  2696. futurecloseqty:
  2697. description: 期货平仓数量
  2698. type: number
  2699. futureopenamount:
  2700. description: 期货开仓金额
  2701. type: number
  2702. futureopenqty:
  2703. description: 期货开仓数量
  2704. type: number
  2705. futurepl:
  2706. description: 期货总盈亏[结算更新]
  2707. type: number
  2708. futureqty:
  2709. description: 期货持仓数量
  2710. type: number
  2711. futurequote:
  2712. description: 期货额度
  2713. type: number
  2714. goodsgroupid:
  2715. description: 期货品种ID
  2716. type: integer
  2717. marketid:
  2718. description: 市场ID
  2719. type: integer
  2720. netexposure:
  2721. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2722. type: number
  2723. netexposurepl:
  2724. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2725. type: number
  2726. netexposurerate:
  2727. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2728. type: number
  2729. openbasis:
  2730. description: 建仓基差
  2731. type: number
  2732. pricedspotqty:
  2733. description: 已定价现货数量
  2734. type: number
  2735. pricedspotqtynotax:
  2736. description: 已定价现货不含税数量
  2737. type: number
  2738. remark:
  2739. description: 备注
  2740. type: string
  2741. spotavgprice:
  2742. description: 现货均价
  2743. type: number
  2744. spotbuyamount:
  2745. description: 现货采购金额
  2746. type: number
  2747. spotbuyqty:
  2748. description: 现货采购数量
  2749. type: number
  2750. spotpl:
  2751. description: 现货总盈亏[结算更新]
  2752. type: number
  2753. spotquota:
  2754. description: 现货额度
  2755. type: number
  2756. spotsellamount:
  2757. description: 现货销售金额
  2758. type: number
  2759. spotsellqty:
  2760. description: 现货销售数量
  2761. type: number
  2762. spotusedquota:
  2763. description: 现货占用资金
  2764. type: number
  2765. strategystatus:
  2766. description: 策略状态 - 0:未结束 1:已结束
  2767. type: integer
  2768. totalpl:
  2769. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2770. type: number
  2771. tradedate:
  2772. description: 交易日(yyyyMMdd)
  2773. type: string
  2774. updatetime:
  2775. description: 更新时间
  2776. type: string
  2777. usedquota:
  2778. description: 已占用资金
  2779. type: number
  2780. userid:
  2781. description: 所属机构
  2782. type: integer
  2783. required:
  2784. - asapplyid
  2785. type: object
  2786. erms2.QueryInnerTradeDetailRsp:
  2787. properties:
  2788. accountid:
  2789. description: 账号ID
  2790. type: integer
  2791. agreeunit:
  2792. description: 合约单位
  2793. type: number
  2794. asapplyid:
  2795. description: 策略申请ID
  2796. type: integer
  2797. asname:
  2798. description: 策略名称
  2799. type: string
  2800. asno:
  2801. description: 策略编号
  2802. type: string
  2803. buyorsell:
  2804. description: 方向 - 0:买 1:卖
  2805. type: integer
  2806. channelbuildtype:
  2807. description: 委托单据类型 0:无 1:建仓 2:平仓
  2808. type: integer
  2809. closetype:
  2810. description: 平仓方式 - 0:无 1:平今 2:平昨
  2811. type: integer
  2812. decimalplace:
  2813. description: 报价小数位
  2814. type: integer
  2815. detailtype:
  2816. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2817. type: integer
  2818. exexchangecode:
  2819. description: 外部交易所代码
  2820. type: string
  2821. exexchangename:
  2822. description: 外部交易所名称
  2823. type: string
  2824. goodscode:
  2825. description: 商品代码(合约)
  2826. type: string
  2827. goodsgroupid:
  2828. description: 商品组ID(品种ID)
  2829. type: integer
  2830. goodsgroupname:
  2831. description: 商品组名称(品种)
  2832. type: string
  2833. goodsid:
  2834. description: 商品ID
  2835. type: integer
  2836. goodsname:
  2837. description: 商品名称(合约)
  2838. type: string
  2839. goodunit:
  2840. description: 报价单位
  2841. type: string
  2842. marketid:
  2843. description: 市场ID
  2844. type: integer
  2845. orderid:
  2846. description: 委托单号
  2847. type: string
  2848. outgoodscode:
  2849. description: 商品代码(外部)
  2850. type: string
  2851. relatedouttradeid:
  2852. description: 关联外部成交单ID
  2853. type: string
  2854. remark:
  2855. description: 备注
  2856. type: string
  2857. spotcontractid:
  2858. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2859. type: integer
  2860. spotcontractno:
  2861. description: 现货合同编号
  2862. type: string
  2863. tradeid:
  2864. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2865. type: string
  2866. tradeprice:
  2867. description: 成交价格
  2868. type: number
  2869. tradeqty:
  2870. description: 成交数量
  2871. type: integer
  2872. tradetime:
  2873. description: 成交时间
  2874. type: string
  2875. updatetime:
  2876. description: 更新时间
  2877. type: string
  2878. required:
  2879. - asapplyid
  2880. - buyorsell
  2881. - goodscode
  2882. - goodsgroupid
  2883. - goodsgroupname
  2884. - goodsname
  2885. - tradeid
  2886. type: object
  2887. erms2.QuerySpotContractRsp:
  2888. properties:
  2889. accountid:
  2890. description: 资金账户ID
  2891. type: integer
  2892. areauserid:
  2893. description: 所属机构
  2894. type: integer
  2895. closedate:
  2896. description: 终止日期
  2897. type: string
  2898. closeremark:
  2899. description: 结束备注
  2900. type: string
  2901. closetradedate:
  2902. description: 完结交易日(yyyyMMdd)
  2903. type: string
  2904. closetype:
  2905. description: 终止类型 - 1:违约 2:提前终止
  2906. type: integer
  2907. contractamount:
  2908. description: 合同金额
  2909. type: number
  2910. contractattachment:
  2911. description: 合同附件
  2912. type: string
  2913. contractno:
  2914. description: 现货合同编号
  2915. type: string
  2916. contractqty:
  2917. description: 合同数量(数值) (用于计算)
  2918. type: number
  2919. contractqtychar:
  2920. description: 合同数量\已订价数量 (用于显示)
  2921. type: string
  2922. contractstatus:
  2923. description: 合同状态 - 0:未结束 1:已结束
  2924. type: integer
  2925. contracttype:
  2926. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2927. type: integer
  2928. customeraccountid:
  2929. description: 客户资金账户ID
  2930. type: integer
  2931. customeruserid:
  2932. description: 客户ID
  2933. type: integer
  2934. deliverygoodsdesc:
  2935. description: 品种说明
  2936. type: string
  2937. deliverygoodsid:
  2938. description: 现货品种ID
  2939. type: integer
  2940. handlestatus:
  2941. description: 处理状态
  2942. type: integer
  2943. invoiceatt:
  2944. description: 发票附件
  2945. type: string
  2946. invoicedatetime:
  2947. description: 开收票更新时间
  2948. type: string
  2949. invoiceopentime:
  2950. description: 开票时间
  2951. type: string
  2952. invoiceremark:
  2953. description: 发票备注
  2954. type: string
  2955. invoicestatus:
  2956. description: 开收票状态 - 0:未开票 1:已开票
  2957. type: integer
  2958. lastdate:
  2959. description: 交货时间
  2960. type: string
  2961. marketid:
  2962. description: 市场ID
  2963. type: integer
  2964. paydatetime:
  2965. description: 收付款更新时间
  2966. type: string
  2967. payremark:
  2968. description: 收付款备注
  2969. type: string
  2970. paystatus:
  2971. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2972. type: integer
  2973. positionqty:
  2974. description: 头寸数量 - 合同数量去小数部分
  2975. type: integer
  2976. producttype:
  2977. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2978. type: integer
  2979. relatedqty:
  2980. description: 已关联数量
  2981. type: number
  2982. relatedstatus:
  2983. description: 关联完结状态 - 0:未结束 1:已结束
  2984. type: integer
  2985. remark:
  2986. description: 备注
  2987. type: string
  2988. signdate:
  2989. description: 签订日期
  2990. type: string
  2991. spotcontractid:
  2992. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2993. type: string
  2994. spotdatetime:
  2995. description: 收发货更新时间
  2996. type: string
  2997. spotprice:
  2998. description: 价格
  2999. type: number
  3000. spotremark:
  3001. description: 收发货备注
  3002. type: string
  3003. spotstatus:
  3004. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  3005. type: integer
  3006. tradedate:
  3007. description: 交易日(yyyyMMdd)
  3008. type: string
  3009. userid:
  3010. description: 业务员用户ID
  3011. type: integer
  3012. warehouseid:
  3013. description: 仓库ID
  3014. type: integer
  3015. wrfactortypeid:
  3016. description: 仓单要素类型ID
  3017. type: integer
  3018. wrstandardid:
  3019. description: 仓单标准ID(SEQ_WRSTANDARD)
  3020. type: integer
  3021. required:
  3022. - spotcontractid
  3023. type: object
  3024. erms3.AddErms2ASApplyReq:
  3025. properties:
  3026. applybasis:
  3027. description: 申请基差
  3028. type: number
  3029. applystatus:
  3030. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3031. type: integer
  3032. asapplyid:
  3033. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  3034. type: integer
  3035. asname:
  3036. description: 策略名称
  3037. type: string
  3038. asno:
  3039. description: 策略编号
  3040. type: string
  3041. auditid:
  3042. description: 审核人
  3043. type: integer
  3044. auditremark:
  3045. description: 审核备注
  3046. type: string
  3047. audittime:
  3048. description: 审核时间
  3049. type: string
  3050. biztype:
  3051. description: 业务类型 - 1:正向套利 2:反向套利
  3052. type: integer
  3053. createtime:
  3054. description: 创建时间
  3055. type: string
  3056. creatorid:
  3057. description: 创建人
  3058. type: integer
  3059. deliverygoodsid:
  3060. description: 现货品种ID
  3061. type: integer
  3062. futurequote:
  3063. description: 期货额度
  3064. type: number
  3065. goodsgroupid:
  3066. description: 期货品种ID
  3067. type: integer
  3068. marketid:
  3069. description: 市场ID
  3070. type: integer
  3071. remark:
  3072. description: 备注
  3073. type: string
  3074. spotquota:
  3075. description: 现货额度
  3076. type: number
  3077. tradedate:
  3078. description: 交易日(yyyyMMdd)
  3079. type: string
  3080. userid:
  3081. description: 所属机构
  3082. type: integer
  3083. required:
  3084. - asapplyid
  3085. type: object
  3086. erms3.AddErms2SpotTradeApplyReq:
  3087. properties:
  3088. applyjsondetail:
  3089. description: 申请明细(JSON)
  3090. type: string
  3091. applystatus:
  3092. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3093. type: integer
  3094. areauserid:
  3095. description: 所属机构
  3096. type: integer
  3097. auditid:
  3098. description: 审核人
  3099. type: integer
  3100. auditremark:
  3101. description: 审核备注
  3102. type: string
  3103. audittime:
  3104. description: 审核时间
  3105. type: string
  3106. createtime:
  3107. description: 创建时间
  3108. type: string
  3109. creatorid:
  3110. description: 创建人
  3111. type: integer
  3112. deliverygoodsid:
  3113. description: 现货品种ID
  3114. type: integer
  3115. futureaccountid:
  3116. description: 期货资金账户
  3117. type: integer
  3118. goodsgroupid:
  3119. description: 期货品种
  3120. type: integer
  3121. marketid:
  3122. description: 市场ID
  3123. type: integer
  3124. remark:
  3125. description: 备注
  3126. type: string
  3127. spotaccountid:
  3128. description: 现货资金账户
  3129. type: integer
  3130. spottradeid:
  3131. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  3132. type: integer
  3133. spottradename:
  3134. description: 业务名称
  3135. type: string
  3136. spottradeno:
  3137. description: 业务编号
  3138. type: string
  3139. tradedate:
  3140. description: 交易日(yyyyMMdd)
  3141. type: string
  3142. wrstandardid:
  3143. description: 仓单标准ID
  3144. type: integer
  3145. required:
  3146. - spottradeid
  3147. type: object
  3148. erms3.AddSpotContractApplyReq:
  3149. properties:
  3150. accountid:
  3151. description: 资金账户ID
  3152. type: integer
  3153. areauserid:
  3154. description: 所属机构
  3155. type: integer
  3156. contractattachment:
  3157. description: 合同附件
  3158. type: string
  3159. contractno:
  3160. description: 现货合同编号
  3161. type: string
  3162. contracttype:
  3163. description: 现货合同类型 - 1:采购 -1:销售
  3164. type: integer
  3165. creatorid:
  3166. description: 申请人
  3167. type: integer
  3168. customeraccountid:
  3169. description: 客户资金账户ID
  3170. type: integer
  3171. customeruserid:
  3172. description: 客户ID
  3173. type: integer
  3174. details:
  3175. description: 明细
  3176. items:
  3177. $ref: '#/definitions/erms3.SoptContractDetail'
  3178. type: array
  3179. orimargin:
  3180. description: 初始保证金
  3181. type: number
  3182. remark:
  3183. description: 备注
  3184. type: string
  3185. signdate:
  3186. description: 签订日期
  3187. type: string
  3188. required:
  3189. - accountid
  3190. - areauserid
  3191. - contractno
  3192. - contracttype
  3193. - customeraccountid
  3194. - customeruserid
  3195. - details
  3196. - orimargin
  3197. - signdate
  3198. type: object
  3199. erms3.AddSpotContractApplyRsp:
  3200. properties:
  3201. contractno:
  3202. description: 现货合同编号
  3203. type: string
  3204. spotcontractid:
  3205. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  3206. type: integer
  3207. required:
  3208. - contractno
  3209. type: object
  3210. erms3.AddUserInfoApplyReq:
  3211. properties:
  3212. accountid:
  3213. description: 交易系统帐号Id (加密存储)
  3214. type: integer
  3215. areacode:
  3216. description: 机构代码
  3217. type: string
  3218. areaid:
  3219. description: 机构Id
  3220. type: integer
  3221. attachment1:
  3222. description: 附件1
  3223. type: string
  3224. attachment2:
  3225. description: 附件2
  3226. type: string
  3227. attachment3:
  3228. description: 附件3
  3229. type: string
  3230. attachment4:
  3231. description: 附件4
  3232. type: string
  3233. attachment5:
  3234. description: 附件5
  3235. type: string
  3236. auditedby:
  3237. description: 审核人
  3238. type: string
  3239. auditime:
  3240. description: 审核时间
  3241. type: string
  3242. bankaccount:
  3243. description: 银行帐号 (加密存储)
  3244. type: string
  3245. bankaccountname:
  3246. description: 收款人名称
  3247. type: string
  3248. bankcardbackphotourl:
  3249. description: 银行卡背面照地址
  3250. type: string
  3251. bankcardfrontphotourl:
  3252. description: 银行卡正面照地址
  3253. type: string
  3254. bankid:
  3255. description: 银行编码
  3256. type: string
  3257. bankname:
  3258. description: 银行名称
  3259. type: string
  3260. bankpictureurl:
  3261. description: 银行卡正面地址
  3262. type: string
  3263. biznature:
  3264. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3265. type: integer
  3266. bizscope:
  3267. description: 企业经营范围(企业)
  3268. type: string
  3269. biztype:
  3270. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3271. type: integer
  3272. brokerid:
  3273. description: 经纪人ID(加密存储)
  3274. type: string
  3275. cardaddress:
  3276. description: 证件地址 (加密存储)
  3277. type: string
  3278. cardbackphotourl:
  3279. description: 背面证件照地址
  3280. type: string
  3281. cardfrontphotourl:
  3282. description: 正面证件照地址
  3283. type: string
  3284. cardnum:
  3285. description: 证件号码 (加密存储)
  3286. type: string
  3287. cardtype:
  3288. description: 证件类型
  3289. type: integer
  3290. cityid:
  3291. description: 市
  3292. type: integer
  3293. company:
  3294. description: 公司(个人)
  3295. type: string
  3296. contactcardbackphotourl:
  3297. description: 联系人证件背面图片地址
  3298. type: string
  3299. contactcardfrontphotourl:
  3300. description: 联系人证件正面图片地址
  3301. type: string
  3302. contactname:
  3303. description: 联系人
  3304. type: string
  3305. countryid:
  3306. description: 国家
  3307. type: integer
  3308. createtime:
  3309. description: 开户申请时间
  3310. type: string
  3311. cusbankid:
  3312. description: 签约类型
  3313. type: string
  3314. cusbankname:
  3315. description: 签约类型名称
  3316. type: string
  3317. customername:
  3318. description: 客户名称(企业名称)
  3319. type: string
  3320. districtid:
  3321. description: 地区
  3322. type: integer
  3323. email:
  3324. description: Email地址(加密存储)
  3325. type: string
  3326. halfbodyphotourl:
  3327. description: 半身照地址
  3328. type: string
  3329. headurl:
  3330. description: 头像地址
  3331. type: string
  3332. ipaddress:
  3333. description: IP地址
  3334. type: string
  3335. isvalidate:
  3336. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3337. type: string
  3338. legalcardbackphotourl:
  3339. description: 法人身份证背面照地址
  3340. type: string
  3341. legalcardfrontphotourl:
  3342. description: 法人身份证正面照地址
  3343. type: string
  3344. legalpersonname:
  3345. description: 法人姓名(企业)
  3346. type: string
  3347. logincode:
  3348. description: 登录帐号 (加密存储)
  3349. type: string
  3350. memberareaid:
  3351. description: 所属会员ID
  3352. type: integer
  3353. mobile2:
  3354. description: 手机号码[明文-尚志]
  3355. type: string
  3356. mobilephone:
  3357. description: 手机号码 (加密存储)
  3358. type: string
  3359. modifiedby:
  3360. description: 修改人帐号
  3361. type: integer
  3362. modifiedtime:
  3363. description: 修改时间
  3364. type: string
  3365. nickname:
  3366. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3367. type: string
  3368. openmode:
  3369. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3370. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3371. type: integer
  3372. otherurl:
  3373. description: 其它图片地址[使用分号分隔]
  3374. type: string
  3375. postalcode:
  3376. description: 邮政编码
  3377. type: string
  3378. provinceid:
  3379. description: 省
  3380. type: integer
  3381. proxystatementurl:
  3382. description: 授权委托书
  3383. type: string
  3384. qq:
  3385. description: QQ(加密存储
  3386. type: string
  3387. referral:
  3388. description: 推荐人编码
  3389. type: string
  3390. remark:
  3391. description: 备注
  3392. type: string
  3393. removebeforestatus:
  3394. description: REMOVEBEFORESTATUS
  3395. type: integer
  3396. sex:
  3397. description: 性别 - 0:女 1:男
  3398. type: integer
  3399. signedstatus:
  3400. description: 账户一号签签约状态
  3401. type: integer
  3402. signpdfurl:
  3403. description: 签约pdf文件
  3404. type: string
  3405. subbranch:
  3406. description: 开户支行
  3407. type: string
  3408. telphone:
  3409. description: 联系电话(加密存储)
  3410. type: string
  3411. userid:
  3412. description: 用户ID(自增ID)
  3413. type: integer
  3414. userinfotype:
  3415. description: 用户信息类型 - 1:个人 2:企业
  3416. type: integer
  3417. username:
  3418. description: 用户姓名
  3419. type: string
  3420. userstate:
  3421. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3422. type: integer
  3423. usertype:
  3424. description: 用户类型 - 1:投资者 2:机构
  3425. type: integer
  3426. videourl:
  3427. description: 视频地址
  3428. type: string
  3429. wechat:
  3430. description: 微信号 (加密存储)
  3431. type: string
  3432. required:
  3433. - userid
  3434. type: object
  3435. erms3.CustomerInfo:
  3436. properties:
  3437. accountids:
  3438. description: 资金账户ID列表
  3439. items:
  3440. type: integer
  3441. type: array
  3442. customername:
  3443. description: 名称(企业名称)
  3444. type: string
  3445. mobile:
  3446. description: 手机号码
  3447. type: string
  3448. userid:
  3449. description: 用户ID
  3450. type: integer
  3451. required:
  3452. - userid
  3453. type: object
  3454. erms3.ModifyUserInfoApplyReq:
  3455. properties:
  3456. accountid:
  3457. description: 交易系统帐号Id (加密存储)
  3458. type: integer
  3459. areacode:
  3460. description: 机构代码
  3461. type: string
  3462. areaid:
  3463. description: 机构Id
  3464. type: integer
  3465. attachment1:
  3466. description: 附件1
  3467. type: string
  3468. attachment2:
  3469. description: 附件2
  3470. type: string
  3471. attachment3:
  3472. description: 附件3
  3473. type: string
  3474. attachment4:
  3475. description: 附件4
  3476. type: string
  3477. attachment5:
  3478. description: 附件5
  3479. type: string
  3480. auditedby:
  3481. description: 审核人
  3482. type: string
  3483. auditime:
  3484. description: 审核时间
  3485. type: string
  3486. bankaccount:
  3487. description: 银行帐号 (加密存储)
  3488. type: string
  3489. bankaccountname:
  3490. description: 收款人名称
  3491. type: string
  3492. bankcardbackphotourl:
  3493. description: 银行卡背面照地址
  3494. type: string
  3495. bankcardfrontphotourl:
  3496. description: 银行卡正面照地址
  3497. type: string
  3498. bankid:
  3499. description: 银行编码
  3500. type: string
  3501. bankname:
  3502. description: 银行名称
  3503. type: string
  3504. bankpictureurl:
  3505. description: 银行卡正面地址
  3506. type: string
  3507. biznature:
  3508. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3509. type: integer
  3510. bizscope:
  3511. description: 企业经营范围(企业)
  3512. type: string
  3513. biztype:
  3514. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3515. type: integer
  3516. brokerid:
  3517. description: 经纪人ID(加密存储)
  3518. type: string
  3519. cardaddress:
  3520. description: 证件地址 (加密存储)
  3521. type: string
  3522. cardbackphotourl:
  3523. description: 背面证件照地址
  3524. type: string
  3525. cardfrontphotourl:
  3526. description: 正面证件照地址
  3527. type: string
  3528. cardnum:
  3529. description: 证件号码 (加密存储)
  3530. type: string
  3531. cardtype:
  3532. description: 证件类型
  3533. type: integer
  3534. cityid:
  3535. description: 市
  3536. type: integer
  3537. company:
  3538. description: 公司(个人)
  3539. type: string
  3540. contactcardbackphotourl:
  3541. description: 联系人证件背面图片地址
  3542. type: string
  3543. contactcardfrontphotourl:
  3544. description: 联系人证件正面图片地址
  3545. type: string
  3546. contactname:
  3547. description: 联系人
  3548. type: string
  3549. countryid:
  3550. description: 国家
  3551. type: integer
  3552. createtime:
  3553. description: 开户申请时间
  3554. type: string
  3555. cusbankid:
  3556. description: 签约类型
  3557. type: string
  3558. cusbankname:
  3559. description: 签约类型名称
  3560. type: string
  3561. customername:
  3562. description: 客户名称(企业名称)
  3563. type: string
  3564. districtid:
  3565. description: 地区
  3566. type: integer
  3567. email:
  3568. description: Email地址(加密存储)
  3569. type: string
  3570. halfbodyphotourl:
  3571. description: 半身照地址
  3572. type: string
  3573. headurl:
  3574. description: 头像地址
  3575. type: string
  3576. ipaddress:
  3577. description: IP地址
  3578. type: string
  3579. isvalidate:
  3580. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3581. type: string
  3582. legalcardbackphotourl:
  3583. description: 法人身份证背面照地址
  3584. type: string
  3585. legalcardfrontphotourl:
  3586. description: 法人身份证正面照地址
  3587. type: string
  3588. legalpersonname:
  3589. description: 法人姓名(企业)
  3590. type: string
  3591. logincode:
  3592. description: 登录帐号 (加密存储)
  3593. type: string
  3594. memberareaid:
  3595. description: 所属会员ID
  3596. type: integer
  3597. mobile2:
  3598. description: 手机号码[明文-尚志]
  3599. type: string
  3600. mobilephone:
  3601. description: 手机号码 (加密存储)
  3602. type: string
  3603. modifiedby:
  3604. description: 修改人帐号
  3605. type: integer
  3606. modifiedtime:
  3607. description: 修改时间
  3608. type: string
  3609. nickname:
  3610. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3611. type: string
  3612. openmode:
  3613. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3614. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3615. type: integer
  3616. otherurl:
  3617. description: 其它图片地址[使用分号分隔]
  3618. type: string
  3619. postalcode:
  3620. description: 邮政编码
  3621. type: string
  3622. provinceid:
  3623. description: 省
  3624. type: integer
  3625. proxystatementurl:
  3626. description: 授权委托书
  3627. type: string
  3628. qq:
  3629. description: QQ(加密存储
  3630. type: string
  3631. referral:
  3632. description: 推荐人编码
  3633. type: string
  3634. remark:
  3635. description: 备注
  3636. type: string
  3637. removebeforestatus:
  3638. description: REMOVEBEFORESTATUS
  3639. type: integer
  3640. sex:
  3641. description: 性别 - 0:女 1:男
  3642. type: integer
  3643. signedstatus:
  3644. description: 账户一号签签约状态
  3645. type: integer
  3646. signpdfurl:
  3647. description: 签约pdf文件
  3648. type: string
  3649. subbranch:
  3650. description: 开户支行
  3651. type: string
  3652. telphone:
  3653. description: 联系电话(加密存储)
  3654. type: string
  3655. userid:
  3656. description: 用户ID(自增ID)
  3657. type: integer
  3658. userinfotype:
  3659. description: 用户信息类型 - 1:个人 2:企业
  3660. type: integer
  3661. username:
  3662. description: 用户姓名
  3663. type: string
  3664. userstate:
  3665. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3666. type: integer
  3667. usertype:
  3668. description: 用户类型 - 1:投资者 2:机构
  3669. type: integer
  3670. videourl:
  3671. description: 视频地址
  3672. type: string
  3673. wechat:
  3674. description: 微信号 (加密存储)
  3675. type: string
  3676. required:
  3677. - userid
  3678. type: object
  3679. erms3.QryAuditContractRsp:
  3680. properties:
  3681. accountid:
  3682. description: 交易员ID
  3683. type: string
  3684. applystatus:
  3685. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3686. type: integer
  3687. curdeliveryqty:
  3688. description: 未交收量
  3689. type: integer
  3690. customername:
  3691. description: 采购方ID
  3692. type: string
  3693. deliverygoodsid:
  3694. description: 品种ID
  3695. type: string
  3696. deliveryqty:
  3697. description: 交收量
  3698. type: integer
  3699. enumdicname:
  3700. description: 单位名称
  3701. type: string
  3702. matchaccountid:
  3703. description: 业务员ID
  3704. type: string
  3705. matchcustomername:
  3706. description: 销售方ID
  3707. type: string
  3708. pricedqty:
  3709. description: 定价量
  3710. type: number
  3711. signdate:
  3712. description: 签订日期
  3713. type: string
  3714. spotcontractid:
  3715. description: 合同ID
  3716. type: string
  3717. totaldqty:
  3718. description: 合同量
  3719. type: number
  3720. unpricedqty:
  3721. description: 未定价量
  3722. type: number
  3723. wrstandardname:
  3724. description: 商品名称
  3725. type: string
  3726. required:
  3727. - matchcustomername
  3728. - spotcontractid
  3729. type: object
  3730. erms3.QryPendingBizRsp:
  3731. properties:
  3732. accountid:
  3733. description: 现货账户
  3734. type: string
  3735. areaname:
  3736. description: 所属部门
  3737. type: string
  3738. bizid:
  3739. description: 业务ID
  3740. type: string
  3741. bizname:
  3742. description: 业务名称
  3743. type: string
  3744. status:
  3745. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3746. type: integer
  3747. type:
  3748. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3749. type: integer
  3750. type: object
  3751. erms3.QueryBusinessInfoRsp:
  3752. properties:
  3753. businessid:
  3754. description: 业务ID.
  3755. type: integer
  3756. buyamount:
  3757. description: 采购额.
  3758. type: number
  3759. buyqty:
  3760. description: 采购量.
  3761. type: string
  3762. futurepl:
  3763. description: 期货盈亏.
  3764. type: number
  3765. futureqty:
  3766. description: 期货敞口.
  3767. type: string
  3768. goodsid:
  3769. description: 商品名称/商品代码.
  3770. type: string
  3771. hedgingqty:
  3772. description: 套保量.
  3773. type: string
  3774. sellamount:
  3775. description: 销售额.
  3776. type: number
  3777. sellqty:
  3778. description: 销售量.
  3779. type: string
  3780. spotmarketvalue:
  3781. description: 现货市值.
  3782. type: number
  3783. spotpl:
  3784. description: 浮动权益.
  3785. type: number
  3786. spotqty:
  3787. description: 现货量.
  3788. type: string
  3789. statu:
  3790. description: 状态,0-未结束 1-已结束.
  3791. type: integer
  3792. totalpl:
  3793. description: 总盈亏.
  3794. type: number
  3795. totalqty:
  3796. description: 总敞口.
  3797. type: string
  3798. type:
  3799. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3800. type: integer
  3801. type: object
  3802. erms3.QuerySpotContractAppleFormRsp:
  3803. properties:
  3804. goodses:
  3805. description: 合约列表
  3806. items:
  3807. $ref: '#/definitions/models.GoodsIDAndName'
  3808. type: array
  3809. oppositeusers:
  3810. description: 对方账号列表
  3811. items:
  3812. $ref: '#/definitions/erms3.CustomerInfo'
  3813. type: array
  3814. ouruser:
  3815. $ref: '#/definitions/erms3.CustomerInfo'
  3816. description: 我方账号
  3817. warehouseinfos:
  3818. description: 仓库信息列表
  3819. items:
  3820. $ref: '#/definitions/models.Warehouseinfo'
  3821. type: array
  3822. wrstandards:
  3823. description: 仓单标准列表
  3824. items:
  3825. $ref: '#/definitions/models.WRStandardInfo'
  3826. type: array
  3827. type: object
  3828. erms3.QuerySpotContractInfoRsp:
  3829. properties:
  3830. accountid:
  3831. description: 表示交易员ID.
  3832. type: integer
  3833. curdeliveryqty:
  3834. description: 表示未交收量.
  3835. type: number
  3836. customername:
  3837. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3838. type: string
  3839. deliverygoodsid:
  3840. description: 表示品种ID.
  3841. type: string
  3842. deliveryqty:
  3843. description: 表示交收量.
  3844. type: number
  3845. matchaccountid:
  3846. description: 表示业务员ID.
  3847. type: integer
  3848. matchcustomername:
  3849. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3850. type: string
  3851. priceqty:
  3852. description: 表示定价量.
  3853. type: number
  3854. relatedbizid:
  3855. description: 表示业务ID.
  3856. type: string
  3857. signdate:
  3858. description: 表示签订日期.
  3859. type: string
  3860. spotcontractid:
  3861. description: 合同ID
  3862. type: string
  3863. status:
  3864. description: 表示状态,0-履约中 1-已完成.
  3865. type: integer
  3866. totalqty:
  3867. description: 表示合同量.
  3868. type: number
  3869. unpricedqty:
  3870. description: 表示未定价量.
  3871. type: number
  3872. wrstandardname:
  3873. description: 表示商品ID.
  3874. type: string
  3875. type: object
  3876. erms3.QueryUserInfoAppliesRsp:
  3877. properties:
  3878. biznature:
  3879. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3880. type: integer
  3881. contactname:
  3882. description: 联系人
  3883. type: string
  3884. createtime:
  3885. description: 开户申请时间
  3886. type: string
  3887. userid:
  3888. description: 用户ID(自增ID)
  3889. type: integer
  3890. userinfotype:
  3891. description: 用户信息类型 - 1:个人 2:企业
  3892. type: integer
  3893. username:
  3894. description: 用户姓名
  3895. type: string
  3896. userstate:
  3897. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3898. type: integer
  3899. required:
  3900. - userid
  3901. type: object
  3902. erms3.QueryUserInfosRsp:
  3903. properties:
  3904. biznature:
  3905. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3906. type: integer
  3907. contactname:
  3908. description: 联系人
  3909. type: string
  3910. customername:
  3911. description: 客户名称(企业名称)
  3912. type: string
  3913. userid:
  3914. description: 用户ID
  3915. type: integer
  3916. userinfotype:
  3917. description: 用户信息类型 - 1:个人 2:企业
  3918. type: integer
  3919. userstatus:
  3920. description: 用户状态 - 1:正常 2:注销
  3921. type: integer
  3922. required:
  3923. - userid
  3924. type: object
  3925. erms3.SoptContractDetail:
  3926. properties:
  3927. deliverygoodsdesc:
  3928. description: 现货品种说明
  3929. type: string
  3930. deliverygoodsid:
  3931. description: 现货品种ID
  3932. type: integer
  3933. deliverygoodsname:
  3934. description: 现货品种名称
  3935. type: string
  3936. pointdesc:
  3937. description: 点价描述
  3938. type: string
  3939. producttype:
  3940. description: 产品类型 1:标准仓单 2:等标 3:非标
  3941. type: integer
  3942. producttypename:
  3943. description: 产品类型名称
  3944. type: string
  3945. spotPointOrderVoList:
  3946. description: 点价列表
  3947. items:
  3948. $ref: '#/definitions/erms3.SpotPointOrder'
  3949. type: array
  3950. spotPriceOrderList:
  3951. description: 定价列表
  3952. items:
  3953. $ref: '#/definitions/erms3.SpotPriceOrder'
  3954. type: array
  3955. unitname:
  3956. description: 单位名称
  3957. type: string
  3958. warehouseid:
  3959. description: 仓库ID
  3960. type: integer
  3961. warehousename:
  3962. description: 仓库名称
  3963. type: string
  3964. wrstandardid:
  3965. description: 交易标的ID
  3966. type: integer
  3967. wrstandardname:
  3968. description: 交易标的名称
  3969. type: string
  3970. required:
  3971. - deliverygoodsid
  3972. - producttype
  3973. - unitname
  3974. - warehouseid
  3975. - wrstandardid
  3976. - wrstandardname
  3977. type: object
  3978. erms3.SpotPointOrder:
  3979. properties:
  3980. basic:
  3981. description: 基差
  3982. type: number
  3983. deliveryenddate:
  3984. description: 交收结束日期
  3985. type: string
  3986. deliverystartdate:
  3987. description: 交收开始日期
  3988. type: string
  3989. enddate:
  3990. description: 点价结束日期
  3991. type: string
  3992. goodsid:
  3993. description: 商品ID
  3994. type: integer
  3995. goodsname:
  3996. description: 商品名称
  3997. type: string
  3998. qty:
  3999. description: 数量
  4000. type: number
  4001. startdate:
  4002. description: 点价开始日期
  4003. type: string
  4004. required:
  4005. - basic
  4006. - goodsid
  4007. - qty
  4008. type: object
  4009. erms3.SpotPriceOrder:
  4010. properties:
  4011. amount:
  4012. description: 金额
  4013. type: number
  4014. deliveryenddate:
  4015. description: 交收结束日期
  4016. type: string
  4017. deliverystartdate:
  4018. description: 交收开始日期
  4019. type: string
  4020. price:
  4021. description: 价格
  4022. type: number
  4023. qty:
  4024. description: 数量
  4025. type: number
  4026. required:
  4027. - amount
  4028. - price
  4029. - qty
  4030. type: object
  4031. hsby.GetHsbyMyCountRsp:
  4032. properties:
  4033. myCouponCount:
  4034. description: 我的优惠卷数量
  4035. type: integer
  4036. myOrderDetailListingCount:
  4037. description: 我的订单求购中数量
  4038. type: integer
  4039. myOrderDetailPreCount:
  4040. description: 我的订单抢购中数量
  4041. type: integer
  4042. myPackageUnReceiveCount:
  4043. description: 我的包裹待收货数量
  4044. type: integer
  4045. myPackageUnSendCount:
  4046. description: 我的包裹待发货数量
  4047. type: integer
  4048. myPayOrderCount:
  4049. description: 我的订单待付款数量
  4050. type: integer
  4051. type: object
  4052. hsby.QueryProvincesAndCitiesRsp:
  4053. properties:
  4054. cities:
  4055. description: 市
  4056. items:
  4057. $ref: '#/definitions/models.Division'
  4058. type: array
  4059. province:
  4060. $ref: '#/definitions/models.Division'
  4061. description: 省
  4062. type: object
  4063. models.Clientfixedadconfig:
  4064. properties:
  4065. adsort:
  4066. description: 排序
  4067. type: integer
  4068. adtype:
  4069. description: 广告位类型 - 1:新品抢购(HSBY)
  4070. type: integer
  4071. areauserid:
  4072. description: 所属机构ID
  4073. type: integer
  4074. createdate:
  4075. description: 创建时间
  4076. type: string
  4077. creatorid:
  4078. description: 创建人
  4079. type: integer
  4080. imagepath:
  4081. description: 图片
  4082. type: string
  4083. isshow:
  4084. description: 是否展示 - 0:不展示 1:展示
  4085. type: integer
  4086. modifierid:
  4087. description: 操作人
  4088. type: integer
  4089. recsize:
  4090. description: 推荐尺寸
  4091. type: string
  4092. title:
  4093. description: 标题
  4094. type: string
  4095. updatedate:
  4096. description: 更新时间
  4097. type: string
  4098. urlcontent:
  4099. description: 链接(地址或商品ID)
  4100. type: string
  4101. urltype:
  4102. description: 链接类型 - 1:直接地址 2:商品ID
  4103. type: integer
  4104. required:
  4105. - adsort
  4106. - adtype
  4107. type: object
  4108. models.Division:
  4109. properties:
  4110. autoid:
  4111. description: 自增ID
  4112. type: integer
  4113. divisioncode:
  4114. description: 行政代码
  4115. type: string
  4116. divisionlevel:
  4117. description: 行政级别
  4118. type: string
  4119. divisionname:
  4120. description: 行政名称
  4121. type: string
  4122. modifierid:
  4123. description: 修改人
  4124. type: integer
  4125. modifytime:
  4126. description: 修改时间
  4127. type: string
  4128. parentcode:
  4129. description: 上级行政代码
  4130. type: string
  4131. pathname:
  4132. description: 路径名称
  4133. type: string
  4134. postcode:
  4135. description: 邮政编码
  4136. type: string
  4137. separablename:
  4138. description: 可拆分的全称
  4139. type: string
  4140. shortcode:
  4141. description: 地区简码
  4142. type: string
  4143. required:
  4144. - autoid
  4145. - divisioncode
  4146. type: object
  4147. models.Enumdicitem:
  4148. properties:
  4149. autoid:
  4150. description: 自增ID
  4151. type: integer
  4152. bankmappedvalue:
  4153. description: 银行服务对应值
  4154. type: string
  4155. enumdiccode:
  4156. description: 所属枚举代码
  4157. type: string
  4158. enumdicid:
  4159. description: 所属枚举ID
  4160. type: integer
  4161. enumdicname:
  4162. description: 枚举项名称
  4163. type: string
  4164. enumitemname:
  4165. description: 枚举项值
  4166. type: integer
  4167. enumitemstatus:
  4168. description: 枚举项状态 - 1.启用 2.不启用
  4169. type: integer
  4170. enumitemvalue:
  4171. description: 通用值 - [币种通用简写]
  4172. type: string
  4173. param1:
  4174. description: 参数1[币种:币种小数位]
  4175. type: string
  4176. param2:
  4177. description: 参数1[币种:币种显示单位]
  4178. type: string
  4179. remark:
  4180. description: 备注
  4181. type: string
  4182. required:
  4183. - autoid
  4184. - enumdiccode
  4185. - enumdicid
  4186. - enumitemname
  4187. type: object
  4188. models.ErmcpHisExposure:
  4189. properties:
  4190. needhedgeexposoure:
  4191. description: 应套保敞口
  4192. type: number
  4193. reckondate:
  4194. description: 日照时期(yyyyMMdd)
  4195. type: string
  4196. totalexposure:
  4197. description: 总敞口
  4198. type: number
  4199. type: object
  4200. models.ErmcpMiddleGoodsModel:
  4201. properties:
  4202. areauserid:
  4203. description: 机构用户ID
  4204. type: integer
  4205. enumdicname:
  4206. description: 单位名称
  4207. type: string
  4208. evaluateratio:
  4209. description: 估价系数
  4210. type: number
  4211. goodsgroupid:
  4212. description: 关联期货品种ID
  4213. type: integer
  4214. isvalid:
  4215. description: 状态 0-无效(停用) 1-有效(正常)
  4216. type: integer
  4217. middlegoodscode:
  4218. description: 套保品种代码
  4219. type: string
  4220. middlegoodsid:
  4221. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4222. type: integer
  4223. middlegoodsname:
  4224. description: 套保品种名称
  4225. type: string
  4226. modifytime:
  4227. description: 修改时间
  4228. type: string
  4229. needhedgeratio:
  4230. description: 套保比率
  4231. type: number
  4232. qtydecimalplace:
  4233. description: 数量小数位
  4234. type: integer
  4235. relatedgoodsid:
  4236. description: 关联交易商品ID
  4237. type: integer
  4238. relatedgoodstype:
  4239. description: 关联商品类型 - 1:期货合约 2:现货品种
  4240. type: integer
  4241. type: object
  4242. models.ErmcpReportDayFR:
  4243. properties:
  4244. areauserid:
  4245. description: 所属机构
  4246. type: integer
  4247. collectinvoiceamount:
  4248. description: 今日开票金额
  4249. type: number
  4250. collectinvoicecount:
  4251. description: 今日开票笔数
  4252. type: integer
  4253. collectmoneyamount:
  4254. description: 今日收款金额
  4255. type: number
  4256. collectmoneycount:
  4257. description: 今日收款笔数
  4258. type: integer
  4259. payinvoiceamount:
  4260. description: 今日收票金额
  4261. type: number
  4262. payinvoicecount:
  4263. description: 今日收票笔数
  4264. type: integer
  4265. paymoneyamount:
  4266. description: 今日付款金额
  4267. type: number
  4268. paymoneycount:
  4269. description: 今日付款笔数
  4270. type: integer
  4271. reckondate:
  4272. description: 日照时期(yyyyMMdd)
  4273. type: string
  4274. updatetime:
  4275. description: 更新时间
  4276. type: string
  4277. type: object
  4278. models.ErmcpWrstandard:
  4279. properties:
  4280. areauserid:
  4281. description: 所属机构
  4282. type: integer
  4283. createtime:
  4284. description: 创建时间
  4285. type: string
  4286. creatorid:
  4287. description: 创建人
  4288. type: integer
  4289. deliverygoodsid:
  4290. description: 品种ID
  4291. type: integer
  4292. enumdicname:
  4293. description: 单位名称
  4294. type: string
  4295. isvalid:
  4296. description: 是否有效 0-无效(停用) 1-有效(正常)
  4297. type: integer
  4298. minivalue:
  4299. description: 最小变动值
  4300. type: integer
  4301. minivaluedp:
  4302. description: 最小变动值小数位
  4303. type: integer
  4304. realminivalue:
  4305. description: 实际最小变动值
  4306. type: integer
  4307. realminivaluedp:
  4308. description: 实际最小变动值小数位
  4309. type: integer
  4310. remark:
  4311. description: 备注
  4312. type: string
  4313. unitid:
  4314. description: 单位ID
  4315. type: integer
  4316. updatetime:
  4317. description: 更新时间
  4318. type: string
  4319. wrstandardcode:
  4320. description: 现货商品代码
  4321. type: string
  4322. wrstandardid:
  4323. description: 现货商品ID(SEQ_WRSTANDARD)
  4324. type: integer
  4325. wrstandardname:
  4326. description: 现货商品名称
  4327. type: string
  4328. type: object
  4329. models.Goods:
  4330. properties:
  4331. agreeunit:
  4332. description: 合约单位
  4333. type: number
  4334. auditaccountid:
  4335. description: 审核操作员账号
  4336. type: integer
  4337. audittime:
  4338. description: 审核时间
  4339. type: string
  4340. cancelaccountid:
  4341. description: 注销操作员账号
  4342. type: integer
  4343. canceltime:
  4344. description: 注销时间
  4345. type: string
  4346. closepricemode:
  4347. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4348. type: integer
  4349. closepriceparam:
  4350. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  4351. type: number
  4352. createtime:
  4353. description: 创建时间
  4354. type: string
  4355. creatorid:
  4356. description: 创建人
  4357. type: integer
  4358. currencyid:
  4359. description: 报价货币ID
  4360. type: integer
  4361. cutmode:
  4362. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  4363. type: integer
  4364. decimalplace:
  4365. description: 报价小数位
  4366. type: integer
  4367. delistingdate:
  4368. description: 商品退市时间(状态:退市) -- 已作废
  4369. type: string
  4370. delistingmode:
  4371. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  4372. type: integer
  4373. deliveryflag:
  4374. description: 交割标志 - 0:不可交割 1:可交割
  4375. type: integer
  4376. forceclosemode:
  4377. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  4378. type: integer
  4379. forceclosevalue:
  4380. description: 定期强平参数 [收益权]
  4381. type: integer
  4382. goodscode:
  4383. description: 商品代码(内部)
  4384. type: string
  4385. goodscurrencyid:
  4386. description: 合约货币ID
  4387. type: integer
  4388. goodsgroupid:
  4389. description: 所属商品组ID
  4390. type: integer
  4391. goodsid:
  4392. description: 商品ID(自增ID SEQ_GOODS)
  4393. type: integer
  4394. goodsname:
  4395. description: 商品名称
  4396. type: string
  4397. goodsquotetype:
  4398. description: '合约报价类型: 1-直接报价 2-间接报价'
  4399. type: integer
  4400. goodsstatus:
  4401. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  4402. type: integer
  4403. goodstradetype:
  4404. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  4405. type: integer
  4406. goodunitid:
  4407. description: 报价单位ID
  4408. type: integer
  4409. hasquoter:
  4410. description: 是否有报价商 - 0:无报价商 1:有报价商
  4411. type: integer
  4412. hqprotecttime:
  4413. description: 行情保护时间(秒)
  4414. type: integer
  4415. innerdealmode:
  4416. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4417. type: integer
  4418. isbuylimited:
  4419. description: 是否限制建仓量 - 0:不限制 1:限制
  4420. type: integer
  4421. lasttradedate:
  4422. description: 最后交易日期(状态:待退市)
  4423. type: string
  4424. listingdate:
  4425. description: 交易开始日期
  4426. type: string
  4427. marketid:
  4428. description: 所属市场ID
  4429. type: integer
  4430. modifierid:
  4431. description: 修改人
  4432. type: integer
  4433. modifystatus:
  4434. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  4435. type: integer
  4436. modifytime:
  4437. description: 修改时间
  4438. type: string
  4439. outerdealmode:
  4440. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4441. type: integer
  4442. outgoodscode:
  4443. description: 商品代码(外部)
  4444. type: string
  4445. qtydecimalplace:
  4446. description: 成交量小数位
  4447. type: integer
  4448. quotegear:
  4449. description: 行情档位(1-10)
  4450. type: integer
  4451. quoteminunit:
  4452. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4453. type: integer
  4454. quoteshowtype:
  4455. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  4456. type: integer
  4457. quoteshowtypeinterval:
  4458. description: 行情报价间隔时间(秒)(成交价时为0)
  4459. type: integer
  4460. remark:
  4461. description: 备注
  4462. type: string
  4463. required:
  4464. - goodscode
  4465. - goodsid
  4466. - goodsname
  4467. - marketid
  4468. type: object
  4469. models.GoodsBrand:
  4470. properties:
  4471. brandid:
  4472. description: 品牌ID
  4473. type: integer
  4474. brandname:
  4475. description: 品牌名称
  4476. type: string
  4477. isvalid:
  4478. description: 是否有效 - 0:无效 1:有效
  4479. type: integer
  4480. type: object
  4481. models.GoodsGroupConvert:
  4482. properties:
  4483. convertratio:
  4484. description: 折算系数
  4485. type: number
  4486. dstgoodsgroupid:
  4487. description: 目标期货品种ID
  4488. type: integer
  4489. goodsgroupname:
  4490. description: 期货品种名称
  4491. type: string
  4492. outergroupcode:
  4493. description: 期货品种代码
  4494. type: string
  4495. srcgoodsgroupid:
  4496. description: 源期货品种ID
  4497. type: integer
  4498. type: object
  4499. models.GoodsIDAndName:
  4500. properties:
  4501. goodscode:
  4502. description: 商品代码(内部)
  4503. type: string
  4504. goodsid:
  4505. description: 商品ID(自增ID SEQ_GOODS)
  4506. type: integer
  4507. goodsname:
  4508. description: 商品名称
  4509. type: string
  4510. marketid:
  4511. description: 所属市场ID
  4512. type: integer
  4513. required:
  4514. - goodscode
  4515. - goodsid
  4516. - goodsname
  4517. - marketid
  4518. type: object
  4519. models.GoodsTypeModel:
  4520. properties:
  4521. modelid:
  4522. description: 型号ID
  4523. type: integer
  4524. modelname:
  4525. description: 型号名称
  4526. type: string
  4527. updatetime:
  4528. description: 更新时间
  4529. type: string
  4530. type: object
  4531. models.HsbyBuyMyPayOrder:
  4532. properties:
  4533. agreeunit:
  4534. description: 合约单位
  4535. type: number
  4536. buyaccountid:
  4537. description: 买方账号ID[报价币种]
  4538. type: integer
  4539. buyorderid:
  4540. description: 买方委托单号
  4541. type: string
  4542. createtime:
  4543. description: 创建时间
  4544. type: string
  4545. currencysign:
  4546. description: 货币符号
  4547. type: string
  4548. decimalplace:
  4549. description: 报价小数位
  4550. type: integer
  4551. goodscode:
  4552. description: 商品代码(内部)
  4553. type: string
  4554. goodsid:
  4555. description: 商品ID
  4556. type: integer
  4557. goodsname:
  4558. description: 商品名称
  4559. type: string
  4560. marketid:
  4561. description: 市场ID
  4562. type: integer
  4563. offamount:
  4564. description: 优惠金额
  4565. type: number
  4566. payamount:
  4567. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  4568. type: number
  4569. payflag:
  4570. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  4571. type: integer
  4572. paylimitedtime:
  4573. description: 支付期限
  4574. type: string
  4575. paytime:
  4576. description: 付款时间
  4577. type: string
  4578. picurls1:
  4579. description: 预售商品介绍图片[多张用逗号分隔]
  4580. type: string
  4581. picurls2:
  4582. description: 挂牌商品介绍图片[多张用逗号分隔]
  4583. type: string
  4584. sellaccountid:
  4585. description: 卖方账号ID[报价币种]
  4586. type: integer
  4587. sellorderid:
  4588. description: 卖方委托单号
  4589. type: string
  4590. tradeamount:
  4591. description: 成交金额
  4592. type: number
  4593. tradecharge:
  4594. description: 成交手续费(买方)
  4595. type: number
  4596. tradedate:
  4597. description: 交易日(yyyyMMdd)
  4598. type: string
  4599. tradeid:
  4600. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4601. type: string
  4602. trademode:
  4603. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4604. 21:竞拍-大宗式 22:受托竞价
  4605. type: integer
  4606. tradeprice:
  4607. description: 成交价格
  4608. type: number
  4609. tradeqty:
  4610. description: 成交数量
  4611. type: integer
  4612. vendorname1:
  4613. description: 预售商品供应商名称
  4614. type: string
  4615. vendorname2:
  4616. description: 挂牌商品供应商名称
  4617. type: string
  4618. required:
  4619. - goodscode
  4620. - goodsname
  4621. - tradeid
  4622. - trademode
  4623. type: object
  4624. models.HsbyBuyMyTradeDetail:
  4625. properties:
  4626. accountid:
  4627. description: 账户ID[报价币种]
  4628. type: integer
  4629. agreeunit:
  4630. description: 合约单位
  4631. type: number
  4632. amount:
  4633. description: 金额 = 价格 * 数量 * 合约单位
  4634. type: number
  4635. buyorsell:
  4636. description: 买卖 - 0:买 1:卖
  4637. type: integer
  4638. currencysign:
  4639. description: 货币符号
  4640. type: string
  4641. decimalplace:
  4642. description: 报价小数位
  4643. type: integer
  4644. goodscode:
  4645. description: 商品代码(内部)
  4646. type: string
  4647. goodsid:
  4648. description: 商品ID
  4649. type: integer
  4650. goodsname:
  4651. description: 商品名称
  4652. type: string
  4653. marketid:
  4654. description: 市场ID
  4655. type: integer
  4656. orderid:
  4657. description: 单号(成交单号)
  4658. type: string
  4659. picurls1:
  4660. description: 预售商品介绍图片[多张用逗号分隔]
  4661. type: string
  4662. picurls2:
  4663. description: 挂牌商品介绍图片[多张用逗号分隔]
  4664. type: string
  4665. price:
  4666. description: 价格
  4667. type: number
  4668. qty:
  4669. description: 数量
  4670. type: integer
  4671. time:
  4672. description: 时间
  4673. type: string
  4674. trademode:
  4675. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4676. 21:竞拍-大宗式 22:受托竞价
  4677. type: integer
  4678. vendorname1:
  4679. description: 预售商品供应商名称
  4680. type: string
  4681. vendorname2:
  4682. description: 挂牌商品供应商名称
  4683. type: string
  4684. required:
  4685. - accountid
  4686. - buyorsell
  4687. - goodscode
  4688. - goodsid
  4689. - goodsname
  4690. - marketid
  4691. - orderid
  4692. - qty
  4693. - time
  4694. - trademode
  4695. type: object
  4696. models.HsbyGoodsOrderDetail:
  4697. properties:
  4698. buyorsell:
  4699. description: 买卖 - 0:买 1:卖
  4700. type: integer
  4701. currencysign:
  4702. description: 货币符号
  4703. type: string
  4704. customername:
  4705. description: 客户名称(企业名称),已脱敏
  4706. type: string
  4707. enableqty:
  4708. description: 可用数量
  4709. type: integer
  4710. goodunit:
  4711. description: 报价单位
  4712. type: string
  4713. orderid:
  4714. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4715. type: string
  4716. orderprice:
  4717. description: 委托价格
  4718. type: number
  4719. ordertime:
  4720. description: 委托时间
  4721. type: string
  4722. required:
  4723. - buyorsell
  4724. - orderid
  4725. - ordertime
  4726. type: object
  4727. models.HsbyListingGoodsDetail:
  4728. properties:
  4729. agreeunit:
  4730. description: 合约单位
  4731. type: number
  4732. buymaxqty:
  4733. description: 购买上限 [71] - 0为不限
  4734. type: integer
  4735. currency:
  4736. description: 货币
  4737. type: string
  4738. currencysign:
  4739. description: 货币符号
  4740. type: string
  4741. decimalplace:
  4742. description: 报价小数位
  4743. type: integer
  4744. desccityid:
  4745. description: 目的地(市)ID
  4746. type: integer
  4747. descprovinceid:
  4748. description: 目的地(省)ID
  4749. type: integer
  4750. goodscode:
  4751. description: 商品代码(内部)
  4752. type: string
  4753. goodsdesc:
  4754. description: 商品详情
  4755. type: string
  4756. goodsid:
  4757. description: 商品ID(自增ID SEQ_GOODS)
  4758. type: integer
  4759. goodsname:
  4760. description: 商品名称
  4761. type: string
  4762. goodsprice:
  4763. description: 商品价格
  4764. type: number
  4765. hotindex:
  4766. description: 景点热度
  4767. type: integer
  4768. last:
  4769. description: 现价
  4770. type: number
  4771. limitdown:
  4772. description: 跌停价
  4773. type: number
  4774. limitup:
  4775. description: 涨停价
  4776. type: number
  4777. lotsize:
  4778. description: 手数最小变动单位
  4779. type: integer
  4780. marketid:
  4781. description: 所属市场ID
  4782. type: integer
  4783. picurls:
  4784. description: 介绍图片[多张用逗号分隔]
  4785. type: string
  4786. quoteminunit:
  4787. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4788. type: integer
  4789. stepvalue:
  4790. description: 价格最小变动单位
  4791. type: number
  4792. trademode:
  4793. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4794. 21:竞拍-大宗式 22:受托竞价
  4795. type: integer
  4796. vendorattr:
  4797. description: 供应商附件(多张,逗号分隔)
  4798. type: string
  4799. vendorname:
  4800. description: 供应商名称
  4801. type: string
  4802. vendorphone:
  4803. description: 供应商客服电话
  4804. type: string
  4805. videourls:
  4806. description: 介绍视频[多张用逗号分隔]
  4807. type: string
  4808. required:
  4809. - goodscode
  4810. - goodsid
  4811. - goodsname
  4812. - marketid
  4813. - trademode
  4814. type: object
  4815. models.HsbyMarketGoods:
  4816. properties:
  4817. accountid:
  4818. description: 账户ID[报价币种]
  4819. type: integer
  4820. agreeunit:
  4821. description: 合约单位
  4822. type: number
  4823. buyorsell:
  4824. description: 买卖 - 0:买 1:卖
  4825. type: integer
  4826. categoryid:
  4827. description: 类别ID(WRCATEGORY)
  4828. type: integer
  4829. currency:
  4830. description: 货币
  4831. type: string
  4832. currencysign:
  4833. description: 货币符号
  4834. type: string
  4835. customername:
  4836. description: 卖家名称
  4837. type: string
  4838. decimalplace:
  4839. description: 报价小数位
  4840. type: integer
  4841. goodscode:
  4842. description: 商品代码(内部)
  4843. type: string
  4844. goodsid:
  4845. description: 商品ID
  4846. type: integer
  4847. goodsname:
  4848. description: 商品名称
  4849. type: string
  4850. goodsprice:
  4851. description: 商品价格
  4852. type: number
  4853. hascoupon:
  4854. description: 是否可用优惠卷
  4855. type: boolean
  4856. hotindex:
  4857. description: 景点热度
  4858. type: integer
  4859. marketid:
  4860. description: 市场ID
  4861. type: integer
  4862. orderid:
  4863. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4864. type: string
  4865. orderprice:
  4866. description: 委托价格
  4867. type: number
  4868. orderstatus:
  4869. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4870. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4871. 16:成交失败违约(荷兰式竞拍专用)
  4872. type: integer
  4873. picurls:
  4874. description: 介绍图片[多张用逗号分隔]
  4875. type: string
  4876. quoteminunit:
  4877. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4878. type: integer
  4879. sellUserID:
  4880. description: 卖方UserID
  4881. type: integer
  4882. trademode:
  4883. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4884. 21:竞拍-大宗式 22:受托竞价
  4885. type: integer
  4886. videourls:
  4887. description: 介绍视频[多张用逗号分隔]
  4888. type: string
  4889. required:
  4890. - accountid
  4891. - buyorsell
  4892. - goodscode
  4893. - goodsid
  4894. - goodsname
  4895. - marketid
  4896. - orderid
  4897. - trademode
  4898. type: object
  4899. models.HsbyMarketGoodsDetail:
  4900. properties:
  4901. accountid:
  4902. description: 账户ID[报价币种]
  4903. type: integer
  4904. agreeunit:
  4905. description: 合约单位
  4906. type: number
  4907. buymaxqty:
  4908. description: 购买上限 [71] - 0为不限
  4909. type: integer
  4910. buyorsell:
  4911. description: 买卖 - 0:买 1:卖
  4912. type: integer
  4913. cancelqty:
  4914. description: 撤单数量
  4915. type: integer
  4916. categoryid:
  4917. description: 类别ID(WRCATEGORY)
  4918. type: integer
  4919. currency:
  4920. description: 货币
  4921. type: string
  4922. currencysign:
  4923. description: 货币符号
  4924. type: string
  4925. customername:
  4926. description: 卖家名称
  4927. type: string
  4928. decimalplace:
  4929. description: 报价小数位
  4930. type: integer
  4931. goodscode:
  4932. description: 商品代码(内部)
  4933. type: string
  4934. goodsdesc:
  4935. description: 商品详情
  4936. type: string
  4937. goodsid:
  4938. description: 商品ID
  4939. type: integer
  4940. goodsname:
  4941. description: 商品名称
  4942. type: string
  4943. goodsprice:
  4944. description: 商品价格
  4945. type: number
  4946. hotindex:
  4947. description: 景点热度
  4948. type: integer
  4949. lotsize:
  4950. description: 手数最小变动单位
  4951. type: integer
  4952. marketid:
  4953. description: 市场ID
  4954. type: integer
  4955. orderid:
  4956. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  4957. type: string
  4958. orderprice:
  4959. description: 委托价格
  4960. type: number
  4961. orderqty:
  4962. description: 委托数量
  4963. type: integer
  4964. orderstatus:
  4965. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  4966. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  4967. 16:成交失败违约(荷兰式竞拍专用)
  4968. type: integer
  4969. picurls:
  4970. description: 介绍图片[多张用逗号分隔]
  4971. type: string
  4972. quoteminunit:
  4973. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4974. type: integer
  4975. sellUserID:
  4976. description: 卖方UserID
  4977. type: integer
  4978. trademode:
  4979. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  4980. 21:竞拍-大宗式 22:受托竞价
  4981. type: integer
  4982. tradeqty:
  4983. description: 成交数量
  4984. type: integer
  4985. vendorattr:
  4986. description: 供应商附件(多张,逗号分隔)
  4987. type: string
  4988. vendorname:
  4989. description: 供应商名称
  4990. type: string
  4991. vendorphone:
  4992. description: 供应商客服电话
  4993. type: string
  4994. videourls:
  4995. description: 介绍视频[多张用逗号分隔]
  4996. type: string
  4997. required:
  4998. - accountid
  4999. - buyorsell
  5000. - goodscode
  5001. - goodsid
  5002. - goodsname
  5003. - marketid
  5004. - orderid
  5005. - orderqty
  5006. - trademode
  5007. type: object
  5008. models.HsbyMarketInfo:
  5009. properties:
  5010. marketid:
  5011. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5012. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5013. type: integer
  5014. marketname:
  5015. description: 市场名称
  5016. type: string
  5017. marketstatus:
  5018. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5019. type: integer
  5020. trademode:
  5021. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5022. 21:竞拍-大宗式 22:受托竞价
  5023. type: integer
  5024. required:
  5025. - marketid
  5026. - marketstatus
  5027. - trademode
  5028. type: object
  5029. models.HsbyMyGoods:
  5030. properties:
  5031. accountid:
  5032. description: 账号Id
  5033. type: integer
  5034. agreeunit:
  5035. description: 合约单位
  5036. type: number
  5037. buyaverageprice:
  5038. description: 持仓均价
  5039. type: number
  5040. buycurholderamount:
  5041. description: 买当前持仓总金额[商品币种]
  5042. type: number
  5043. buycurpositionqty:
  5044. description: 买当前持仓总数量
  5045. type: integer
  5046. buymaxqty:
  5047. description: 购买上限 [71] - 0为不限
  5048. type: integer
  5049. currencysign:
  5050. description: 货币符号
  5051. type: string
  5052. decimalplace:
  5053. description: 报价小数位
  5054. type: integer
  5055. enableqty:
  5056. description: 可用数量
  5057. type: integer
  5058. goodscode:
  5059. description: 商品代码(内部)
  5060. type: string
  5061. goodsid:
  5062. description: 商品Id
  5063. type: integer
  5064. goodsname:
  5065. description: 商品名称
  5066. type: string
  5067. goodsprice:
  5068. description: 商品价格
  5069. type: number
  5070. goodsstatus:
  5071. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5072. type: integer
  5073. last:
  5074. description: 现价(仅使用于挂牌点选)
  5075. type: number
  5076. limitdown:
  5077. description: 跌停价(仅使用于挂牌点选)
  5078. type: number
  5079. limitup:
  5080. description: 涨停价(仅使用于挂牌点选)
  5081. type: number
  5082. lotsize:
  5083. description: 手数最小变动单位
  5084. type: integer
  5085. marketid:
  5086. description: 所属市场ID
  5087. type: integer
  5088. picurls:
  5089. description: 介绍图片[多张用逗号分隔]
  5090. type: string
  5091. quoteminunit:
  5092. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5093. type: integer
  5094. stepvalue:
  5095. description: 价格最小变动单位
  5096. type: number
  5097. trademode:
  5098. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5099. 21:竞拍-大宗式 22:受托竞价
  5100. type: integer
  5101. required:
  5102. - accountid
  5103. - goodscode
  5104. - goodsid
  5105. - goodsname
  5106. - marketid
  5107. - trademode
  5108. type: object
  5109. models.HsbyMyPackage:
  5110. properties:
  5111. accountid:
  5112. description: 账户ID
  5113. type: integer
  5114. address:
  5115. description: 提货人详细地址
  5116. type: string
  5117. agreeunit:
  5118. description: 合约单位
  5119. type: number
  5120. amount:
  5121. description: 提货金额
  5122. type: number
  5123. auditer:
  5124. description: 审核人
  5125. type: integer
  5126. audittime:
  5127. description: 审核时间
  5128. type: string
  5129. averageprice:
  5130. description: 均价
  5131. type: number
  5132. cardnum:
  5133. description: 提货人证件号码
  5134. type: string
  5135. cardtypeid:
  5136. description: 提货人证件类型
  5137. type: integer
  5138. checkremark:
  5139. description: 审核备注
  5140. type: string
  5141. currencysign:
  5142. description: 货币符号
  5143. type: string
  5144. decimalplace:
  5145. description: 报价小数位
  5146. type: integer
  5147. goodscode:
  5148. description: 商品代码(内部)
  5149. type: string
  5150. goodsid:
  5151. description: 商品ID
  5152. type: integer
  5153. goodsname:
  5154. description: 商品名称
  5155. type: string
  5156. handlestatus:
  5157. description: 处理状态
  5158. type: integer
  5159. marketid:
  5160. description: 市场ID
  5161. type: integer
  5162. phonenum:
  5163. description: 提货人联系方式
  5164. type: string
  5165. picurls:
  5166. description: 介绍图片[多张用逗号分隔]
  5167. type: string
  5168. qty:
  5169. description: 提货数量
  5170. type: number
  5171. recivername:
  5172. description: 提货人姓名
  5173. type: string
  5174. reqtime:
  5175. description: 更新时间
  5176. type: string
  5177. takemode:
  5178. description: 提货方式 - 2:自提 3:配送
  5179. type: integer
  5180. takeorderid:
  5181. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  5182. type: string
  5183. takeorderstatus:
  5184. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  5185. type: integer
  5186. takeremark:
  5187. description: 提货备注
  5188. type: string
  5189. tradedate:
  5190. description: 交易日(yyyyMMdd)
  5191. type: string
  5192. trademode:
  5193. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5194. 21:竞拍-大宗式 22:受托竞价
  5195. type: integer
  5196. userid:
  5197. description: 用户ID
  5198. type: integer
  5199. vendorname:
  5200. description: 供应商名称
  5201. type: string
  5202. required:
  5203. - goodscode
  5204. - goodsname
  5205. - takeorderid
  5206. - trademode
  5207. type: object
  5208. models.HsbyPreGoods:
  5209. properties:
  5210. agreeunit:
  5211. description: 合约单位
  5212. type: number
  5213. currency:
  5214. description: 货币
  5215. type: string
  5216. currencysign:
  5217. description: 货币符号
  5218. type: string
  5219. decimalplace:
  5220. description: 报价小数位
  5221. type: integer
  5222. desccityid:
  5223. description: 目的地(市)
  5224. type: integer
  5225. descprovinceid:
  5226. description: 目的地(省)
  5227. type: integer
  5228. enableqty:
  5229. description: 剩余数量
  5230. type: integer
  5231. goodscode:
  5232. description: 商品代码(内部)
  5233. type: string
  5234. goodsid:
  5235. description: 商品ID(自增ID SEQ_GOODS)
  5236. type: integer
  5237. goodsname:
  5238. description: 商品名称
  5239. type: string
  5240. goodsstatus:
  5241. description: 商品状态- 2:未上市 3:上市
  5242. type: integer
  5243. lasttradedate:
  5244. description: 最后交易日期(状态:待退市)
  5245. type: string
  5246. listingdate:
  5247. description: 交易开始日期
  5248. type: string
  5249. marketid:
  5250. description: 所属市场ID
  5251. type: integer
  5252. picurls:
  5253. description: 介绍图片[多张用逗号分隔]
  5254. type: string
  5255. presaledqty:
  5256. description: 已预售量(预售结束时更新)
  5257. type: integer
  5258. presaleqty:
  5259. description: 预售数量
  5260. type: integer
  5261. quoteminunit:
  5262. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5263. type: integer
  5264. refprice:
  5265. description: 参考价格[一口价]
  5266. type: number
  5267. relatedgoodsid:
  5268. description: 关联交易合约ID
  5269. type: integer
  5270. trademode:
  5271. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5272. 21:竞拍-大宗式 22:受托竞价
  5273. type: integer
  5274. videourls:
  5275. description: 介绍视频[多张用逗号分隔]
  5276. type: string
  5277. required:
  5278. - goodscode
  5279. - goodsid
  5280. - goodsname
  5281. - marketid
  5282. - trademode
  5283. type: object
  5284. models.HsbyPreGoodsDetail:
  5285. properties:
  5286. agreeunit:
  5287. description: 合约单位
  5288. type: number
  5289. buymaxqty:
  5290. description: 购买上限 [71] - 0为不限
  5291. type: integer
  5292. currency:
  5293. description: 货币
  5294. type: string
  5295. currencysign:
  5296. description: 货币符号
  5297. type: string
  5298. customername:
  5299. description: 发行单位
  5300. type: string
  5301. decimalplace:
  5302. description: 报价小数位
  5303. type: integer
  5304. desccityid:
  5305. description: 目的地(市)ID
  5306. type: integer
  5307. descprovinceid:
  5308. description: 目的地(省)ID
  5309. type: integer
  5310. enableqty:
  5311. description: 剩余数量
  5312. type: integer
  5313. goodscode:
  5314. description: 商品代码(内部)
  5315. type: string
  5316. goodsdesc:
  5317. description: 商品详情
  5318. type: string
  5319. goodsid:
  5320. description: 商品ID(自增ID SEQ_GOODS)
  5321. type: integer
  5322. goodsname:
  5323. description: 商品名称
  5324. type: string
  5325. goodsstatus:
  5326. description: 商品状态- 2:未上市 3:上市
  5327. type: integer
  5328. goodunit:
  5329. description: 报价单位
  5330. type: string
  5331. lasttradedate:
  5332. description: 最后交易日期(状态:待退市)
  5333. type: string
  5334. listingdate:
  5335. description: 交易开始日期
  5336. type: string
  5337. lotsize:
  5338. description: 手数最小变动单位
  5339. type: integer
  5340. marketid:
  5341. description: 所属市场ID
  5342. type: integer
  5343. picurls:
  5344. description: 介绍图片[多张用逗号分隔]
  5345. type: string
  5346. presaledqty:
  5347. description: 已预售量(预售结束时更新)
  5348. type: integer
  5349. presaleqty:
  5350. description: 预售数量
  5351. type: integer
  5352. quoteminunit:
  5353. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5354. type: integer
  5355. refprice:
  5356. description: 参考价格[一口价]
  5357. type: number
  5358. relatedgoodsid:
  5359. description: 关联交易合约ID
  5360. type: integer
  5361. stepvalue:
  5362. description: 价格最小变动单位
  5363. type: number
  5364. trademode:
  5365. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5366. 21:竞拍-大宗式 22:受托竞价
  5367. type: integer
  5368. vendorattr:
  5369. description: 供应商附件(多张,逗号分隔)
  5370. type: string
  5371. vendorname:
  5372. description: 供应商名称
  5373. type: string
  5374. vendorphone:
  5375. description: 供应商客服电话
  5376. type: string
  5377. videourls:
  5378. description: 介绍视频[多张用逗号分隔]
  5379. type: string
  5380. required:
  5381. - goodscode
  5382. - goodsid
  5383. - goodsname
  5384. - marketid
  5385. - trademode
  5386. type: object
  5387. models.HsbySellCollectionOrder:
  5388. properties:
  5389. agreeunit:
  5390. description: 合约单位
  5391. type: number
  5392. buyaccountid:
  5393. description: 买方账号ID[报价币种]
  5394. type: integer
  5395. buyorderid:
  5396. description: 买方委托单号
  5397. type: string
  5398. createtime:
  5399. description: 创建时间
  5400. type: string
  5401. currencysign:
  5402. description: 货币符号
  5403. type: string
  5404. decimalplace:
  5405. description: 报价小数位
  5406. type: integer
  5407. goodscode:
  5408. description: 商品代码(内部)
  5409. type: string
  5410. goodsid:
  5411. description: 商品ID
  5412. type: integer
  5413. goodsname:
  5414. description: 商品名称
  5415. type: string
  5416. marketid:
  5417. description: 市场ID
  5418. type: integer
  5419. offamount:
  5420. description: 优惠金额
  5421. type: number
  5422. payamount:
  5423. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  5424. type: number
  5425. payflag:
  5426. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  5427. type: integer
  5428. paylimitedtime:
  5429. description: 支付期限
  5430. type: string
  5431. paytime:
  5432. description: 付款时间
  5433. type: string
  5434. picurls:
  5435. description: 商品介绍图片[多张用逗号分隔]
  5436. type: string
  5437. sellaccountid:
  5438. description: 卖方账号ID[报价币种]
  5439. type: integer
  5440. sellorderid:
  5441. description: 卖方委托单号
  5442. type: string
  5443. tradeamount:
  5444. description: 成交金额
  5445. type: number
  5446. tradecharge:
  5447. description: 成交手续费(买方)
  5448. type: number
  5449. tradedate:
  5450. description: 交易日(yyyyMMdd)
  5451. type: string
  5452. tradeid:
  5453. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5454. type: string
  5455. trademode:
  5456. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5457. 21:竞拍-大宗式 22:受托竞价
  5458. type: integer
  5459. tradeprice:
  5460. description: 成交价格
  5461. type: number
  5462. tradeqty:
  5463. description: 成交数量
  5464. type: integer
  5465. required:
  5466. - goodscode
  5467. - goodsname
  5468. - tradeid
  5469. - trademode
  5470. type: object
  5471. models.HsbySellMyDetail:
  5472. properties:
  5473. accountid:
  5474. description: 账户ID[报价币种]
  5475. type: integer
  5476. agreeunit:
  5477. description: 合约单位
  5478. type: number
  5479. buyorsell:
  5480. description: 买卖 - 0:买 1:卖
  5481. type: integer
  5482. currencysign:
  5483. description: 货币符号
  5484. type: string
  5485. decimalplace:
  5486. description: 报价小数位
  5487. type: integer
  5488. goodscode:
  5489. description: 商品代码(内部)
  5490. type: string
  5491. goodsid:
  5492. description: 商品ID
  5493. type: integer
  5494. goodsname:
  5495. description: 商品名称
  5496. type: string
  5497. marketid:
  5498. description: 市场ID
  5499. type: integer
  5500. orderid:
  5501. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  5502. type: string
  5503. ordertype:
  5504. description: 单据类型:0 - 发布中, 1 - 已完成
  5505. type: integer
  5506. picurls:
  5507. description: 介绍图片[多张用逗号分隔]
  5508. type: string
  5509. price:
  5510. description: 价格
  5511. type: number
  5512. qty:
  5513. description: 数量
  5514. type: integer
  5515. time:
  5516. description: 时间
  5517. type: string
  5518. trademode:
  5519. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5520. 21:竞拍-大宗式 22:受托竞价
  5521. type: integer
  5522. vendorname:
  5523. description: 供应商名称
  5524. type: string
  5525. required:
  5526. - accountid
  5527. - buyorsell
  5528. - goodscode
  5529. - goodsid
  5530. - goodsname
  5531. - marketid
  5532. - orderid
  5533. - time
  5534. - trademode
  5535. type: object
  5536. models.HsbyTopGoods:
  5537. properties:
  5538. agreeunit:
  5539. description: 合约单位
  5540. type: number
  5541. currency:
  5542. description: 货币
  5543. type: string
  5544. currencysign:
  5545. description: 货币符号
  5546. type: string
  5547. decimalplace:
  5548. description: 报价小数位
  5549. type: integer
  5550. desccityid:
  5551. description: 目的地(市)
  5552. type: integer
  5553. descprovinceid:
  5554. description: 目的地(省)
  5555. type: integer
  5556. goodscode:
  5557. description: 商品代码(内部)
  5558. type: string
  5559. goodsid:
  5560. description: 商品ID(自增ID SEQ_GOODS)
  5561. type: integer
  5562. goodsname:
  5563. description: 商品名称
  5564. type: string
  5565. hotindex:
  5566. description: 景点热度
  5567. type: integer
  5568. last:
  5569. description: 现价
  5570. type: number
  5571. marketid:
  5572. description: 所属市场ID
  5573. type: integer
  5574. picurls:
  5575. description: 介绍图片[多张用逗号分隔]
  5576. type: string
  5577. quoteminunit:
  5578. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5579. type: integer
  5580. trademode:
  5581. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5582. 21:竞拍-大宗式 22:受托竞价
  5583. type: integer
  5584. videourls:
  5585. description: 介绍视频[多张用逗号分隔]
  5586. type: string
  5587. required:
  5588. - goodscode
  5589. - goodsid
  5590. - goodsname
  5591. - marketid
  5592. - trademode
  5593. type: object
  5594. models.HybsMyBuyOrderDetail:
  5595. properties:
  5596. accountid:
  5597. description: 账户ID[报价币种]
  5598. type: integer
  5599. agreeunit:
  5600. description: 合约单位
  5601. type: number
  5602. buyorsell:
  5603. description: 买卖 - 0:买 1:卖
  5604. type: integer
  5605. cancelqty:
  5606. description: 撤单数量
  5607. type: integer
  5608. currencysign:
  5609. description: 货币符号
  5610. type: string
  5611. decimalplace:
  5612. description: 报价小数位
  5613. type: integer
  5614. goodscode:
  5615. description: 商品代码(内部)
  5616. type: string
  5617. goodsid:
  5618. description: 商品ID
  5619. type: integer
  5620. goodsname:
  5621. description: 商品名称
  5622. type: string
  5623. listingselecttype:
  5624. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  5625. type: integer
  5626. marketid:
  5627. description: 市场ID
  5628. type: integer
  5629. mybuystatus:
  5630. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  5631. type: integer
  5632. orderamount:
  5633. description: 委托金额
  5634. type: number
  5635. orderid:
  5636. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5637. type: string
  5638. orderprice:
  5639. description: 委托价格
  5640. type: number
  5641. orderqty:
  5642. description: 委托数量
  5643. type: integer
  5644. orderstatus:
  5645. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  5646. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  5647. 16:成交失败违约(荷兰式竞拍专用)
  5648. type: integer
  5649. ordertime:
  5650. description: 委托时间
  5651. type: string
  5652. picurls1:
  5653. description: 预售商品介绍图片[多张用逗号分隔]
  5654. type: string
  5655. picurls2:
  5656. description: 挂牌商品介绍图片[多张用逗号分隔]
  5657. type: string
  5658. trademode:
  5659. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5660. 21:竞拍-大宗式 22:受托竞价
  5661. type: integer
  5662. tradeqty:
  5663. description: 成交数量
  5664. type: integer
  5665. vendorname1:
  5666. description: 预售商品供应商名称
  5667. type: string
  5668. vendorname2:
  5669. description: 挂牌商品供应商名称
  5670. type: string
  5671. required:
  5672. - accountid
  5673. - buyorsell
  5674. - goodscode
  5675. - goodsid
  5676. - goodsname
  5677. - marketid
  5678. - orderid
  5679. - orderqty
  5680. - ordertime
  5681. - trademode
  5682. type: object
  5683. models.Market:
  5684. properties:
  5685. auctionwrtype:
  5686. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  5687. type: integer
  5688. canacceptquote:
  5689. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  5690. type: integer
  5691. cangoodsexercise:
  5692. description: '[期权]是否可现货行权- 0:否 1:是'
  5693. type: integer
  5694. cangoodsexercisetype:
  5695. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  5696. type: integer
  5697. canmanualquotestrike:
  5698. description: 是否可手动报行权价- 0:否 1:是 [期权]
  5699. type: integer
  5700. canmutistage:
  5701. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  5702. type: integer
  5703. canpreexercise:
  5704. description: '[期权]是否可预申报- 0:否 1:是'
  5705. type: integer
  5706. clearinterval:
  5707. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  5708. type: integer
  5709. contracttmp:
  5710. description: 合同模板[荷兰式][竞价式][仓单贸易]
  5711. type: string
  5712. exchareaid:
  5713. description: 所属交易所,可以没有
  5714. type: integer
  5715. goodstype:
  5716. description: 商品类型 - 1:交易商品 2:仓单商品
  5717. type: integer
  5718. hasrebate:
  5719. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  5720. type: integer
  5721. hastradecredit:
  5722. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  5723. type: integer
  5724. haswr:
  5725. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  5726. type: integer
  5727. isdeductmargin:
  5728. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  5729. type: integer
  5730. isrecordsource:
  5731. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  5732. type: integer
  5733. isreleasemargin:
  5734. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  5735. type: integer
  5736. marginformula:
  5737. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5738. type: integer
  5739. marginformula2:
  5740. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  5741. type: integer
  5742. marketid:
  5743. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  5744. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  5745. type: integer
  5746. marketname:
  5747. description: 市场名称
  5748. type: string
  5749. marketserviceid:
  5750. description: 市场服务ID
  5751. type: integer
  5752. marketstatus:
  5753. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  5754. type: integer
  5755. markettype:
  5756. description: 市场类型- 1:非交易服务 2:交易服务
  5757. type: integer
  5758. matchermode:
  5759. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  5760. type: integer
  5761. openmethod:
  5762. description: 开盘模式 - 0 自动 1手动
  5763. type: integer
  5764. otcuserid:
  5765. description: 场外期权做市商[场外期权]
  5766. type: integer
  5767. outersynctime:
  5768. description: 外部同步时间点(h24:mi:ss)[场外期权]
  5769. type: string
  5770. pendingflag:
  5771. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  5772. type: integer
  5773. pendingtime:
  5774. description: 待开市时间[通道交易-对冲](HH:mm)
  5775. type: string
  5776. performancetempid:
  5777. description: 履约计划模板ID - 作废
  5778. type: integer
  5779. premiumquotemode:
  5780. description: 权利金报价方式 - 1:自动 2:手动
  5781. type: integer
  5782. rebateratio:
  5783. description: 返利比率[竞价式]
  5784. type: number
  5785. reckonorder:
  5786. description: 结算顺序
  5787. type: integer
  5788. reckonpricealgorithm:
  5789. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  5790. 6.卖一价 7.买一卖一均价 8.外部结算价'
  5791. type: integer
  5792. reckonpriceparam:
  5793. description: 结算价参数
  5794. type: integer
  5795. reckontime:
  5796. description: 结算时间[通道交易-对冲](HH:mm)
  5797. type: string
  5798. roleprioritytype:
  5799. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  5800. type: integer
  5801. selllistingauditflag:
  5802. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  5803. type: integer
  5804. trademarkettype:
  5805. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  5806. type: integer
  5807. trademode:
  5808. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  5809. 21:竞拍-大宗式 22:受托竞价
  5810. type: integer
  5811. tradeproperty:
  5812. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  5813. 8:场外期权
  5814. type: integer
  5815. tradetype:
  5816. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  5817. type: integer
  5818. required:
  5819. - marketid
  5820. - marketstatus
  5821. - openmethod
  5822. - reckonpricealgorithm
  5823. - trademode
  5824. - tradeproperty
  5825. type: object
  5826. models.Marketrun:
  5827. properties:
  5828. afternexttradedate:
  5829. description: 下下交易日
  5830. type: string
  5831. clearquoteflag:
  5832. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  5833. type: integer
  5834. lastreckondate:
  5835. description: 最新交易日(结算成功)
  5836. type: string
  5837. machinedate:
  5838. description: 机器时间
  5839. type: string
  5840. manualflag:
  5841. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  5842. type: integer
  5843. marketid:
  5844. description: 市场ID
  5845. type: integer
  5846. nexttradedate:
  5847. description: 下一交易日
  5848. type: string
  5849. pretradedate:
  5850. description: 上一交易日
  5851. type: string
  5852. reckonflag:
  5853. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  5854. type: integer
  5855. runstatus:
  5856. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  5857. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  5858. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  5859. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  5860. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  5861. 62.今日免清算
  5862. type: integer
  5863. sectionid:
  5864. description: 时间段号[多时段时用]
  5865. type: integer
  5866. tradedate:
  5867. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  5868. type: string
  5869. tradedate2:
  5870. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  5871. type: string
  5872. updatetime:
  5873. description: 更新时间
  5874. type: string
  5875. required:
  5876. - marketid
  5877. - nexttradedate
  5878. - reckonflag
  5879. - runstatus
  5880. - tradedate
  5881. - tradedate2
  5882. type: object
  5883. models.Messageboard:
  5884. properties:
  5885. createtime:
  5886. description: 创建时间
  5887. type: string
  5888. message:
  5889. description: 留言信息
  5890. type: string
  5891. messageboardid:
  5892. description: 留言簿ID(SEQ_MessageBoard)
  5893. type: integer
  5894. userid:
  5895. description: 用户ID
  5896. type: integer
  5897. required:
  5898. - messageboardid
  5899. type: object
  5900. models.MyCoupon:
  5901. properties:
  5902. accountid:
  5903. description: 资金账户ID
  5904. type: integer
  5905. areauserid:
  5906. description: 所属机构
  5907. type: integer
  5908. conditionvalue:
  5909. description: 条件阈值(可为0)
  5910. type: number
  5911. couponcategroy:
  5912. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  5913. type: integer
  5914. couponname:
  5915. description: 优惠券名称
  5916. type: string
  5917. coupontypeid:
  5918. description: 优惠券类型ID
  5919. type: string
  5920. couponvalue:
  5921. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5922. type: number
  5923. curfreezeqty:
  5924. description: 期末冻结数量
  5925. type: integer
  5926. curqty:
  5927. description: 期末数量
  5928. type: integer
  5929. isgeneral:
  5930. description: 是否通用券 - 0:否 1:是
  5931. type: integer
  5932. isunusable:
  5933. description: 是否不可用
  5934. type: boolean
  5935. limitedflag:
  5936. description: 是否指定商品 - 0:不限 1:限制
  5937. type: integer
  5938. limitedgoodsids:
  5939. description: 指定商品IDs[逗号分隔,前后加逗号]
  5940. type: string
  5941. orifreezeqty:
  5942. description: 期初冻结数量
  5943. type: integer
  5944. oriqty:
  5945. description: 期初数量
  5946. type: integer
  5947. reasontype:
  5948. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  5949. type: integer
  5950. todaydecrease:
  5951. description: 今日减少
  5952. type: integer
  5953. todayincrease:
  5954. description: 今日增加
  5955. type: integer
  5956. userid:
  5957. description: 用户ID
  5958. type: integer
  5959. userscope:
  5960. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  5961. type: string
  5962. required:
  5963. - accountid
  5964. - coupontypeid
  5965. type: object
  5966. models.MyCouponHold:
  5967. properties:
  5968. accountid:
  5969. description: 资金账户ID
  5970. type: integer
  5971. conditionvalue:
  5972. description: 条件阈值(可为0)
  5973. type: number
  5974. couponcategroy:
  5975. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  5976. type: integer
  5977. couponholdid:
  5978. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  5979. type: string
  5980. couponname:
  5981. description: 优惠券名称
  5982. type: string
  5983. coupontypeid:
  5984. description: 优惠券类型ID - SEQ_COUPONTYPE
  5985. type: string
  5986. couponvalue:
  5987. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  5988. type: number
  5989. createtime:
  5990. description: 创建时间
  5991. type: string
  5992. enddate:
  5993. description: 结束日期
  5994. type: string
  5995. giveapplyid:
  5996. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  5997. type: integer
  5998. holdstatus:
  5999. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  6000. type: integer
  6001. isgeneral:
  6002. description: 是否通用券 - 0:否 1:是
  6003. type: integer
  6004. limitedflag:
  6005. description: 是否指定商品 - 0:不限 1:限制
  6006. type: integer
  6007. limitedgoodsids:
  6008. description: 指定商品IDs[逗号分隔]
  6009. type: string
  6010. qty:
  6011. description: 数量(按1平铺)
  6012. type: integer
  6013. startdate:
  6014. description: 开始日期
  6015. type: string
  6016. userid:
  6017. description: 用户ID
  6018. type: integer
  6019. userscope:
  6020. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  6021. type: string
  6022. required:
  6023. - couponholdid
  6024. type: object
  6025. models.MyUsedCoupon:
  6026. properties:
  6027. accountid:
  6028. description: 资金账户ID(买方)
  6029. type: integer
  6030. conditionvalue:
  6031. description: 条件阈值(可为0)
  6032. type: number
  6033. couponcategroy:
  6034. description: 种类 - 1:现金券 2:折扣券
  6035. type: integer
  6036. couponname:
  6037. description: 优惠券名称
  6038. type: string
  6039. coupontypeid:
  6040. description: 优惠券类型ID(买方)
  6041. type: string
  6042. couponvalue:
  6043. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  6044. type: number
  6045. createtime:
  6046. description: 创建时间
  6047. type: string
  6048. goodsid:
  6049. description: 商品ID
  6050. type: integer
  6051. handlestatus:
  6052. description: 处理状态
  6053. type: integer
  6054. marketid:
  6055. description: 市场ID
  6056. type: integer
  6057. offamount:
  6058. description: 优惠金额
  6059. type: number
  6060. orderid:
  6061. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6062. type: string
  6063. sellaccountid:
  6064. description: 资金账户ID(卖方)
  6065. type: integer
  6066. tradeamount:
  6067. description: 成交金额
  6068. type: number
  6069. tradeid:
  6070. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6071. type: string
  6072. usedqty:
  6073. description: 使用数量
  6074. type: integer
  6075. required:
  6076. - coupontypeid
  6077. - orderid
  6078. type: object
  6079. models.OperationPrimaryMenu:
  6080. properties:
  6081. Children:
  6082. description: 二级功能菜单
  6083. items:
  6084. $ref: '#/definitions/models.OperationSecondaryMenu'
  6085. type: array
  6086. Key:
  6087. description: 菜单KEY
  6088. type: string
  6089. Label:
  6090. description: 菜单标题
  6091. type: string
  6092. type: object
  6093. models.OperationSecondaryMenu:
  6094. properties:
  6095. Key:
  6096. description: 菜单KEY
  6097. type: string
  6098. Label:
  6099. description: 菜单标题
  6100. type: string
  6101. TabList:
  6102. description: 三级功能菜单
  6103. items:
  6104. $ref: '#/definitions/models.OperationTabMenu'
  6105. type: array
  6106. type: object
  6107. models.OperationTabMenu:
  6108. properties:
  6109. Key:
  6110. description: 菜单KEY
  6111. type: string
  6112. Label:
  6113. description: 菜单标题
  6114. type: string
  6115. type: object
  6116. models.QueryErrorInfosRsp:
  6117. properties:
  6118. description:
  6119. description: 异常描述
  6120. type: string
  6121. errorcode:
  6122. description: 异常代码
  6123. type: string
  6124. errorid:
  6125. description: 异常ID
  6126. type: integer
  6127. modulecode:
  6128. description: 所属模块
  6129. type: string
  6130. operatecode:
  6131. description: 所属操作
  6132. type: string
  6133. rownumber:
  6134. description: 行号
  6135. type: string
  6136. required:
  6137. - errorid
  6138. type: object
  6139. models.QuotePrimaryMenu:
  6140. properties:
  6141. Index:
  6142. description: 序号
  6143. type: integer
  6144. Key:
  6145. description: 键名
  6146. type: string
  6147. Name:
  6148. description: 菜单名称
  6149. type: string
  6150. SubMenus:
  6151. description: 子菜单
  6152. items:
  6153. $ref: '#/definitions/models.QuoteSecondaryMenu'
  6154. type: array
  6155. SubTitleType:
  6156. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  6157. type: integer
  6158. TradeModes:
  6159. description: 包含市场交易类型
  6160. type: string
  6161. type: object
  6162. models.QuoteSecondaryMenu:
  6163. properties:
  6164. ExExchangeCode:
  6165. description: 外部交易所代码
  6166. type: string
  6167. ExExchangeID:
  6168. description: 外部交易所ID
  6169. type: integer
  6170. GoodsGroupIDs:
  6171. description: 商品组ID列表
  6172. items:
  6173. type: integer
  6174. type: array
  6175. Index:
  6176. description: 序号
  6177. type: integer
  6178. MarketID:
  6179. description: 市场ID
  6180. type: integer
  6181. MenuTitle:
  6182. description: 菜单标题(市场名称或外部交易所名称)
  6183. type: string
  6184. TradeMode:
  6185. description: 交易模式
  6186. type: integer
  6187. type: object
  6188. models.SearchGoods:
  6189. properties:
  6190. goodscode:
  6191. description: 商品代码(内部)
  6192. type: string
  6193. goodsid:
  6194. description: 商品ID(自增ID SEQ_GOODS)
  6195. type: integer
  6196. goodsname:
  6197. description: 商品名称
  6198. type: string
  6199. marketid:
  6200. description: 所属市场ID
  6201. type: integer
  6202. marketname:
  6203. description: 市场名称
  6204. type: string
  6205. trademode:
  6206. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6207. 21:竞拍-大宗式 22:受托竞价
  6208. type: integer
  6209. required:
  6210. - goodscode
  6211. - goodsid
  6212. - goodsname
  6213. - marketid
  6214. - trademode
  6215. type: object
  6216. models.Szdz2imageconfig:
  6217. properties:
  6218. configid:
  6219. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  6220. type: integer
  6221. imagepath:
  6222. description: 图片
  6223. type: string
  6224. imagetype:
  6225. description: 类型 - 1:App首页轮播 2:我的
  6226. type: integer
  6227. sort:
  6228. description: 排序
  6229. type: integer
  6230. title:
  6231. description: 标题
  6232. type: string
  6233. url:
  6234. description: 链接
  6235. type: string
  6236. required:
  6237. - configid
  6238. type: object
  6239. models.Szdz3convertconfig:
  6240. properties:
  6241. canin:
  6242. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  6243. type: integer
  6244. canout:
  6245. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  6246. type: integer
  6247. converttype:
  6248. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  6249. 6:交易转花生米(不设置)
  6250. type: integer
  6251. createtime:
  6252. description: 创建时间
  6253. type: string
  6254. creatorid:
  6255. description: 创建人
  6256. type: integer
  6257. daymaxvalue:
  6258. description: 当日最大转入限制
  6259. type: number
  6260. freezedays:
  6261. description: 冻结天数 [5:花生米转交易]
  6262. type: integer
  6263. innergoodsid:
  6264. description: 内部商品ID[交易]
  6265. type: integer
  6266. inratio:
  6267. description: 目标值
  6268. type: integer
  6269. modifierid:
  6270. description: 修改人
  6271. type: integer
  6272. modifytime:
  6273. description: 修改时间
  6274. type: string
  6275. outergoodscode:
  6276. description: 外部商品代码[JD\PD]
  6277. type: string
  6278. outratio:
  6279. description: 源值
  6280. type: integer
  6281. pddecimalplace:
  6282. description: PD小数位
  6283. type: integer
  6284. timemaxvalue:
  6285. description: 单次最大转入限制
  6286. type: number
  6287. timeminvalue:
  6288. description: 单次最小转入限制
  6289. type: number
  6290. required:
  6291. - converttype
  6292. - innergoodsid
  6293. - outergoodscode
  6294. type: object
  6295. models.Szdz3searchwhitelist:
  6296. properties:
  6297. createtime:
  6298. description: 创建时间
  6299. type: string
  6300. creatorid:
  6301. description: 创建人
  6302. type: integer
  6303. modifierid:
  6304. description: 修改人
  6305. type: integer
  6306. modifytime:
  6307. description: 修改时间
  6308. type: string
  6309. userid:
  6310. description: 用户ID
  6311. type: integer
  6312. required:
  6313. - userid
  6314. type: object
  6315. models.Taaccount:
  6316. properties:
  6317. accountflag:
  6318. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  6319. type: integer
  6320. accountid:
  6321. description: 资金账户ID
  6322. type: integer
  6323. accountname:
  6324. description: 账户名称
  6325. type: string
  6326. balance:
  6327. description: 期初余额
  6328. type: number
  6329. capitalbalance:
  6330. description: 本金余额[外部子账户实际出入金余额]
  6331. type: number
  6332. changeflag:
  6333. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  6334. type: integer
  6335. changetime:
  6336. description: 账户状态变更时间
  6337. type: string
  6338. closepl:
  6339. description: 今日平仓盈亏
  6340. type: number
  6341. creditdecrease:
  6342. description: 今日授信减少
  6343. type: number
  6344. creditincrease:
  6345. description: 今日授信增加
  6346. type: number
  6347. currencyid:
  6348. description: 货币ID
  6349. type: integer
  6350. currentbalance:
  6351. description: 期末余额
  6352. type: number
  6353. freezecharge:
  6354. description: 手续费冻结
  6355. type: number
  6356. freezemargin:
  6357. description: 冻结保证金
  6358. type: number
  6359. fromaccountid:
  6360. description: 所属上级账户
  6361. type: integer
  6362. inamount:
  6363. description: 今日入金金额(包括三方入金)
  6364. type: number
  6365. ismain:
  6366. description: 是否母账号 0:不是母账户 1:是母账户
  6367. type: integer
  6368. ismarketaccount:
  6369. description: 是否机构接单账号 0:不是 1:是
  6370. type: integer
  6371. isreckonaccount:
  6372. description: 是否机构分润账号 0:不是 1:是
  6373. type: integer
  6374. mortgagecredit:
  6375. description: 授信金额
  6376. type: number
  6377. orifreezecharge:
  6378. description: 期初手续费冻结
  6379. type: number
  6380. orifreezemargin:
  6381. description: 期初冻结保证金
  6382. type: number
  6383. orimortgagecredit:
  6384. description: 期初授信金额
  6385. type: number
  6386. oriothercredit:
  6387. description: 期初其它授信金额
  6388. type: number
  6389. oriotherfreezemargin:
  6390. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6391. type: number
  6392. orioutamountfreeze:
  6393. description: 期初出金冻结
  6394. type: number
  6395. oriusedmargin:
  6396. description: 期初占用保证金
  6397. type: number
  6398. othercredit:
  6399. description: 其它授信金额
  6400. type: number
  6401. othercreditdecrease:
  6402. description: 今日其它授信减少
  6403. type: number
  6404. othercreditincrease:
  6405. description: 今日其它授信增加
  6406. type: number
  6407. otherfreezemargin:
  6408. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6409. type: number
  6410. otherincome:
  6411. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  6412. type: number
  6413. otherpay:
  6414. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  6415. type: number
  6416. outamount:
  6417. description: 今日出金金额(包括三方出金)
  6418. type: number
  6419. outamountfreeze:
  6420. description: 出金冻结
  6421. type: number
  6422. outthreshold:
  6423. description: 出金阈值
  6424. type: number
  6425. parentaccountid:
  6426. description: 所属根账号
  6427. type: integer
  6428. paycharge:
  6429. description: 今日手续费支出
  6430. type: number
  6431. relatedaccountstatus:
  6432. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  6433. type: integer
  6434. relateduserid:
  6435. description: 关联用户
  6436. type: integer
  6437. serivcegroup:
  6438. description: 服务分组
  6439. type: integer
  6440. signstatus:
  6441. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6442. type: integer
  6443. sublevelpath:
  6444. description: 账号层级路径(逗号分隔,首尾加逗号)
  6445. type: string
  6446. taaccounttype:
  6447. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6448. type: integer
  6449. thirdinamount:
  6450. description: 今日三方入金
  6451. type: number
  6452. thirdoutamount:
  6453. description: 今日三方出金
  6454. type: number
  6455. tradestatus:
  6456. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6457. type: integer
  6458. tradestatuschangetime:
  6459. description: 激活时间
  6460. type: string
  6461. transferamount:
  6462. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6463. type: number
  6464. usedmargin:
  6465. description: 占用保证金
  6466. type: number
  6467. userid:
  6468. description: 用户ID
  6469. type: integer
  6470. required:
  6471. - accountid
  6472. - userid
  6473. type: object
  6474. models.Tablecolumnconfig:
  6475. properties:
  6476. aligntype:
  6477. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  6478. type: integer
  6479. autoid:
  6480. description: AutoID
  6481. type: integer
  6482. columnfield:
  6483. description: 列字段
  6484. type: string
  6485. columntitle:
  6486. description: 列Title
  6487. type: string
  6488. columnwidth:
  6489. description: 列宽
  6490. type: string
  6491. formatterstring:
  6492. description: 格式化字符
  6493. type: string
  6494. formattertype:
  6495. description: 格式化类型
  6496. type: string
  6497. groupname:
  6498. description: 表头分组名称
  6499. type: string
  6500. isshow:
  6501. description: 是否显示 - 0:不显示 1:显示
  6502. type: integer
  6503. needsummary:
  6504. description: 是否需要汇总 - 0:不需要 1:需要
  6505. type: integer
  6506. orderindex:
  6507. description: 顺序
  6508. type: integer
  6509. remark:
  6510. description: 备注
  6511. type: string
  6512. summarytype:
  6513. description: 汇总类型 - 1:加总 2:最后一个
  6514. type: integer
  6515. tablekey:
  6516. description: 列表Key
  6517. type: string
  6518. required:
  6519. - autoid
  6520. type: object
  6521. models.Useraccount:
  6522. properties:
  6523. accountname:
  6524. description: 账户名称(机构名称)
  6525. type: string
  6526. accountstatus:
  6527. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  6528. type: integer
  6529. auditremark:
  6530. description: 审核备注
  6531. type: string
  6532. audittime:
  6533. description: 审核时间
  6534. type: string
  6535. audituserid:
  6536. description: 审核人
  6537. type: integer
  6538. broker:
  6539. description: 所属经纪人ID
  6540. type: integer
  6541. canceltime:
  6542. description: 销户时间
  6543. type: string
  6544. canceluserid:
  6545. description: 销户人
  6546. type: integer
  6547. createtime:
  6548. description: 创建时间
  6549. type: string
  6550. creatorid:
  6551. description: 创建人
  6552. type: integer
  6553. hasauth:
  6554. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6555. type: integer
  6556. isanonymous:
  6557. description: 是否匿名下单 - 0:否 1:是
  6558. type: integer
  6559. maxinvestornum:
  6560. description: 最大用户数(经纪会员下投资者个数)
  6561. type: integer
  6562. memberuserid:
  6563. description: 所属会员ID
  6564. type: integer
  6565. modifierid:
  6566. description: 修改人
  6567. type: integer
  6568. modifyremark:
  6569. description: 变更备注
  6570. type: string
  6571. modifystatus:
  6572. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6573. type: integer
  6574. modifytime:
  6575. description: 修改时间
  6576. type: string
  6577. parentuserid:
  6578. description: 所属机构ID
  6579. type: integer
  6580. reckonaccountid:
  6581. description: 默认结算资金账号ID(机构分润使用) 作废
  6582. type: integer
  6583. refercount:
  6584. description: 推荐总人数
  6585. type: integer
  6586. refereeuserid:
  6587. description: 推荐人ID
  6588. type: integer
  6589. refernum:
  6590. description: 推荐码
  6591. type: string
  6592. subarealevelpath:
  6593. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6594. type: string
  6595. userid:
  6596. description: 用户ID
  6597. type: integer
  6598. usertype:
  6599. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  6600. type: integer
  6601. required:
  6602. - userid
  6603. type: object
  6604. models.Userfavoritegoods:
  6605. properties:
  6606. goodsid:
  6607. description: 商品ID
  6608. type: integer
  6609. required:
  6610. - goodsid
  6611. type: object
  6612. models.Userinfo:
  6613. properties:
  6614. address:
  6615. description: 地址
  6616. type: string
  6617. attachment1:
  6618. description: 附件1
  6619. type: string
  6620. attachment2:
  6621. description: 附件2
  6622. type: string
  6623. bankaccount:
  6624. description: 银行帐号 (加密存储)
  6625. type: string
  6626. bankaccountname:
  6627. description: 收款人名称
  6628. type: string
  6629. bankcardfrontphotourl:
  6630. description: 银行卡正面照地址
  6631. type: string
  6632. bankid:
  6633. description: 银行编码
  6634. type: string
  6635. bankname:
  6636. description: 银行名称
  6637. type: string
  6638. biznature:
  6639. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  6640. type: integer
  6641. bizscope:
  6642. description: 企业经营范围(企业)
  6643. type: string
  6644. cardbackphotourl:
  6645. description: 证件背面图片地址
  6646. type: string
  6647. cardfrontphotourl:
  6648. description: 证件正面图片地址
  6649. type: string
  6650. cardnum:
  6651. description: 证件号码(加密存储)
  6652. type: string
  6653. cardtypeid:
  6654. description: 证件类型ID
  6655. type: integer
  6656. cityid:
  6657. description: 市
  6658. type: integer
  6659. company:
  6660. description: 公司(个人)
  6661. type: string
  6662. contactname:
  6663. description: 联系人
  6664. type: string
  6665. countryid:
  6666. description: 国家
  6667. type: integer
  6668. createtime:
  6669. description: 创建时间
  6670. type: string
  6671. creatorid:
  6672. description: 创建人
  6673. type: integer
  6674. customername:
  6675. description: 客户名称(企业名称)
  6676. type: string
  6677. districtid:
  6678. description: 地区
  6679. type: integer
  6680. email:
  6681. description: 邮件(加密存储)
  6682. type: string
  6683. fax:
  6684. description: 传真(加密存储)
  6685. type: string
  6686. halfbodyphotourl:
  6687. description: 半身照地址
  6688. type: string
  6689. hasencrypt:
  6690. description: 数据是否已加密 - 0:未加密 1:已加密
  6691. type: integer
  6692. headurl:
  6693. description: 头像地址
  6694. type: string
  6695. legalcardbackphotourl:
  6696. description: 法人身份证背面照地址
  6697. type: string
  6698. legalcardfrontphotourl:
  6699. description: 法人身份证正面照地址
  6700. type: string
  6701. legalpersonname:
  6702. description: 法人姓名(企业)
  6703. type: string
  6704. mobile:
  6705. description: 手机号码(加密存储)
  6706. type: string
  6707. mobile2:
  6708. description: 手机号码[明文-尚志]
  6709. type: string
  6710. modifierid:
  6711. description: 修改人
  6712. type: integer
  6713. modifiertime:
  6714. description: 修改时间
  6715. type: string
  6716. needinvoice:
  6717. description: 是否需要发票 - 0:不需要 1:需要
  6718. type: integer
  6719. nickname:
  6720. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  6721. type: string
  6722. openmode:
  6723. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  6724. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  6725. type: integer
  6726. otherurl:
  6727. description: 其它图片地址[使用分号分隔]
  6728. type: string
  6729. postalcode:
  6730. description: 邮政编码
  6731. type: string
  6732. provinceid:
  6733. description: 省
  6734. type: integer
  6735. qq:
  6736. description: QQ(加密存储
  6737. type: string
  6738. remark:
  6739. description: 备注
  6740. type: string
  6741. sex:
  6742. description: '用户性别 0: 女 1: 男'
  6743. type: integer
  6744. signpdfurl:
  6745. description: 签约pdf文件
  6746. type: string
  6747. telphone:
  6748. description: 联系电话(加密存储)
  6749. type: string
  6750. userid:
  6751. description: 用户ID
  6752. type: integer
  6753. userinfotype:
  6754. description: 用户信息类型 - 1:个人 2:企业
  6755. type: integer
  6756. userstatus:
  6757. description: 用户状态 - 1:正常 2:注销
  6758. type: integer
  6759. usertype:
  6760. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  6761. type: integer
  6762. wechat:
  6763. description: 微信(加密存储)
  6764. type: string
  6765. wskhinfo:
  6766. description: 开户申请信息(JSON)
  6767. type: string
  6768. required:
  6769. - userid
  6770. type: object
  6771. models.WRCategoryTree:
  6772. properties:
  6773. areauserid:
  6774. description: 所属机构
  6775. type: integer
  6776. categorydesc:
  6777. description: 类别描述
  6778. type: string
  6779. categoryid:
  6780. description: 类别ID(SEQ_WRCATEGORY)
  6781. type: integer
  6782. categoryname:
  6783. description: 类别名称
  6784. type: string
  6785. iconurl:
  6786. description: 图标地址
  6787. type: string
  6788. orderindex:
  6789. description: 顺序
  6790. type: integer
  6791. parentcategoryid:
  6792. description: 父类别ID
  6793. type: integer
  6794. subcategory:
  6795. description: 子分类
  6796. items:
  6797. $ref: '#/definitions/models.WRCategoryTree'
  6798. type: array
  6799. required:
  6800. - categoryid
  6801. type: object
  6802. models.WRSConverTDetail:
  6803. properties:
  6804. convertratio:
  6805. description: 套保系数
  6806. type: number
  6807. deliverygoodsid:
  6808. description: 现货品种ID
  6809. type: integer
  6810. middlegoodscode:
  6811. description: 套保品种代码
  6812. type: string
  6813. middlegoodsid:
  6814. description: 套保品种ID
  6815. type: integer
  6816. middlegoodsname:
  6817. description: 套保品种名称
  6818. type: string
  6819. modifytime:
  6820. description: 修改时间
  6821. type: string
  6822. wrstandardid:
  6823. description: 现货商品ID
  6824. type: integer
  6825. type: object
  6826. models.WRStandardInfo:
  6827. properties:
  6828. createtime:
  6829. description: 创建时间
  6830. type: string
  6831. creatorid:
  6832. description: 创建人
  6833. type: integer
  6834. deliverygoodsid:
  6835. description: 品种ID
  6836. type: integer
  6837. deliverygoodsname:
  6838. description: 交割商品名称
  6839. type: string
  6840. factoryitemjson:
  6841. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  6842. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  6843. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  6844. 逗号分隔'
  6845. type: string
  6846. isvalid:
  6847. description: 是否有效 - 0:无效 1:有效
  6848. type: integer
  6849. minivalue:
  6850. description: 最小变动值
  6851. type: integer
  6852. minivaluedp:
  6853. description: 最小变动值小数位
  6854. type: integer
  6855. realminivalue:
  6856. description: 实际最小变动值
  6857. type: integer
  6858. realminivaluedp:
  6859. description: 实际最小变动值小数位
  6860. type: integer
  6861. unitid:
  6862. description: 单位ID
  6863. type: integer
  6864. unitname:
  6865. description: 单位
  6866. type: string
  6867. updatetime:
  6868. description: 更新时间
  6869. type: string
  6870. updatorid:
  6871. description: 更新人
  6872. type: integer
  6873. wrsstatus:
  6874. description: 状态 - 作废 - 0:未激活 1:正常
  6875. type: integer
  6876. wrstandardcode:
  6877. description: 仓单标准代码
  6878. type: string
  6879. wrstandardid:
  6880. description: 仓单标准ID(SEQ_WRSTANDARD)
  6881. type: integer
  6882. wrstandardname:
  6883. description: 仓单标准名称
  6884. type: string
  6885. required:
  6886. - wrstandardid
  6887. type: object
  6888. models.Warehouseinfo:
  6889. properties:
  6890. address:
  6891. description: 详细地址
  6892. type: string
  6893. areauserid:
  6894. description: 所属机构
  6895. type: integer
  6896. autoid:
  6897. description: 自增ID
  6898. type: integer
  6899. cityid:
  6900. description: 市
  6901. type: integer
  6902. contactname:
  6903. description: 联系人
  6904. type: string
  6905. contactnum:
  6906. description: 联系电话
  6907. type: string
  6908. countryid:
  6909. description: 国家
  6910. type: integer
  6911. createtime:
  6912. description: 创建时间
  6913. type: string
  6914. districtid:
  6915. description: 区
  6916. type: integer
  6917. hasvideo:
  6918. description: 是否有视频 - 0:无 1:有
  6919. type: integer
  6920. provinceid:
  6921. description: 省
  6922. type: integer
  6923. remark:
  6924. description: 审核备注
  6925. type: string
  6926. videourl:
  6927. description: 视频地址
  6928. type: string
  6929. warehousecode:
  6930. description: 仓库代码
  6931. type: string
  6932. warehousename:
  6933. description: 仓库名称
  6934. type: string
  6935. warehousestatus:
  6936. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  6937. type: integer
  6938. warehousetype:
  6939. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  6940. type: integer
  6941. required:
  6942. - autoid
  6943. - warehousecode
  6944. type: object
  6945. order.QueryHisTradeDetailRsp:
  6946. properties:
  6947. accountid:
  6948. description: 账户ID[报价币种]
  6949. type: integer
  6950. buildtype:
  6951. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  6952. type: integer
  6953. buyorsell:
  6954. description: 方向 - 0:买 1:卖
  6955. type: integer
  6956. charge:
  6957. description: 手续费
  6958. type: number
  6959. closecharge:
  6960. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  6961. type: number
  6962. closeexchagechargevalue:
  6963. description: 平仓交易所手续费设置值
  6964. type: number
  6965. closefeealgorithm:
  6966. description: 平仓手续费收取方式 1:比率 2:固定
  6967. type: integer
  6968. closememberchargevalue:
  6969. description: 平仓会员手续费设置值
  6970. type: number
  6971. closepl:
  6972. description: 平仓盈亏
  6973. type: number
  6974. closepl2:
  6975. description: 平仓盈亏[逐笔]
  6976. type: number
  6977. closeqty:
  6978. description: 平仓数量(先建后平操作 需要记录)
  6979. type: integer
  6980. creditamount:
  6981. description: 授信金额
  6982. type: number
  6983. gcaccountid:
  6984. description: 账户ID[合约币种]
  6985. type: integer
  6986. goodscode:
  6987. description: 商品代码
  6988. type: string
  6989. goodsid:
  6990. description: 商品ID
  6991. type: integer
  6992. goodsname:
  6993. description: 商品名称
  6994. type: string
  6995. histradedate:
  6996. description: 历史交易日
  6997. type: string
  6998. intclosepl:
  6999. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7000. type: integer
  7001. isconfirmexercise:
  7002. description: 是否确认行权- 0:否 1:是
  7003. type: integer
  7004. ismain:
  7005. description: 是否主单 - 0:不是 1:是
  7006. type: integer
  7007. ispreexercise:
  7008. description: 是否预申报- 0:否 1:是
  7009. type: integer
  7010. isreckoned:
  7011. description: 是否结算 - 0:未结算 1:已结算
  7012. type: integer
  7013. isvaliddata:
  7014. description: 是否有效 - 0:无效 1:有效
  7015. type: integer
  7016. listingselecttype:
  7017. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7018. type: integer
  7019. marketid:
  7020. description: 市场ID
  7021. type: integer
  7022. marketname:
  7023. description: 市场名称
  7024. type: string
  7025. matchaccountid:
  7026. description: 对手账号id
  7027. type: integer
  7028. memberuserid:
  7029. description: 会员id 个人投资者 需要填写
  7030. type: integer
  7031. opencharge:
  7032. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7033. type: number
  7034. openexchagechargevalue:
  7035. description: 建仓交易所手续费设置值
  7036. type: number
  7037. openfeealgorithm:
  7038. description: 建仓手续费收取方式 1:比率 2:固定
  7039. type: integer
  7040. openmemberchargevalue:
  7041. description: 建仓会员手续费设置值
  7042. type: number
  7043. openqty:
  7044. description: 开仓数量(先建后平操作 需要记录)
  7045. type: integer
  7046. optiontype:
  7047. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7048. type: integer
  7049. orderid:
  7050. description: 委托单号
  7051. type: string
  7052. performanceplanid:
  7053. description: 履约计划ID[期权]
  7054. type: integer
  7055. performancestatus:
  7056. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7057. type: integer
  7058. preexerciseprice:
  7059. description: 预申报价格
  7060. type: number
  7061. premium:
  7062. description: 权利金 - [持仓单的权利金]
  7063. type: number
  7064. relatedouttradeid:
  7065. description: 关联外部成交单ID
  7066. type: integer
  7067. status:
  7068. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7069. type: integer
  7070. tradeamount:
  7071. description: 成交金额[账户币种,用于所有权]
  7072. type: number
  7073. tradedate:
  7074. description: 交易日(yyyyMMdd)
  7075. type: string
  7076. tradeid:
  7077. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7078. type: string
  7079. trademode:
  7080. description: 交易模式
  7081. type: integer
  7082. tradeprice:
  7083. description: 成交价格
  7084. type: number
  7085. tradeproperty:
  7086. description: 交易属性
  7087. type: integer
  7088. tradeqty:
  7089. description: 成交数量
  7090. type: integer
  7091. tradetime:
  7092. description: 成交时间
  7093. type: string
  7094. tradetype:
  7095. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7096. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7097. type: integer
  7098. required:
  7099. - accountid
  7100. - buyorsell
  7101. - goodsid
  7102. - histradedate
  7103. - marketid
  7104. - memberuserid
  7105. - orderid
  7106. - tradeamount
  7107. - tradedate
  7108. - tradeid
  7109. - tradeprice
  7110. - tradeqty
  7111. - tradetime
  7112. type: object
  7113. order.QueryHisTradeOrderDetailRsp:
  7114. properties:
  7115. accountid:
  7116. description: 账户ID[报价币种]
  7117. type: integer
  7118. buildtype:
  7119. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7120. type: integer
  7121. buyorsell:
  7122. description: 买卖 - 0:买 1:卖
  7123. type: integer
  7124. cancelorderid:
  7125. description: 撤单单号(撤单时填写)
  7126. type: string
  7127. cancelqty:
  7128. description: 撤单数量
  7129. type: integer
  7130. clientordertime:
  7131. description: 客户端委托时间
  7132. type: string
  7133. clientticket:
  7134. description: 客户端流水号
  7135. type: string
  7136. clienttype:
  7137. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7138. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7139. type: integer
  7140. closeexchagechargevalue:
  7141. description: 平仓交易所手续费设置值
  7142. type: number
  7143. closefeealgorithm:
  7144. description: 平仓手续费收取方式 1:比率 2:固定
  7145. type: integer
  7146. closefreezecharge:
  7147. description: 平仓冻结手续费(先建后平操作,需要记录)
  7148. type: number
  7149. closememberchargevalue:
  7150. description: 平仓会员手续费设置值
  7151. type: number
  7152. closeqty:
  7153. description: 平仓数量(先建后平操作 需要记录)
  7154. type: integer
  7155. closetradeqty:
  7156. description: 平仓成交数量(先建后平操作,需要记录)
  7157. type: integer
  7158. closeunfreezecharge:
  7159. description: 平仓解冻手续费(先建后平操作,需要记录)
  7160. type: number
  7161. delistingtype:
  7162. description: 摘牌类型 - 1:价格最优 2:点选成交
  7163. type: integer
  7164. freezecharge:
  7165. description: 冻结手续费
  7166. type: number
  7167. freezemargin:
  7168. description: 冻结保证金(冻结交易金额)
  7169. type: number
  7170. gcaccountid:
  7171. description: 账户ID[合约币种]
  7172. type: integer
  7173. goodscode:
  7174. description: 商品代码
  7175. type: string
  7176. goodsid:
  7177. description: 商品ID
  7178. type: integer
  7179. goodsname:
  7180. description: 商品名称
  7181. type: string
  7182. histradedate:
  7183. description: 历史交易日
  7184. type: string
  7185. isconfirmexercise:
  7186. description: 是否确认行权- 0:否 1:是
  7187. type: integer
  7188. ispreexercise:
  7189. description: 是否预申报- 0:否 1:是
  7190. type: integer
  7191. isvaliddata:
  7192. description: 是否有效 - 0:无效 1:有效
  7193. type: integer
  7194. listingselecttype:
  7195. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7196. type: integer
  7197. marginalgorithm:
  7198. description: 保证金收取方式 1:比率 2:固定
  7199. type: integer
  7200. marginvalue:
  7201. description: 即市保证金设置值
  7202. type: number
  7203. marketid:
  7204. description: 市场ID
  7205. type: integer
  7206. marketmaxsub:
  7207. description: 市价最大偏移范围
  7208. type: number
  7209. marketname:
  7210. description: 市场名称
  7211. type: string
  7212. memberuserid:
  7213. description: 所属会员UserID
  7214. type: integer
  7215. openexchagechargevalue:
  7216. description: 建仓交易所手续费设置值
  7217. type: number
  7218. openfeealgorithm:
  7219. description: 建仓手续费收取方式 1:比率 2:固定
  7220. type: integer
  7221. openfreezecharge:
  7222. description: 开仓冻结手续费(先建后平操作,需要记录)
  7223. type: number
  7224. openmemberchargevalue:
  7225. description: 建仓会员手续费设置值
  7226. type: number
  7227. openqty:
  7228. description: 开仓数量(先建后平操作,需要记录)
  7229. type: integer
  7230. opentradeqty:
  7231. description: 开仓成交数量(先建后平操作,需要记录)
  7232. type: integer
  7233. openunfreezecharge:
  7234. description: 开仓解冻手续费(先建后平操作,需要记录)
  7235. type: number
  7236. operatetype:
  7237. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7238. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7239. 15:管理端协议转让
  7240. type: integer
  7241. operatorid:
  7242. description: 登录账号(LoginID)
  7243. type: integer
  7244. optiontype:
  7245. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7246. type: integer
  7247. orderid:
  7248. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7249. type: string
  7250. orderprice:
  7251. description: 委托价格
  7252. type: number
  7253. orderqty:
  7254. description: 委托数量
  7255. type: integer
  7256. ordersrc:
  7257. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7258. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7259. type: integer
  7260. orderstatus:
  7261. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7262. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7263. 16:成交失败违约(荷兰式竞拍专用)
  7264. type: integer
  7265. ordertime:
  7266. description: 委托时间
  7267. type: string
  7268. preexerciseprice:
  7269. description: 预申报价格
  7270. type: number
  7271. premium:
  7272. description: 权利金
  7273. type: number
  7274. preorderid:
  7275. description: 关联预埋单号(止盈止损单时填写)
  7276. type: string
  7277. pricemode:
  7278. description: '取价方式 - 1:市价 2: 限价'
  7279. type: integer
  7280. quoteid:
  7281. description: 报价单ID
  7282. type: integer
  7283. relatedid:
  7284. description: 关联单号(交割单)
  7285. type: string
  7286. retcode:
  7287. description: 错误代码
  7288. type: integer
  7289. sessionid:
  7290. description: 会话ID
  7291. type: integer
  7292. tradedate:
  7293. description: 交易日(yyyyMMdd)
  7294. type: string
  7295. trademode:
  7296. description: 交易模式
  7297. type: integer
  7298. tradeproperty:
  7299. description: 交易属性
  7300. type: integer
  7301. tradeqty:
  7302. description: 成交数量
  7303. type: integer
  7304. unfreezecharge:
  7305. description: 解冻手续费
  7306. type: number
  7307. unfreezemargin:
  7308. description: 解冻保证金
  7309. type: number
  7310. updatetime:
  7311. description: 更新时间
  7312. type: string
  7313. uuid:
  7314. description: 发起端唯一id
  7315. type: string
  7316. validtime:
  7317. description: 有效期限
  7318. type: string
  7319. validtype:
  7320. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7321. type: integer
  7322. volumetype:
  7323. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7324. type: integer
  7325. required:
  7326. - accountid
  7327. - buildtype
  7328. - buyorsell
  7329. - goodsid
  7330. - histradedate
  7331. - marketid
  7332. - memberuserid
  7333. - operatetype
  7334. - orderid
  7335. - orderqty
  7336. - ordertime
  7337. - pricemode
  7338. - tradedate
  7339. - validtype
  7340. type: object
  7341. order.QueryTradeDetailRsp:
  7342. properties:
  7343. accountid:
  7344. description: 账户ID[报价币种]
  7345. type: integer
  7346. buildtype:
  7347. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  7348. type: integer
  7349. buyorsell:
  7350. description: 方向 - 0:买 1:卖
  7351. type: integer
  7352. charge:
  7353. description: 手续费
  7354. type: number
  7355. closecharge:
  7356. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7357. type: number
  7358. closeexchagechargevalue:
  7359. description: 平仓交易所手续费设置值
  7360. type: number
  7361. closefeealgorithm:
  7362. description: 平仓手续费收取方式 1:比率 2:固定
  7363. type: integer
  7364. closememberchargevalue:
  7365. description: 平仓会员手续费设置值
  7366. type: number
  7367. closepl:
  7368. description: 平仓盈亏
  7369. type: number
  7370. closepl2:
  7371. description: 平仓盈亏[逐笔]
  7372. type: number
  7373. closeqty:
  7374. description: 平仓数量(先建后平操作 需要记录)
  7375. type: integer
  7376. creditamount:
  7377. description: 授信金额
  7378. type: number
  7379. gcaccountid:
  7380. description: 账户ID[合约币种]
  7381. type: integer
  7382. goodscode:
  7383. description: 商品代码
  7384. type: string
  7385. goodsid:
  7386. description: 商品ID
  7387. type: integer
  7388. goodsname:
  7389. description: 商品名称
  7390. type: string
  7391. intclosepl:
  7392. description: 整型盈亏(用于交易结算试算平衡-收益权)
  7393. type: integer
  7394. isconfirmexercise:
  7395. description: 是否确认行权- 0:否 1:是
  7396. type: integer
  7397. ismain:
  7398. description: 是否主单 - 0:不是 1:是
  7399. type: integer
  7400. ispreexercise:
  7401. description: 是否预申报- 0:否 1:是
  7402. type: integer
  7403. isreckoned:
  7404. description: 是否结算 - 0:未结算 1:已结算
  7405. type: integer
  7406. listingselecttype:
  7407. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7408. type: integer
  7409. marketid:
  7410. description: 市场ID
  7411. type: integer
  7412. marketname:
  7413. description: 市场名称
  7414. type: string
  7415. matchaccountid:
  7416. description: 对手账号id
  7417. type: integer
  7418. memberuserid:
  7419. description: 会员id 个人投资者 需要填写
  7420. type: integer
  7421. opencharge:
  7422. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  7423. type: number
  7424. openexchagechargevalue:
  7425. description: 建仓交易所手续费设置值
  7426. type: number
  7427. openfeealgorithm:
  7428. description: 建仓手续费收取方式 1:比率 2:固定
  7429. type: integer
  7430. openmemberchargevalue:
  7431. description: 建仓会员手续费设置值
  7432. type: number
  7433. openqty:
  7434. description: 开仓数量(先建后平操作 需要记录)
  7435. type: integer
  7436. optiontype:
  7437. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  7438. type: integer
  7439. orderid:
  7440. description: 委托单号
  7441. type: string
  7442. performanceplanid:
  7443. description: 履约计划ID[期权]
  7444. type: integer
  7445. performancestatus:
  7446. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  7447. type: integer
  7448. preexerciseprice:
  7449. description: 预申报价格
  7450. type: number
  7451. premium:
  7452. description: 权利金 - [持仓单的权利金]
  7453. type: number
  7454. relatedouttradeid:
  7455. description: 关联外部成交单ID
  7456. type: integer
  7457. status:
  7458. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  7459. type: integer
  7460. tradeamount:
  7461. description: 成交金额[账户币种,用于所有权]
  7462. type: number
  7463. tradedate:
  7464. description: 交易日(yyyyMMdd)
  7465. type: string
  7466. tradeid:
  7467. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7468. type: string
  7469. trademode:
  7470. description: 交易模式
  7471. type: integer
  7472. tradeprice:
  7473. description: 成交价格
  7474. type: number
  7475. tradeproperty:
  7476. description: 交易属性
  7477. type: integer
  7478. tradeqty:
  7479. description: 成交数量
  7480. type: integer
  7481. tradetime:
  7482. description: 成交时间
  7483. type: string
  7484. tradetype:
  7485. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  7486. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  7487. type: integer
  7488. required:
  7489. - accountid
  7490. - buyorsell
  7491. - goodsid
  7492. - marketid
  7493. - memberuserid
  7494. - orderid
  7495. - tradeamount
  7496. - tradedate
  7497. - tradeid
  7498. - tradeprice
  7499. - tradeqty
  7500. - tradetime
  7501. type: object
  7502. order.QueryTradeOrderDetailRsp:
  7503. properties:
  7504. accountid:
  7505. description: 账户ID[报价币种]
  7506. type: integer
  7507. buildtype:
  7508. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  7509. type: integer
  7510. buyorsell:
  7511. description: 买卖 - 0:买 1:卖
  7512. type: integer
  7513. cancelorderid:
  7514. description: 撤单单号(撤单时填写)
  7515. type: string
  7516. cancelqty:
  7517. description: 撤单数量
  7518. type: integer
  7519. clienttype:
  7520. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  7521. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  7522. type: integer
  7523. closefreezecharge:
  7524. description: 平仓冻结手续费(先建后平操作,需要记录)
  7525. type: number
  7526. closeqty:
  7527. description: 平仓数量(先建后平操作 需要记录)
  7528. type: integer
  7529. closetradeqty:
  7530. description: 平仓成交数量(先建后平操作,需要记录)
  7531. type: integer
  7532. closeunfreezecharge:
  7533. description: 平仓解冻手续费(先建后平操作,需要记录)
  7534. type: number
  7535. delistingtype:
  7536. description: 摘牌类型 - 1:价格最优 2:点选成交
  7537. type: integer
  7538. enableqty:
  7539. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  7540. type: integer
  7541. freezecharge:
  7542. description: 冻结手续费
  7543. type: number
  7544. freezemargin:
  7545. description: 冻结保证金(冻结交易金额)
  7546. type: number
  7547. goodscode:
  7548. description: 商品代码
  7549. type: string
  7550. goodsid:
  7551. description: 商品ID
  7552. type: integer
  7553. goodsname:
  7554. description: 商品名称
  7555. type: string
  7556. listingselecttype:
  7557. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  7558. type: integer
  7559. marketid:
  7560. description: 市场ID
  7561. type: integer
  7562. marketname:
  7563. description: 市场名称
  7564. type: string
  7565. openfreezecharge:
  7566. description: 开仓冻结手续费(先建后平操作,需要记录)
  7567. type: number
  7568. openqty:
  7569. description: 开仓数量(先建后平操作,需要记录)
  7570. type: integer
  7571. opentradeqty:
  7572. description: 开仓成交数量(先建后平操作,需要记录)
  7573. type: integer
  7574. openunfreezecharge:
  7575. description: 开仓解冻手续费(先建后平操作,需要记录)
  7576. type: number
  7577. operatetype:
  7578. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  7579. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  7580. 15:管理端协议转让
  7581. type: integer
  7582. operatorid:
  7583. description: 登录账号(LoginID)
  7584. type: integer
  7585. orderid:
  7586. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7587. type: string
  7588. orderprice:
  7589. description: 委托价格
  7590. type: number
  7591. orderqty:
  7592. description: 委托数量
  7593. type: integer
  7594. ordersrc:
  7595. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  7596. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  7597. type: integer
  7598. orderstatus:
  7599. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7600. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7601. 16:成交失败违约(荷兰式竞拍专用)
  7602. type: integer
  7603. ordertime:
  7604. description: 委托时间
  7605. type: string
  7606. preorderid:
  7607. description: 关联预埋单号(止盈止损单时填写)
  7608. type: string
  7609. pricemode:
  7610. description: '取价方式 - 1:市价 2: 限价'
  7611. type: integer
  7612. relatedid:
  7613. description: 关联单号(交割单)
  7614. type: string
  7615. tradedate:
  7616. description: 交易日(yyyyMMdd)
  7617. type: string
  7618. trademode:
  7619. description: 交易模式
  7620. type: integer
  7621. tradeqty:
  7622. description: 成交数量
  7623. type: integer
  7624. unfreezecharge:
  7625. description: 解冻手续费
  7626. type: number
  7627. unfreezemargin:
  7628. description: 解冻保证金
  7629. type: number
  7630. validtime:
  7631. description: 有效期限
  7632. type: string
  7633. validtype:
  7634. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  7635. type: integer
  7636. volumetype:
  7637. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  7638. type: integer
  7639. required:
  7640. - accountid
  7641. - buildtype
  7642. - buyorsell
  7643. - goodsid
  7644. - marketid
  7645. - operatetype
  7646. - orderqty
  7647. - ordertime
  7648. - pricemode
  7649. - tradedate
  7650. - validtype
  7651. type: object
  7652. order.QueryTradePositionRsp:
  7653. properties:
  7654. accountid:
  7655. description: 资金账户
  7656. type: integer
  7657. agreeunit:
  7658. description: 合约单位
  7659. type: number
  7660. averageprice:
  7661. description: 持仓均价
  7662. type: number
  7663. buyorsell:
  7664. description: 方向 - 0:买 1:卖
  7665. type: integer
  7666. closetotalqty:
  7667. description: 平仓总数量
  7668. type: integer
  7669. curholderamount:
  7670. description: 当前持仓总金额[商品币种]
  7671. type: number
  7672. curpositionqty:
  7673. description: 当前持仓总数量
  7674. type: integer
  7675. currencyid:
  7676. description: 报价货币ID
  7677. type: integer
  7678. curtdposition:
  7679. description: 期末今日头寸
  7680. type: integer
  7681. decimalplace:
  7682. description: 报价小数位
  7683. type: integer
  7684. enableqty:
  7685. description: 可用量
  7686. type: integer
  7687. fretdposition:
  7688. description: 冻结今日头寸
  7689. type: integer
  7690. frozenqty:
  7691. description: 持仓冻结数量
  7692. type: integer
  7693. goodscode:
  7694. description: 商品代码
  7695. type: string
  7696. goodsid:
  7697. description: 商品Id
  7698. type: integer
  7699. goodsname:
  7700. description: 商品名称
  7701. type: string
  7702. goodunit:
  7703. description: 报价单位
  7704. type: string
  7705. goodunitid:
  7706. description: 报价单位ID
  7707. type: integer
  7708. holderamount:
  7709. description: 期初持仓总金额[商品币种]
  7710. type: number
  7711. marketid:
  7712. description: 所属市场ID
  7713. type: integer
  7714. openreqqty:
  7715. description: 开仓申请数量(用于比较最大持仓数量)
  7716. type: integer
  7717. opentotalqty:
  7718. description: 开仓总数量
  7719. type: integer
  7720. otherfrozenqty:
  7721. description: 持仓其他冻结数量(交割冻结)
  7722. type: integer
  7723. positionqty:
  7724. description: 期初持仓数量
  7725. type: integer
  7726. tnqty:
  7727. description: T+N冻结总量
  7728. type: integer
  7729. tnusedqty:
  7730. description: T+N使用量(可以使用T+N的冻结数量)
  7731. type: integer
  7732. trademode:
  7733. description: 交易模式
  7734. type: integer
  7735. usedmargin:
  7736. description: 占用保证金[商品币种]
  7737. type: number
  7738. required:
  7739. - goodsid
  7740. type: object
  7741. quote.HistoryData:
  7742. properties:
  7743. c:
  7744. description: 收盘价
  7745. type: number
  7746. f:
  7747. description: 是否补充数据
  7748. type: boolean
  7749. h:
  7750. description: 最高价
  7751. type: number
  7752. hv:
  7753. description: 持仓量
  7754. type: integer
  7755. l:
  7756. description: 最低价
  7757. type: number
  7758. o:
  7759. description: 开盘价
  7760. type: number
  7761. s:
  7762. description: 结算价,日线周期(包括)以上才有
  7763. type: number
  7764. ts:
  7765. description: 时间
  7766. type: string
  7767. tt:
  7768. description: 总金额
  7769. type: number
  7770. tv:
  7771. description: 总量
  7772. type: integer
  7773. type: object
  7774. quote.QueryTSDataRsp:
  7775. properties:
  7776. decimalPlace:
  7777. description: 小数位
  7778. type: integer
  7779. endTime:
  7780. description: 结束时间
  7781. type: string
  7782. goodsCode:
  7783. description: 商品代码
  7784. type: string
  7785. historyDatas:
  7786. description: 历史数据
  7787. items:
  7788. $ref: '#/definitions/quote.HistoryData'
  7789. type: array
  7790. outGoodsCode:
  7791. description: 外部商品代码
  7792. type: string
  7793. preSettle:
  7794. description: 昨结
  7795. type: number
  7796. startTime:
  7797. description: 开始时间
  7798. type: string
  7799. tradeDate:
  7800. description: 交易日
  7801. type: string
  7802. type: object
  7803. szdz.QueryConvertLogRsp:
  7804. properties:
  7805. accountid:
  7806. description: 资金账户ID
  7807. type: integer
  7808. clientticket:
  7809. description: 客户端流水号
  7810. type: string
  7811. converttype:
  7812. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  7813. type: integer
  7814. createtime:
  7815. description: 记账时间
  7816. type: string
  7817. daymaxvalue:
  7818. description: 配置当日最大转入限制
  7819. type: number
  7820. daymaxvalue2:
  7821. description: 配置当日最大转入限制(转入)
  7822. type: number
  7823. goodscode:
  7824. description: 商品代码
  7825. type: string
  7826. goodsname:
  7827. description: 商品名称
  7828. type: string
  7829. handlestatus:
  7830. description: 处理状态
  7831. type: integer
  7832. innergoodsid:
  7833. description: 内部商品ID
  7834. type: integer
  7835. inratio:
  7836. description: 配置转入比值
  7837. type: integer
  7838. invalue:
  7839. description: 目标值
  7840. type: number
  7841. logid:
  7842. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7843. type: integer
  7844. mobile:
  7845. description: 手机号码(加密存储)
  7846. type: string
  7847. outergoodscode:
  7848. description: 外部商品代码[JD\PD]
  7849. type: string
  7850. outratio:
  7851. description: 配置转出比值
  7852. type: integer
  7853. outvalue:
  7854. description: 源值
  7855. type: number
  7856. pddecimalplace:
  7857. description: PD小数位
  7858. type: integer
  7859. qty:
  7860. description: 数量
  7861. type: string
  7862. remark:
  7863. description: 备注
  7864. type: string
  7865. sessionid:
  7866. description: 会话ID
  7867. type: integer
  7868. timemaxvalue:
  7869. description: 配置单次最大转入限制
  7870. type: number
  7871. timemaxvalue2:
  7872. description: 配置单次最大转入限制(转入)
  7873. type: number
  7874. timeminvalue:
  7875. description: 配置单次最小数量限制
  7876. type: number
  7877. timeminvalue2:
  7878. description: 配置单次最小数量限制(转入)
  7879. type: number
  7880. tradedate:
  7881. description: 交易日(yyyyMMdd)
  7882. type: string
  7883. userid:
  7884. description: 用户ID
  7885. type: integer
  7886. required:
  7887. - logid
  7888. type: object
  7889. szdz.QueryGoodsPickupRsp:
  7890. properties:
  7891. accountid:
  7892. description: 账户ID
  7893. type: integer
  7894. address:
  7895. description: 提货人详细地址
  7896. type: string
  7897. auditer:
  7898. description: 审核人
  7899. type: integer
  7900. audittime:
  7901. description: 审核时间
  7902. type: string
  7903. cardnum:
  7904. description: 提货人证件号码
  7905. type: string
  7906. cardtypeid:
  7907. description: 提货人证件类型
  7908. type: integer
  7909. checkremark:
  7910. description: 审核备注
  7911. type: string
  7912. goodscode:
  7913. description: 商品代码
  7914. type: string
  7915. goodsid:
  7916. description: 商品ID
  7917. type: integer
  7918. goodsname:
  7919. description: 商品名称
  7920. type: string
  7921. handlestatus:
  7922. description: 处理状态
  7923. type: integer
  7924. marketid:
  7925. description: 市场ID
  7926. type: integer
  7927. phonenum:
  7928. description: 提货人联系方式
  7929. type: string
  7930. qty:
  7931. description: 提货数量
  7932. type: number
  7933. recivername:
  7934. description: 提货人姓名
  7935. type: string
  7936. reqtime:
  7937. description: 更新时间
  7938. type: string
  7939. takemode:
  7940. description: 提货方式 - 2:自提 3:配送
  7941. type: integer
  7942. takeorderid:
  7943. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  7944. type: string
  7945. takeorderstatus:
  7946. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  7947. type: integer
  7948. takeremark:
  7949. description: 提货备注
  7950. type: string
  7951. tradedate:
  7952. description: 交易日(yyyyMMdd)
  7953. type: string
  7954. userid:
  7955. description: 用户ID
  7956. type: integer
  7957. required:
  7958. - takeorderid
  7959. type: object
  7960. szdz.QueryRecieptOrderRsp:
  7961. properties:
  7962. accountName:
  7963. description: 所属账号名称(已脱敏)
  7964. type: string
  7965. accountid:
  7966. description: 资金账号
  7967. type: integer
  7968. buyorsell:
  7969. description: 方向 - 0:买 1:卖
  7970. type: integer
  7971. enableqty:
  7972. description: 可摘数量
  7973. type: integer
  7974. goodscode:
  7975. description: 商品代码
  7976. type: string
  7977. goodsid:
  7978. description: 商品ID
  7979. type: integer
  7980. goodsname:
  7981. description: 商品名称
  7982. type: string
  7983. orderid:
  7984. description: 委托单号
  7985. type: string
  7986. orderprice:
  7987. description: 委托价格
  7988. type: number
  7989. ordertime:
  7990. description: 委托时间
  7991. type: string
  7992. tradedate:
  7993. description: 交易日(yyyyMMdd)
  7994. type: string
  7995. required:
  7996. - ordertime
  7997. type: object
  7998. szdz.QuerySZDZTradePositionRsp:
  7999. properties:
  8000. accountid:
  8001. description: 账号Id
  8002. type: integer
  8003. agreeunit:
  8004. description: 合约单位
  8005. type: number
  8006. averageprice:
  8007. description: 持仓均价
  8008. type: number
  8009. buyorsell:
  8010. description: 方向 - 0:买 1:卖
  8011. type: integer
  8012. closetotalqty:
  8013. description: 平仓总数量
  8014. type: integer
  8015. curholderamount:
  8016. description: 当前持仓总金额
  8017. type: number
  8018. curpositionqty:
  8019. description: 当前持仓总数量
  8020. type: integer
  8021. currencyid:
  8022. description: 报价货币ID
  8023. type: integer
  8024. curtdposition:
  8025. description: 期末今日头寸
  8026. type: integer
  8027. decimalplace:
  8028. description: 报价小数位
  8029. type: integer
  8030. enableqty:
  8031. description: 可用量
  8032. type: integer
  8033. fretdposition:
  8034. description: 冻结今日头寸
  8035. type: integer
  8036. frozenqty:
  8037. description: 持仓冻结数量
  8038. type: integer
  8039. goodscode:
  8040. description: 商品代码(内部)
  8041. type: string
  8042. goodsid:
  8043. description: 商品Id
  8044. type: integer
  8045. goodsname:
  8046. description: 商品名称
  8047. type: string
  8048. goodunit:
  8049. description: 报价单位
  8050. type: string
  8051. goodunitid:
  8052. description: 报价单位ID
  8053. type: integer
  8054. holderamount:
  8055. description: 期初持仓总金额
  8056. type: number
  8057. marketid:
  8058. description: 市场ID
  8059. type: integer
  8060. openreqqty:
  8061. description: 开仓申请数量
  8062. type: integer
  8063. opentotalqty:
  8064. description: 开仓总数量
  8065. type: integer
  8066. otherfrozenqty:
  8067. description: 持仓其他冻结数量(交割冻结)
  8068. type: integer
  8069. positionqty:
  8070. description: 期初持仓数量
  8071. type: integer
  8072. szdz3freezqty:
  8073. description: 尚志大宗转换冻结总数量
  8074. type: integer
  8075. tnqty:
  8076. description: T+N冻结总量
  8077. type: integer
  8078. tnusedqty:
  8079. description: T+N使用量
  8080. type: integer
  8081. trademode:
  8082. description: 交易模式
  8083. type: integer
  8084. usedmargin:
  8085. description: 占用保证金
  8086. type: number
  8087. type: object
  8088. taaccount.QueryAmountLogRsp:
  8089. properties:
  8090. OPERATETYPENAME:
  8091. description: 资金操作类型名称
  8092. type: string
  8093. accountid:
  8094. description: 资金账户ID
  8095. type: integer
  8096. agoodscode:
  8097. description: 竞拍商品代码
  8098. type: string
  8099. agoodsname:
  8100. description: 竞拍商品名称
  8101. type: string
  8102. amount:
  8103. description: 资金金额
  8104. type: number
  8105. amountadjusttype:
  8106. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8107. type: integer
  8108. autoid:
  8109. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8110. type: integer
  8111. balance:
  8112. description: 期初余额
  8113. type: number
  8114. businesscode:
  8115. description: 业务编号
  8116. type: integer
  8117. createtime:
  8118. description: 发生时间
  8119. type: string
  8120. currencyid:
  8121. description: 币种ID
  8122. type: integer
  8123. currentbalance:
  8124. description: 期末余额(变动后金额)
  8125. type: number
  8126. dgoodscode:
  8127. description: 交割商品代码
  8128. type: string
  8129. dgoodsname:
  8130. description: 交割商品名称
  8131. type: string
  8132. goodscode:
  8133. description: 商品代码
  8134. type: string
  8135. goodsid:
  8136. description: 商品ID
  8137. type: integer
  8138. goodsname:
  8139. description: 商品名称
  8140. type: string
  8141. marketid:
  8142. description: 市场ID
  8143. type: integer
  8144. marketname:
  8145. description: 市场名称
  8146. type: string
  8147. moneyticket:
  8148. description: 资金流水号:银行端流水号
  8149. type: integer
  8150. operatetype:
  8151. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  8152. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  8153. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  8154. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  8155. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  8156. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  8157. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  8158. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  8159. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  8160. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  8161. type: integer
  8162. relationorderid:
  8163. description: 关联单号
  8164. type: string
  8165. remark:
  8166. description: 备注
  8167. type: string
  8168. trademode:
  8169. description: 交易模式
  8170. type: integer
  8171. required:
  8172. - accountid
  8173. - amount
  8174. - amountadjusttype
  8175. - autoid
  8176. - balance
  8177. - createtime
  8178. - currentbalance
  8179. - operatetype
  8180. type: object
  8181. taaccount.QueryHisAmountLogRsp:
  8182. properties:
  8183. OPERATETYPENAME:
  8184. description: 资金操作类型名称
  8185. type: string
  8186. accountid:
  8187. description: 资金账户ID
  8188. type: integer
  8189. agoodscode:
  8190. description: 竞拍商品代码
  8191. type: string
  8192. agoodsname:
  8193. description: 竞拍商品名称
  8194. type: string
  8195. amount:
  8196. description: 资金金额
  8197. type: number
  8198. amountadjusttype:
  8199. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  8200. type: integer
  8201. autoid:
  8202. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  8203. type: integer
  8204. balance:
  8205. description: 期初余额
  8206. type: number
  8207. businesscode:
  8208. description: 业务编号
  8209. type: integer
  8210. createtime:
  8211. description: 发生时间
  8212. type: string
  8213. currencyid:
  8214. description: 币种ID
  8215. type: integer
  8216. currentbalance:
  8217. description: 期末余额(变动后金额)
  8218. type: number
  8219. dgoodscode:
  8220. description: 交割商品代码
  8221. type: string
  8222. dgoodsname:
  8223. description: 交割商品名称
  8224. type: string
  8225. goodscode:
  8226. description: 商品代码
  8227. type: string
  8228. goodsid:
  8229. description: 商品ID
  8230. type: integer
  8231. goodsname:
  8232. description: 商品名称
  8233. type: string
  8234. histradedate:
  8235. description: 历史交易日
  8236. type: string
  8237. isvaliddata:
  8238. description: 是否有效 - 0:无效 1:有效
  8239. type: integer
  8240. marketid:
  8241. description: 市场ID
  8242. type: integer
  8243. marketname:
  8244. description: 市场名称
  8245. type: string
  8246. moneyticket:
  8247. description: 资金流水号:银行端流水号
  8248. type: integer
  8249. operatetype:
  8250. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  8251. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  8252. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  8253. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  8254. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  8255. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  8256. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  8257. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  8258. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  8259. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  8260. type: integer
  8261. relationorderid:
  8262. description: 关联单号
  8263. type: string
  8264. remark:
  8265. description: 备注
  8266. type: string
  8267. trademode:
  8268. description: 交易模式
  8269. type: integer
  8270. required:
  8271. - accountid
  8272. - amount
  8273. - amountadjusttype
  8274. - autoid
  8275. - balance
  8276. - createtime
  8277. - currentbalance
  8278. - histradedate
  8279. - operatetype
  8280. type: object
  8281. trade.QueryRecieptOrderRsp:
  8282. properties:
  8283. accountName:
  8284. description: 所属账号名称(已脱敏)
  8285. type: string
  8286. accountid:
  8287. description: 资金账号
  8288. type: integer
  8289. buyorsell:
  8290. description: 方向 - 0:买 1:卖
  8291. type: integer
  8292. enableqty:
  8293. description: 可摘数量
  8294. type: integer
  8295. goodscode:
  8296. description: 商品代码
  8297. type: string
  8298. goodsid:
  8299. description: 商品ID
  8300. type: integer
  8301. goodsname:
  8302. description: 商品名称
  8303. type: string
  8304. orderid:
  8305. description: 委托单号
  8306. type: string
  8307. orderprice:
  8308. description: 委托价格
  8309. type: number
  8310. ordertime:
  8311. description: 委托时间
  8312. type: string
  8313. tradedate:
  8314. description: 交易日(yyyyMMdd)
  8315. type: string
  8316. required:
  8317. - ordertime
  8318. type: object
  8319. info:
  8320. contact: {}
  8321. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  8322. termsOfService: http://muchinfo.cn
  8323. title: MTP2.0 查询服务 API
  8324. version: "1.0"
  8325. paths:
  8326. /CPTrade/QueryCPTradeMyBidInfos:
  8327. get:
  8328. parameters:
  8329. - description: 资金账户
  8330. in: query
  8331. name: accountid
  8332. required: true
  8333. type: integer
  8334. - description: 预售市场ID
  8335. in: query
  8336. name: marketid
  8337. type: integer
  8338. - description: 预售商品ID
  8339. in: query
  8340. name: goodsid
  8341. type: integer
  8342. produces:
  8343. - application/json
  8344. responses:
  8345. "200":
  8346. description: OK
  8347. schema:
  8348. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  8349. "500":
  8350. description: Internal Server Error
  8351. schema:
  8352. $ref: '#/definitions/app.Response'
  8353. security:
  8354. - ApiKeyAuth: []
  8355. summary: 查询产能预售我的出价信息
  8356. tags:
  8357. - 产能预售
  8358. /CPTrade/QueryCPTradeOrderDetail:
  8359. get:
  8360. parameters:
  8361. - description: 预售商品ID
  8362. in: query
  8363. name: goodsid
  8364. type: integer
  8365. - description: 预售市场ID
  8366. in: query
  8367. name: marketid
  8368. type: integer
  8369. - description: 预售商品ID列表 - 格式:1,2,3
  8370. in: query
  8371. name: goodsids
  8372. type: string
  8373. produces:
  8374. - application/json
  8375. responses:
  8376. "200":
  8377. description: OK
  8378. schema:
  8379. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  8380. "500":
  8381. description: Internal Server Error
  8382. schema:
  8383. $ref: '#/definitions/app.Response'
  8384. security:
  8385. - ApiKeyAuth: []
  8386. summary: 查询产能预售委托单信息
  8387. tags:
  8388. - 产能预售
  8389. /CPTrade/QueryMyCPTradeGoods:
  8390. get:
  8391. parameters:
  8392. - description: 资金账户
  8393. in: query
  8394. name: accountid
  8395. required: true
  8396. type: integer
  8397. produces:
  8398. - application/json
  8399. responses:
  8400. "200":
  8401. description: OK
  8402. schema:
  8403. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  8404. "500":
  8405. description: Internal Server Error
  8406. schema:
  8407. $ref: '#/definitions/app.Response'
  8408. security:
  8409. - ApiKeyAuth: []
  8410. summary: 查询我的预售信息
  8411. tags:
  8412. - 产能预售
  8413. /CPTrade/QueryPositionCancel:
  8414. get:
  8415. parameters:
  8416. - description: 账户ID
  8417. in: query
  8418. name: userid
  8419. required: true
  8420. type: integer
  8421. - description: 注销ID
  8422. in: query
  8423. name: cancelid
  8424. type: integer
  8425. - description: 资金账户ID
  8426. in: query
  8427. name: accountid
  8428. type: integer
  8429. produces:
  8430. - application/json
  8431. responses:
  8432. "200":
  8433. description: OK
  8434. schema:
  8435. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  8436. "500":
  8437. description: Internal Server Error
  8438. schema:
  8439. $ref: '#/definitions/app.Response'
  8440. security:
  8441. - ApiKeyAuth: []
  8442. summary: 查询远期订单注销申请信息
  8443. tags:
  8444. - 产能预售
  8445. /CPTrade/QueryPreasleApply:
  8446. get:
  8447. parameters:
  8448. - description: 账户ID
  8449. in: query
  8450. name: userid
  8451. required: true
  8452. type: integer
  8453. - description: 申请ID
  8454. in: query
  8455. name: applyid
  8456. type: integer
  8457. - description: 资金账户ID
  8458. in: query
  8459. name: accountid
  8460. type: integer
  8461. produces:
  8462. - application/json
  8463. responses:
  8464. "200":
  8465. description: OK
  8466. schema:
  8467. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  8468. "500":
  8469. description: Internal Server Error
  8470. schema:
  8471. $ref: '#/definitions/app.Response'
  8472. security:
  8473. - ApiKeyAuth: []
  8474. summary: 查询产能预售申请信息
  8475. tags:
  8476. - 产能预售
  8477. /CPTrade/QueryPresaleGoodsEx:
  8478. get:
  8479. parameters:
  8480. - description: 预售商品ID
  8481. in: query
  8482. name: goodsid
  8483. type: integer
  8484. - description: 预售市场ID
  8485. in: query
  8486. name: marketid
  8487. type: integer
  8488. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  8489. in: query
  8490. name: presalemode
  8491. type: integer
  8492. - description: 预售商品ID列表 - 格式:1,2,3
  8493. in: query
  8494. name: goodsids
  8495. type: string
  8496. - description: 预售商品代码
  8497. in: query
  8498. name: goodscode
  8499. type: string
  8500. produces:
  8501. - application/json
  8502. responses:
  8503. "200":
  8504. description: OK
  8505. schema:
  8506. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  8507. "500":
  8508. description: Internal Server Error
  8509. schema:
  8510. $ref: '#/definitions/app.Response'
  8511. security:
  8512. - ApiKeyAuth: []
  8513. summary: 查询产能预售商品扩展信息
  8514. tags:
  8515. - 产能预售
  8516. /CPTrade/QueryUserGoodsData:
  8517. get:
  8518. parameters:
  8519. - description: 资金账户ID
  8520. in: query
  8521. name: accountid
  8522. required: true
  8523. type: integer
  8524. produces:
  8525. - application/json
  8526. responses:
  8527. "200":
  8528. description: OK
  8529. schema:
  8530. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  8531. "500":
  8532. description: Internal Server Error
  8533. schema:
  8534. $ref: '#/definitions/app.Response'
  8535. security:
  8536. - ApiKeyAuth: []
  8537. summary: 查询远期订单信息
  8538. tags:
  8539. - 产能预售
  8540. /Common/GetAllEnums:
  8541. get:
  8542. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  8543. parameters:
  8544. - description: 起始自增ID
  8545. in: query
  8546. name: autoid
  8547. type: integer
  8548. produces:
  8549. - application/json
  8550. responses:
  8551. "200":
  8552. description: OK
  8553. schema:
  8554. $ref: '#/definitions/models.Enumdicitem'
  8555. "500":
  8556. description: Internal Server Error
  8557. schema:
  8558. $ref: '#/definitions/app.Response'
  8559. summary: 获取所有枚举信息
  8560. tags:
  8561. - 通用服务
  8562. /Common/GetDivisions:
  8563. get:
  8564. produces:
  8565. - application/json
  8566. responses:
  8567. "200":
  8568. description: OK
  8569. schema:
  8570. $ref: '#/definitions/models.Division'
  8571. "500":
  8572. description: Internal Server Error
  8573. schema:
  8574. $ref: '#/definitions/app.Response'
  8575. summary: 查询区域信息
  8576. tags:
  8577. - 通用服务
  8578. /Common/GetServerTime:
  8579. get:
  8580. produces:
  8581. - application/json
  8582. responses:
  8583. "200":
  8584. description: OK
  8585. schema:
  8586. $ref: '#/definitions/app.Response'
  8587. "500":
  8588. description: Internal Server Error
  8589. schema:
  8590. $ref: '#/definitions/app.Response'
  8591. summary: 获取服务器时间
  8592. tags:
  8593. - 通用服务
  8594. /Common/NoticeReaded:
  8595. post:
  8596. parameters:
  8597. - description: 登录账号
  8598. in: query
  8599. name: loginID
  8600. required: true
  8601. type: integer
  8602. - description: 通知公告ID
  8603. in: query
  8604. name: noticeID
  8605. required: true
  8606. type: integer
  8607. produces:
  8608. - application/json
  8609. responses:
  8610. "200":
  8611. description: OK
  8612. schema:
  8613. $ref: '#/definitions/app.Response'
  8614. "500":
  8615. description: Internal Server Error
  8616. schema:
  8617. $ref: '#/definitions/app.Response'
  8618. security:
  8619. - ApiKeyAuth: []
  8620. summary: 通知公告设置已读请求
  8621. tags:
  8622. - 通用服务
  8623. /Common/QueryErrorInfos:
  8624. get:
  8625. description: 如果传入rowNumber,则返回此rowNumber后的数据
  8626. parameters:
  8627. - description: 起始行号前索引
  8628. in: query
  8629. name: rowNumber
  8630. type: string
  8631. produces:
  8632. - application/json
  8633. responses:
  8634. "200":
  8635. description: OK
  8636. schema:
  8637. $ref: '#/definitions/models.QueryErrorInfosRsp'
  8638. "500":
  8639. description: Internal Server Error
  8640. schema:
  8641. $ref: '#/definitions/app.Response'
  8642. summary: 获取数据库错误信息
  8643. tags:
  8644. - 通用服务
  8645. /Common/QueryImageConfigs:
  8646. get:
  8647. parameters:
  8648. - description: 类型 - 1:App首页轮播 2:我的
  8649. in: query
  8650. name: imageType
  8651. type: integer
  8652. produces:
  8653. - application/json
  8654. responses:
  8655. "200":
  8656. description: OK
  8657. schema:
  8658. $ref: '#/definitions/models.Szdz2imageconfig'
  8659. "500":
  8660. description: Internal Server Error
  8661. schema:
  8662. $ref: '#/definitions/app.Response'
  8663. summary: 查询轮播图配置信息
  8664. tags:
  8665. - 通用服务
  8666. /Common/QueryNotice:
  8667. get:
  8668. parameters:
  8669. - description: 页码
  8670. in: query
  8671. name: page
  8672. type: integer
  8673. - description: 每页条数
  8674. in: query
  8675. name: pagesize
  8676. type: integer
  8677. - description: 登录账号
  8678. in: query
  8679. name: loginID
  8680. required: true
  8681. type: integer
  8682. - description: 消息类型 - 1:公告通知 2:系统消息
  8683. in: query
  8684. name: msgType
  8685. type: integer
  8686. - description: 是否只获取未读信息
  8687. in: query
  8688. name: onlyUnRead
  8689. type: boolean
  8690. produces:
  8691. - application/json
  8692. responses:
  8693. "200":
  8694. description: OK
  8695. schema:
  8696. $ref: '#/definitions/common.QueryNoticeRsp'
  8697. "500":
  8698. description: Internal Server Error
  8699. schema:
  8700. $ref: '#/definitions/app.Response'
  8701. security:
  8702. - ApiKeyAuth: []
  8703. summary: 通知公告系统消息查询
  8704. tags:
  8705. - 通用服务
  8706. /Common/QueryProvincesAndCities:
  8707. get:
  8708. parameters:
  8709. - description: 省ID
  8710. in: query
  8711. name: provinceID
  8712. type: integer
  8713. produces:
  8714. - application/json
  8715. responses:
  8716. "200":
  8717. description: OK
  8718. schema:
  8719. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  8720. "500":
  8721. description: Internal Server Error
  8722. schema:
  8723. $ref: '#/definitions/app.Response'
  8724. summary: 查询省市信息(不包括区)
  8725. tags:
  8726. - 通用服务
  8727. /Common/QueryTableDefine:
  8728. get:
  8729. parameters:
  8730. - description: 表key
  8731. in: query
  8732. name: tableKey
  8733. type: string
  8734. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  8735. in: query
  8736. name: tableType
  8737. type: integer
  8738. produces:
  8739. - application/json
  8740. responses:
  8741. "200":
  8742. description: OK
  8743. schema:
  8744. $ref: '#/definitions/common.QueryTableDefineRsp'
  8745. "500":
  8746. description: Internal Server Error
  8747. schema:
  8748. $ref: '#/definitions/app.Response'
  8749. summary: 查询交易端列表头信息
  8750. tags:
  8751. - 通用服务
  8752. /Common/QueryTraderMenu:
  8753. get:
  8754. parameters:
  8755. - description: 登录账号
  8756. in: query
  8757. name: loginid
  8758. required: true
  8759. type: integer
  8760. produces:
  8761. - application/json
  8762. responses:
  8763. "200":
  8764. description: OK
  8765. schema:
  8766. $ref: '#/definitions/common.QueryTraderMenuRsp'
  8767. "500":
  8768. description: Internal Server Error
  8769. schema:
  8770. $ref: '#/definitions/app.Response'
  8771. summary: 查询交易端菜单
  8772. tags:
  8773. - 通用服务
  8774. /Delivery/QueryDeliveryRelation:
  8775. get:
  8776. parameters:
  8777. - description: 商品ID
  8778. in: query
  8779. name: goodsid
  8780. type: integer
  8781. - description: 品种ID
  8782. in: query
  8783. name: deliverygoodsid
  8784. type: integer
  8785. - description: 市场ID
  8786. in: query
  8787. name: marketid
  8788. type: integer
  8789. produces:
  8790. - application/json
  8791. responses:
  8792. "200":
  8793. description: OK
  8794. schema:
  8795. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  8796. "500":
  8797. description: Internal Server Error
  8798. schema:
  8799. $ref: '#/definitions/app.Response'
  8800. security:
  8801. - ApiKeyAuth: []
  8802. summary: 查询商品交割关系表
  8803. tags:
  8804. - 交割服务
  8805. /Ermcp/GetErmcpGoods:
  8806. get:
  8807. parameters:
  8808. - description: 已存末尾商品编号
  8809. in: query
  8810. name: lastID
  8811. type: integer
  8812. produces:
  8813. - application/json
  8814. responses:
  8815. "200":
  8816. description: OK
  8817. schema:
  8818. $ref: '#/definitions/models.Goods'
  8819. "500":
  8820. description: Internal Server Error
  8821. schema:
  8822. $ref: '#/definitions/app.Response'
  8823. security:
  8824. - ApiKeyAuth: []
  8825. summary: 查询企业风管期货商品信息
  8826. tags:
  8827. - 企业风险管理(app)
  8828. /Ermcp/QryReportDayExposure:
  8829. get:
  8830. parameters:
  8831. - description: 用户ID
  8832. in: query
  8833. name: userid
  8834. required: true
  8835. type: integer
  8836. - description: 交易日(格式:yyyyMMdd)
  8837. in: query
  8838. name: tradedate
  8839. required: true
  8840. type: string
  8841. produces:
  8842. - application/json
  8843. responses:
  8844. "200":
  8845. description: OK
  8846. schema:
  8847. items:
  8848. $ref: '#/definitions/ermcp.QryReportExposureDayRsp'
  8849. type: array
  8850. "500":
  8851. description: Internal Server Error
  8852. schema:
  8853. $ref: '#/definitions/app.Response'
  8854. security:
  8855. - ApiKeyAuth: []
  8856. summary: 查询敞口日报表(菜单:报表查询/敞口报表/敞口日报表)
  8857. tags:
  8858. - 企业风险管理(app)
  8859. /Ermcp/QryReportDayFinance:
  8860. get:
  8861. parameters:
  8862. - description: 用户ID
  8863. in: query
  8864. name: userid
  8865. required: true
  8866. type: integer
  8867. - description: 交易日(格式:yyyyMMdd)
  8868. in: query
  8869. name: tradedate
  8870. required: true
  8871. type: string
  8872. produces:
  8873. - application/json
  8874. responses:
  8875. "200":
  8876. description: OK
  8877. schema:
  8878. items:
  8879. $ref: '#/definitions/ermcp.QryReportFinanceDayRsp'
  8880. type: array
  8881. "500":
  8882. description: Internal Server Error
  8883. schema:
  8884. $ref: '#/definitions/app.Response'
  8885. security:
  8886. - ApiKeyAuth: []
  8887. summary: 查询财务日报表(菜单:报表查询/财务报表/日报表)
  8888. tags:
  8889. - 企业风险管理(app)
  8890. /Ermcp/QryReportDayFinanceFp:
  8891. get:
  8892. parameters:
  8893. - description: 用户ID
  8894. in: query
  8895. name: userid
  8896. required: true
  8897. type: integer
  8898. - description: 交易日(格式:yyyyMMdd)
  8899. in: query
  8900. name: tradedate
  8901. required: true
  8902. type: string
  8903. produces:
  8904. - application/json
  8905. responses:
  8906. "200":
  8907. description: OK
  8908. schema:
  8909. items:
  8910. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  8911. type: array
  8912. "500":
  8913. description: Internal Server Error
  8914. schema:
  8915. $ref: '#/definitions/app.Response'
  8916. security:
  8917. - ApiKeyAuth: []
  8918. summary: 查询财务日报表发票(菜单:报表查询/财务报表/日报表/发票)
  8919. tags:
  8920. - 企业风险管理(app)
  8921. /Ermcp/QryReportDayFinanceKx:
  8922. get:
  8923. parameters:
  8924. - description: 用户ID
  8925. in: query
  8926. name: userid
  8927. required: true
  8928. type: integer
  8929. - description: 交易日(格式:yyyyMMdd)
  8930. in: query
  8931. name: tradedate
  8932. required: true
  8933. type: string
  8934. produces:
  8935. - application/json
  8936. responses:
  8937. "200":
  8938. description: OK
  8939. schema:
  8940. items:
  8941. $ref: '#/definitions/ermcp.QryReportFinanceKxRsp'
  8942. type: array
  8943. "500":
  8944. description: Internal Server Error
  8945. schema:
  8946. $ref: '#/definitions/app.Response'
  8947. security:
  8948. - ApiKeyAuth: []
  8949. summary: 查询财务日报表款项(菜单:报表查询/财务报表/日报表/款项)
  8950. tags:
  8951. - 企业风险管理(app)
  8952. /Ermcp/QryReportDaySpot:
  8953. get:
  8954. parameters:
  8955. - description: 用户ID
  8956. in: query
  8957. name: userid
  8958. required: true
  8959. type: integer
  8960. - description: 交易日(格式:yyyyMMdd)
  8961. in: query
  8962. name: tradedate
  8963. required: true
  8964. type: string
  8965. produces:
  8966. - application/json
  8967. responses:
  8968. "200":
  8969. description: OK
  8970. schema:
  8971. items:
  8972. $ref: '#/definitions/ermcp.QryReportSpotDayRsp'
  8973. type: array
  8974. "500":
  8975. description: Internal Server Error
  8976. schema:
  8977. $ref: '#/definitions/app.Response'
  8978. security:
  8979. - ApiKeyAuth: []
  8980. summary: 查询现货日报表(菜单:报表查询/现货报表/现货日报表)
  8981. tags:
  8982. - 企业风险管理(app)
  8983. /Ermcp/QryReportDaySpotDetail:
  8984. get:
  8985. parameters:
  8986. - description: 用户ID
  8987. in: query
  8988. name: userid
  8989. required: true
  8990. type: integer
  8991. - description: 现货商品id
  8992. in: query
  8993. name: wrstandardid
  8994. required: true
  8995. type: integer
  8996. - description: 交易日(格式:yyyyMMdd)
  8997. in: query
  8998. name: tradedate
  8999. required: true
  9000. type: string
  9001. produces:
  9002. - application/json
  9003. responses:
  9004. "200":
  9005. description: OK
  9006. schema:
  9007. items:
  9008. $ref: '#/definitions/ermcp.QryReportDaySpotDetailRsp'
  9009. type: array
  9010. "500":
  9011. description: Internal Server Error
  9012. schema:
  9013. $ref: '#/definitions/app.Response'
  9014. security:
  9015. - ApiKeyAuth: []
  9016. summary: 查询现货日报表详情(菜单:报表查询/现货报表/现货日报表详情)
  9017. tags:
  9018. - 企业风险管理(app)
  9019. /Ermcp/QryReportMonthFinance:
  9020. get:
  9021. parameters:
  9022. - description: 用户ID
  9023. in: query
  9024. name: userid
  9025. required: true
  9026. type: integer
  9027. - description: 周期时间:月(格式:yyyyMM)
  9028. in: query
  9029. name: cycletime
  9030. required: true
  9031. type: string
  9032. produces:
  9033. - application/json
  9034. responses:
  9035. "200":
  9036. description: OK
  9037. schema:
  9038. items:
  9039. $ref: '#/definitions/ermcp.QryReportFinanceMonRsp'
  9040. type: array
  9041. "500":
  9042. description: Internal Server Error
  9043. schema:
  9044. $ref: '#/definitions/app.Response'
  9045. security:
  9046. - ApiKeyAuth: []
  9047. summary: 查询财务月报表(菜单:报表查询/财务报表/月报表)
  9048. tags:
  9049. - 企业风险管理(app)
  9050. /Ermcp/QryReportMonthSpot:
  9051. get:
  9052. parameters:
  9053. - description: 用户ID
  9054. in: query
  9055. name: userid
  9056. required: true
  9057. type: integer
  9058. - description: 周期时间:月(格式:yyyyMM)
  9059. in: query
  9060. name: cycletime
  9061. required: true
  9062. type: string
  9063. produces:
  9064. - application/json
  9065. responses:
  9066. "200":
  9067. description: OK
  9068. schema:
  9069. items:
  9070. $ref: '#/definitions/ermcp.QryReportSpotMonRsp'
  9071. type: array
  9072. "500":
  9073. description: Internal Server Error
  9074. schema:
  9075. $ref: '#/definitions/app.Response'
  9076. security:
  9077. - ApiKeyAuth: []
  9078. summary: 查询现货月报表(菜单:报表查询/现货报表/现货月报表)
  9079. tags:
  9080. - 企业风险管理(app)
  9081. /Ermcp/QryReportMonthSpotDetail:
  9082. get:
  9083. parameters:
  9084. - description: 用户ID
  9085. in: query
  9086. name: userid
  9087. required: true
  9088. type: integer
  9089. - description: 现货商品id
  9090. in: query
  9091. name: wrstandardid
  9092. required: true
  9093. type: integer
  9094. - description: 周期时间:月(格式:yyyyMM)
  9095. in: query
  9096. name: cycletime
  9097. required: true
  9098. type: string
  9099. produces:
  9100. - application/json
  9101. responses:
  9102. "200":
  9103. description: OK
  9104. schema:
  9105. items:
  9106. $ref: '#/definitions/ermcp.QryReportSpotMonthDetailRsp'
  9107. type: array
  9108. "500":
  9109. description: Internal Server Error
  9110. schema:
  9111. $ref: '#/definitions/app.Response'
  9112. security:
  9113. - ApiKeyAuth: []
  9114. summary: 查询现货月报表详情(菜单:报表查询/现货月报表/现货月报表详情)
  9115. tags:
  9116. - 企业风险管理(app)
  9117. /Ermcp/QueryAvaildGoodsGroup:
  9118. get:
  9119. parameters:
  9120. - description: 所属机构ID
  9121. in: query
  9122. name: userid
  9123. required: true
  9124. type: integer
  9125. produces:
  9126. - application/json
  9127. responses:
  9128. "200":
  9129. description: OK
  9130. schema:
  9131. items:
  9132. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  9133. type: array
  9134. "500":
  9135. description: Internal Server Error
  9136. schema:
  9137. $ref: '#/definitions/app.Response'
  9138. security:
  9139. - ApiKeyAuth: []
  9140. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  9141. tags:
  9142. - 企业风险管理(app)
  9143. /Ermcp/QueryBusinessDj:
  9144. get:
  9145. parameters:
  9146. - description: 用户ID
  9147. in: query
  9148. name: UserId
  9149. required: true
  9150. type: integer
  9151. - description: 现货合同ID, 不填则查所有
  9152. in: query
  9153. name: relatedid
  9154. type: string
  9155. produces:
  9156. - application/json
  9157. responses:
  9158. "200":
  9159. description: OK
  9160. schema:
  9161. items:
  9162. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  9163. type: array
  9164. "500":
  9165. description: Internal Server Error
  9166. schema:
  9167. $ref: '#/definitions/app.Response'
  9168. security:
  9169. - ApiKeyAuth: []
  9170. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  9171. tags:
  9172. - 企业风险管理(app)
  9173. /Ermcp/QueryBusinessFp:
  9174. get:
  9175. parameters:
  9176. - description: 用户ID
  9177. in: query
  9178. name: UserId
  9179. required: true
  9180. type: integer
  9181. - description: 现货合同ID, 不填则查所有
  9182. in: query
  9183. name: relatedid
  9184. type: string
  9185. produces:
  9186. - application/json
  9187. responses:
  9188. "200":
  9189. description: OK
  9190. schema:
  9191. items:
  9192. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  9193. type: array
  9194. "500":
  9195. description: Internal Server Error
  9196. schema:
  9197. $ref: '#/definitions/app.Response'
  9198. security:
  9199. - ApiKeyAuth: []
  9200. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  9201. tags:
  9202. - 企业风险管理(app)
  9203. /Ermcp/QueryBusinessJs:
  9204. get:
  9205. parameters:
  9206. - description: 用户ID
  9207. in: query
  9208. name: UserId
  9209. required: true
  9210. type: integer
  9211. - description: 现货合同ID, 不填则查所有
  9212. in: query
  9213. name: relatedid
  9214. type: string
  9215. produces:
  9216. - application/json
  9217. responses:
  9218. "200":
  9219. description: OK
  9220. schema:
  9221. items:
  9222. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  9223. type: array
  9224. "500":
  9225. description: Internal Server Error
  9226. schema:
  9227. $ref: '#/definitions/app.Response'
  9228. security:
  9229. - ApiKeyAuth: []
  9230. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  9231. tags:
  9232. - 企业风险管理(app)
  9233. /Ermcp/QueryBusinessJsEx:
  9234. get:
  9235. parameters:
  9236. - description: 用户ID
  9237. in: query
  9238. name: UserId
  9239. required: true
  9240. type: integer
  9241. - description: 现货合同ID, 不填则查所有
  9242. in: query
  9243. name: relatedid
  9244. type: string
  9245. produces:
  9246. - application/json
  9247. responses:
  9248. "200":
  9249. description: OK
  9250. schema:
  9251. items:
  9252. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  9253. type: array
  9254. "500":
  9255. description: Internal Server Error
  9256. schema:
  9257. $ref: '#/definitions/app.Response'
  9258. security:
  9259. - ApiKeyAuth: []
  9260. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  9261. tags:
  9262. - 企业风险管理(app)
  9263. /Ermcp/QueryBusinessKx:
  9264. get:
  9265. parameters:
  9266. - description: 用户ID
  9267. in: query
  9268. name: UserId
  9269. required: true
  9270. type: integer
  9271. - description: 现货合同ID, 不填则查所有
  9272. in: query
  9273. name: relatedid
  9274. type: string
  9275. produces:
  9276. - application/json
  9277. responses:
  9278. "200":
  9279. description: OK
  9280. schema:
  9281. items:
  9282. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  9283. type: array
  9284. "500":
  9285. description: Internal Server Error
  9286. schema:
  9287. $ref: '#/definitions/app.Response'
  9288. security:
  9289. - ApiKeyAuth: []
  9290. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  9291. tags:
  9292. - 企业风险管理(app)
  9293. /Ermcp/QueryChangeLog:
  9294. get:
  9295. parameters:
  9296. - description: 用户ID
  9297. in: query
  9298. name: RelatedId
  9299. required: true
  9300. type: string
  9301. produces:
  9302. - application/json
  9303. responses:
  9304. "200":
  9305. description: OK
  9306. schema:
  9307. items:
  9308. $ref: '#/definitions/ermcp.QryOPLogRsp'
  9309. type: array
  9310. "500":
  9311. description: Internal Server Error
  9312. schema:
  9313. $ref: '#/definitions/app.Response'
  9314. security:
  9315. - ApiKeyAuth: []
  9316. summary: 查询变更记录
  9317. tags:
  9318. - 企业风险管理(app)
  9319. /Ermcp/QueryContract:
  9320. get:
  9321. parameters:
  9322. - description: 用户ID
  9323. in: query
  9324. name: userId
  9325. required: true
  9326. type: integer
  9327. - description: 合同类型 1-采购, -1-销售
  9328. in: query
  9329. name: contracttype
  9330. required: true
  9331. type: integer
  9332. - description: 查询类型 1-全部 2-待点价 3-履约结算
  9333. in: query
  9334. name: querytype
  9335. required: true
  9336. type: integer
  9337. produces:
  9338. - application/json
  9339. responses:
  9340. "200":
  9341. description: OK
  9342. schema:
  9343. items:
  9344. $ref: '#/definitions/ermcp.QryErmcpRsp'
  9345. type: array
  9346. "500":
  9347. description: Internal Server Error
  9348. schema:
  9349. $ref: '#/definitions/app.Response'
  9350. security:
  9351. - ApiKeyAuth: []
  9352. summary: 查询合同(采购和销售)
  9353. tags:
  9354. - 企业风险管理(app)
  9355. /Ermcp/QueryErmcpTradePosition:
  9356. get:
  9357. parameters:
  9358. - description: 资金账户ID
  9359. in: query
  9360. name: accountID
  9361. required: true
  9362. type: integer
  9363. - description: 所属市场ID
  9364. in: query
  9365. name: marketID
  9366. type: integer
  9367. produces:
  9368. - application/json
  9369. responses:
  9370. "200":
  9371. description: OK
  9372. schema:
  9373. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  9374. "500":
  9375. description: Internal Server Error
  9376. schema:
  9377. $ref: '#/definitions/app.Response'
  9378. security:
  9379. - ApiKeyAuth: []
  9380. summary: 获取企业风管期货持仓头寸信息
  9381. tags:
  9382. - 企业风险管理(app)
  9383. /Ermcp/QueryExposureDetail:
  9384. get:
  9385. parameters:
  9386. - description: 所属机构ID
  9387. in: query
  9388. name: areaUserId
  9389. required: true
  9390. type: integer
  9391. - description: 套保商品
  9392. in: query
  9393. name: middleGoodsId
  9394. required: true
  9395. type: integer
  9396. produces:
  9397. - application/json
  9398. responses:
  9399. "200":
  9400. description: OK
  9401. schema:
  9402. items:
  9403. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  9404. type: array
  9405. "500":
  9406. description: Internal Server Error
  9407. schema:
  9408. $ref: '#/definitions/app.Response'
  9409. security:
  9410. - ApiKeyAuth: []
  9411. summary: 查询敞口现货明细
  9412. tags:
  9413. - 企业风险管理(app)
  9414. /Ermcp/QueryExposureHedgePosition:
  9415. get:
  9416. parameters:
  9417. - description: 所属机构ID
  9418. in: query
  9419. name: areaUserId
  9420. required: true
  9421. type: integer
  9422. produces:
  9423. - application/json
  9424. responses:
  9425. "200":
  9426. description: OK
  9427. schema:
  9428. items:
  9429. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  9430. type: array
  9431. "500":
  9432. description: Internal Server Error
  9433. schema:
  9434. $ref: '#/definitions/app.Response'
  9435. security:
  9436. - ApiKeyAuth: []
  9437. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  9438. tags:
  9439. - 企业风险管理(app)
  9440. /Ermcp/QueryExposureHedgePositionDetail:
  9441. get:
  9442. parameters:
  9443. - description: 所属机构ID
  9444. in: query
  9445. name: areaUserId
  9446. required: true
  9447. type: integer
  9448. - description: 商品id
  9449. in: query
  9450. name: goodsId
  9451. required: true
  9452. type: integer
  9453. produces:
  9454. - application/json
  9455. responses:
  9456. "200":
  9457. description: OK
  9458. schema:
  9459. items:
  9460. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  9461. type: array
  9462. "500":
  9463. description: Internal Server Error
  9464. schema:
  9465. $ref: '#/definitions/app.Response'
  9466. security:
  9467. - ApiKeyAuth: []
  9468. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  9469. tags:
  9470. - 企业风险管理(app)
  9471. /Ermcp/QueryExposureSpot:
  9472. get:
  9473. parameters:
  9474. - description: 所属机构ID
  9475. in: query
  9476. name: areaUserId
  9477. required: true
  9478. type: integer
  9479. produces:
  9480. - application/json
  9481. responses:
  9482. "200":
  9483. description: OK
  9484. schema:
  9485. items:
  9486. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  9487. type: array
  9488. "500":
  9489. description: Internal Server Error
  9490. schema:
  9491. $ref: '#/definitions/app.Response'
  9492. security:
  9493. - ApiKeyAuth: []
  9494. summary: 查询敞口现货头寸(敞口/现货头寸)
  9495. tags:
  9496. - 企业风险管理(app)
  9497. /Ermcp/QueryExposureSpotDetail:
  9498. get:
  9499. parameters:
  9500. - description: 所属机构ID
  9501. in: query
  9502. name: areaUserId
  9503. required: true
  9504. type: integer
  9505. - description: 现货品种ID
  9506. in: query
  9507. name: wrstandardId
  9508. required: true
  9509. type: integer
  9510. produces:
  9511. - application/json
  9512. responses:
  9513. "200":
  9514. description: OK
  9515. schema:
  9516. items:
  9517. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  9518. type: array
  9519. "500":
  9520. description: Internal Server Error
  9521. schema:
  9522. $ref: '#/definitions/app.Response'
  9523. security:
  9524. - ApiKeyAuth: []
  9525. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  9526. tags:
  9527. - 企业风险管理(app)
  9528. /Ermcp/QueryGGConvertConfig:
  9529. get:
  9530. parameters:
  9531. - description: 品种id(不填则查所有)
  9532. in: query
  9533. name: goodsgroupid
  9534. type: integer
  9535. produces:
  9536. - application/json
  9537. responses:
  9538. "200":
  9539. description: OK
  9540. schema:
  9541. items:
  9542. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  9543. type: array
  9544. "500":
  9545. description: Internal Server Error
  9546. schema:
  9547. $ref: '#/definitions/app.Response'
  9548. security:
  9549. - ApiKeyAuth: []
  9550. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  9551. tags:
  9552. - 企业风险管理(app)
  9553. /Ermcp/QueryHedgePlan:
  9554. get:
  9555. parameters:
  9556. - description: 用户ID
  9557. in: query
  9558. name: userId
  9559. required: true
  9560. type: integer
  9561. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  9562. in: query
  9563. name: HedgePlanStatus
  9564. required: true
  9565. type: string
  9566. produces:
  9567. - application/json
  9568. responses:
  9569. "200":
  9570. description: OK
  9571. schema:
  9572. items:
  9573. $ref: '#/definitions/ermcp.QryHedgePlanRsp'
  9574. type: array
  9575. "500":
  9576. description: Internal Server Error
  9577. schema:
  9578. $ref: '#/definitions/app.Response'
  9579. security:
  9580. - ApiKeyAuth: []
  9581. summary: 查询套保计划
  9582. tags:
  9583. - 企业风险管理(app)
  9584. /Ermcp/QueryHisExposure:
  9585. get:
  9586. parameters:
  9587. - description: 所属机构ID
  9588. in: query
  9589. name: areaUserId
  9590. required: true
  9591. type: integer
  9592. - description: 每个品种记录数
  9593. in: query
  9594. name: lastNum
  9595. required: true
  9596. type: integer
  9597. produces:
  9598. - application/json
  9599. responses:
  9600. "200":
  9601. description: OK
  9602. schema:
  9603. items:
  9604. $ref: '#/definitions/ermcp.HisExposureRsp'
  9605. type: array
  9606. "500":
  9607. description: Internal Server Error
  9608. schema:
  9609. $ref: '#/definitions/app.Response'
  9610. security:
  9611. - ApiKeyAuth: []
  9612. summary: 查询历史敞口(菜单:敞口/历史敞口)
  9613. tags:
  9614. - 企业风险管理(app)
  9615. /Ermcp/QueryMiddleGoods:
  9616. get:
  9617. parameters:
  9618. - description: 所属机构ID
  9619. in: query
  9620. name: userid
  9621. required: true
  9622. type: integer
  9623. - description: 状态 0-停用 1-正常
  9624. in: query
  9625. name: status
  9626. required: true
  9627. type: integer
  9628. produces:
  9629. - application/json
  9630. responses:
  9631. "200":
  9632. description: OK
  9633. schema:
  9634. items:
  9635. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  9636. type: array
  9637. "500":
  9638. description: Internal Server Error
  9639. schema:
  9640. $ref: '#/definitions/app.Response'
  9641. security:
  9642. - ApiKeyAuth: []
  9643. summary: 查询套保品种(菜单:套保品种)
  9644. tags:
  9645. - 企业风险管理(app)
  9646. /Ermcp/QueryMiddleGoodsChangeLog:
  9647. get:
  9648. parameters:
  9649. - description: 所属机构ID
  9650. in: query
  9651. name: userid
  9652. required: true
  9653. type: integer
  9654. - description: 套保品种id
  9655. in: query
  9656. name: middlegoodsid
  9657. required: true
  9658. type: integer
  9659. produces:
  9660. - application/json
  9661. responses:
  9662. "200":
  9663. description: OK
  9664. schema:
  9665. items:
  9666. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  9667. type: array
  9668. "500":
  9669. description: Internal Server Error
  9670. schema:
  9671. $ref: '#/definitions/app.Response'
  9672. security:
  9673. - ApiKeyAuth: []
  9674. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  9675. tags:
  9676. - 企业风险管理(app)
  9677. /Ermcp/QueryMiddleGoodsDetail:
  9678. get:
  9679. parameters:
  9680. - description: 所属机构ID
  9681. in: query
  9682. name: userid
  9683. required: true
  9684. type: integer
  9685. - description: 套保品种id
  9686. in: query
  9687. name: middlegoodsid
  9688. required: true
  9689. type: integer
  9690. produces:
  9691. - application/json
  9692. responses:
  9693. "200":
  9694. description: OK
  9695. schema:
  9696. items:
  9697. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  9698. type: array
  9699. "500":
  9700. description: Internal Server Error
  9701. schema:
  9702. $ref: '#/definitions/app.Response'
  9703. security:
  9704. - ApiKeyAuth: []
  9705. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  9706. tags:
  9707. - 企业风险管理(app)
  9708. /Ermcp/QueryRealtimeExposure:
  9709. get:
  9710. parameters:
  9711. - description: 所属机构ID
  9712. in: query
  9713. name: AreaUserID
  9714. required: true
  9715. type: integer
  9716. produces:
  9717. - application/json
  9718. responses:
  9719. "200":
  9720. description: OK
  9721. schema:
  9722. items:
  9723. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  9724. type: array
  9725. "500":
  9726. description: Internal Server Error
  9727. schema:
  9728. $ref: '#/definitions/app.Response'
  9729. security:
  9730. - ApiKeyAuth: []
  9731. summary: 查询实时敞口
  9732. tags:
  9733. - 企业风险管理(app)
  9734. /Ermcp/QueryRealtimeExposurePosition:
  9735. get:
  9736. parameters:
  9737. - description: 所属机构ID
  9738. in: query
  9739. name: areaUserId
  9740. required: true
  9741. type: integer
  9742. - description: 套保商品ID
  9743. in: query
  9744. name: middleGoodsId
  9745. required: true
  9746. type: integer
  9747. produces:
  9748. - application/json
  9749. responses:
  9750. "200":
  9751. description: OK
  9752. schema:
  9753. items:
  9754. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  9755. type: array
  9756. "500":
  9757. description: Internal Server Error
  9758. schema:
  9759. $ref: '#/definitions/app.Response'
  9760. security:
  9761. - ApiKeyAuth: []
  9762. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  9763. tags:
  9764. - 企业风险管理(app)
  9765. /Ermcp/QuerySpotContract:
  9766. get:
  9767. parameters:
  9768. - description: 用户ID
  9769. in: query
  9770. name: userId
  9771. required: true
  9772. type: integer
  9773. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  9774. in: query
  9775. name: QueryType
  9776. required: true
  9777. type: integer
  9778. produces:
  9779. - application/json
  9780. responses:
  9781. "200":
  9782. description: OK
  9783. schema:
  9784. items:
  9785. $ref: '#/definitions/ermcp.QrySpotContractRsp'
  9786. type: array
  9787. "500":
  9788. description: Internal Server Error
  9789. schema:
  9790. $ref: '#/definitions/app.Response'
  9791. security:
  9792. - ApiKeyAuth: []
  9793. summary: 查询现货合同(对应现货合同菜单)
  9794. tags:
  9795. - 企业风险管理(app)
  9796. /Ermcp/QueryUserInfo:
  9797. get:
  9798. parameters:
  9799. - description: 所属机构用户ID
  9800. in: query
  9801. name: MemberUserID
  9802. required: true
  9803. type: integer
  9804. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  9805. in: query
  9806. name: queryType
  9807. required: true
  9808. type: integer
  9809. produces:
  9810. - application/json
  9811. responses:
  9812. "200":
  9813. description: OK
  9814. schema:
  9815. items:
  9816. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  9817. type: array
  9818. "500":
  9819. description: Internal Server Error
  9820. schema:
  9821. $ref: '#/definitions/app.Response'
  9822. security:
  9823. - ApiKeyAuth: []
  9824. summary: 查询客户资料
  9825. tags:
  9826. - 企业风险管理(app)
  9827. /Ermcp/QueryWrStandard:
  9828. get:
  9829. parameters:
  9830. - description: 所属机构ID
  9831. in: query
  9832. name: userid
  9833. required: true
  9834. type: integer
  9835. - description: 状态 0-停用 1-正常
  9836. in: query
  9837. name: status
  9838. required: true
  9839. type: integer
  9840. produces:
  9841. - application/json
  9842. responses:
  9843. "200":
  9844. description: OK
  9845. schema:
  9846. items:
  9847. $ref: '#/definitions/ermcp.QryWrStandardRsp'
  9848. type: array
  9849. "500":
  9850. description: Internal Server Error
  9851. schema:
  9852. $ref: '#/definitions/app.Response'
  9853. security:
  9854. - ApiKeyAuth: []
  9855. summary: 查询现货商品
  9856. tags:
  9857. - 企业风险管理(app)
  9858. /Ermcp/QueryWrStandardDetail:
  9859. get:
  9860. parameters:
  9861. - description: 所属机构ID
  9862. in: query
  9863. name: userid
  9864. required: true
  9865. type: integer
  9866. - description: 现货商品ID
  9867. in: query
  9868. name: wrstandardid
  9869. required: true
  9870. type: integer
  9871. produces:
  9872. - application/json
  9873. responses:
  9874. "200":
  9875. description: OK
  9876. schema:
  9877. items:
  9878. $ref: '#/definitions/ermcp.QryWrStandardDetailRsp'
  9879. type: array
  9880. "500":
  9881. description: Internal Server Error
  9882. schema:
  9883. $ref: '#/definitions/app.Response'
  9884. security:
  9885. - ApiKeyAuth: []
  9886. summary: 查询现货商品详情(菜单:现货品种/现货品种详情)
  9887. tags:
  9888. - 企业风险管理(app)
  9889. /Erms2/QueryArbitrageStrategy:
  9890. get:
  9891. parameters:
  9892. - description: 账户ID
  9893. in: query
  9894. name: userid
  9895. required: true
  9896. type: integer
  9897. - description: 商品组ID(品种ID)
  9898. in: query
  9899. name: goodsgroupid
  9900. type: string
  9901. produces:
  9902. - application/json
  9903. responses:
  9904. "200":
  9905. description: OK
  9906. schema:
  9907. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  9908. "500":
  9909. description: Internal Server Error
  9910. schema:
  9911. $ref: '#/definitions/app.Response'
  9912. security:
  9913. - ApiKeyAuth: []
  9914. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  9915. tags:
  9916. - 风险管理
  9917. /Erms2/QueryInnerTradeDetail:
  9918. get:
  9919. parameters:
  9920. - description: 资金账户
  9921. in: query
  9922. name: accountid
  9923. required: true
  9924. type: integer
  9925. produces:
  9926. - application/json
  9927. responses:
  9928. "200":
  9929. description: OK
  9930. schema:
  9931. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  9932. "500":
  9933. description: Internal Server Error
  9934. schema:
  9935. $ref: '#/definitions/app.Response'
  9936. security:
  9937. - ApiKeyAuth: []
  9938. summary: 查询内部成交单信息
  9939. tags:
  9940. - 风险管理
  9941. /Erms2/QuerySpotContract:
  9942. get:
  9943. parameters:
  9944. - description: 策略申请ID
  9945. in: query
  9946. name: asapplyid
  9947. required: true
  9948. type: integer
  9949. - description: 现货合同ID
  9950. in: query
  9951. name: spotcontractid
  9952. type: integer
  9953. produces:
  9954. - application/json
  9955. responses:
  9956. "200":
  9957. description: OK
  9958. schema:
  9959. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  9960. "500":
  9961. description: Internal Server Error
  9962. schema:
  9963. $ref: '#/definitions/app.Response'
  9964. security:
  9965. - ApiKeyAuth: []
  9966. summary: 查询现货合同表信息(指定策略ID、未结束的)
  9967. tags:
  9968. - 风险管理
  9969. /Erms3/AddErms2ASApply:
  9970. post:
  9971. parameters:
  9972. - description: 申请参数
  9973. in: body
  9974. name: jsonBody
  9975. required: true
  9976. schema:
  9977. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  9978. produces:
  9979. - application/json
  9980. responses:
  9981. "200":
  9982. description: OK
  9983. schema:
  9984. $ref: '#/definitions/app.Response'
  9985. "500":
  9986. description: Internal Server Error
  9987. schema:
  9988. $ref: '#/definitions/app.Response'
  9989. security:
  9990. - ApiKeyAuth: []
  9991. summary: 新增期现套利业务申请
  9992. tags:
  9993. - 风险管理v3
  9994. /Erms3/AddErms2SpotTradeApply:
  9995. post:
  9996. parameters:
  9997. - description: 申请参数
  9998. in: body
  9999. name: jsonBody
  10000. required: true
  10001. schema:
  10002. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  10003. produces:
  10004. - application/json
  10005. responses:
  10006. "200":
  10007. description: OK
  10008. schema:
  10009. $ref: '#/definitions/app.Response'
  10010. "500":
  10011. description: Internal Server Error
  10012. schema:
  10013. $ref: '#/definitions/app.Response'
  10014. security:
  10015. - ApiKeyAuth: []
  10016. summary: 新增现货贸易业务申请
  10017. tags:
  10018. - 风险管理v3
  10019. /Erms3/AddSpotContractApply:
  10020. post:
  10021. parameters:
  10022. - description: 申请参数
  10023. in: body
  10024. name: jsonBody
  10025. required: true
  10026. schema:
  10027. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  10028. produces:
  10029. - application/json
  10030. responses:
  10031. "200":
  10032. description: OK
  10033. schema:
  10034. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  10035. "500":
  10036. description: Internal Server Error
  10037. schema:
  10038. $ref: '#/definitions/app.Response'
  10039. security:
  10040. - ApiKeyAuth: []
  10041. summary: 新增现货合同申请
  10042. tags:
  10043. - 风险管理v3
  10044. /Erms3/AddUserInfoApply:
  10045. post:
  10046. parameters:
  10047. - description: 用户信息
  10048. in: body
  10049. name: jsonBody
  10050. required: true
  10051. schema:
  10052. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  10053. produces:
  10054. - application/json
  10055. responses:
  10056. "200":
  10057. description: OK
  10058. schema:
  10059. $ref: '#/definitions/app.Response'
  10060. "500":
  10061. description: Internal Server Error
  10062. schema:
  10063. $ref: '#/definitions/app.Response'
  10064. security:
  10065. - ApiKeyAuth: []
  10066. summary: 新增客户申请
  10067. tags:
  10068. - 风险管理v3
  10069. /Erms3/ModifyUserInfoApply:
  10070. post:
  10071. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  10072. int, "userstate": 2 }'
  10073. parameters:
  10074. - description: 用户信息
  10075. in: body
  10076. name: jsonBody
  10077. required: true
  10078. schema:
  10079. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  10080. produces:
  10081. - application/json
  10082. responses:
  10083. "200":
  10084. description: OK
  10085. schema:
  10086. $ref: '#/definitions/app.Response'
  10087. "500":
  10088. description: Internal Server Error
  10089. schema:
  10090. $ref: '#/definitions/app.Response'
  10091. security:
  10092. - ApiKeyAuth: []
  10093. summary: 修改客户申请
  10094. tags:
  10095. - 风险管理v3
  10096. /Erms3/QueryBusinessInfo:
  10097. get:
  10098. parameters:
  10099. - description: 资金账号ID列表,用逗号分隔
  10100. in: query
  10101. name: accountids
  10102. required: true
  10103. type: string
  10104. - description: 状态,0为未结束 1为已结束
  10105. in: query
  10106. name: status
  10107. required: true
  10108. type: integer
  10109. produces:
  10110. - application/json
  10111. responses:
  10112. "200":
  10113. description: OK
  10114. schema:
  10115. items:
  10116. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  10117. type: array
  10118. "500":
  10119. description: Internal Server Error
  10120. schema:
  10121. $ref: '#/definitions/app.Response'
  10122. security:
  10123. - ApiKeyAuth: []
  10124. summary: 查询业务表单数据
  10125. tags:
  10126. - 风险管理v3
  10127. /Erms3/QueryPendingAuditContract:
  10128. get:
  10129. parameters:
  10130. - description: 资金账号ID列表,逗号隔开
  10131. in: query
  10132. name: accountids
  10133. required: true
  10134. type: string
  10135. - description: 合同类型 1-采购 -1-销售
  10136. in: query
  10137. name: contracttype
  10138. required: true
  10139. type: integer
  10140. - description: 合同模式 1-普通 2-回购
  10141. in: query
  10142. name: contractmode
  10143. required: true
  10144. type: integer
  10145. produces:
  10146. - application/json
  10147. responses:
  10148. "200":
  10149. description: OK
  10150. schema:
  10151. items:
  10152. $ref: '#/definitions/erms3.QryAuditContractRsp'
  10153. type: array
  10154. "500":
  10155. description: Internal Server Error
  10156. schema:
  10157. $ref: '#/definitions/app.Response'
  10158. security:
  10159. - ApiKeyAuth: []
  10160. summary: 查询待审核合同
  10161. tags:
  10162. - 风险管理v3
  10163. /Erms3/QueryPendingBusiness:
  10164. get:
  10165. parameters:
  10166. - description: 资金账号ID列表,逗号隔开
  10167. in: query
  10168. name: accountids
  10169. required: true
  10170. type: string
  10171. produces:
  10172. - application/json
  10173. responses:
  10174. "200":
  10175. description: OK
  10176. schema:
  10177. items:
  10178. $ref: '#/definitions/erms3.QryPendingBizRsp'
  10179. type: array
  10180. "500":
  10181. description: Internal Server Error
  10182. schema:
  10183. $ref: '#/definitions/app.Response'
  10184. security:
  10185. - ApiKeyAuth: []
  10186. summary: 查询待审核基差贸易业务
  10187. tags:
  10188. - 风险管理v3
  10189. /Erms3/QuerySpotContractAppleForm:
  10190. get:
  10191. parameters:
  10192. - description: 登录账号
  10193. in: query
  10194. name: loginID
  10195. required: true
  10196. type: integer
  10197. produces:
  10198. - application/json
  10199. responses:
  10200. "200":
  10201. description: OK
  10202. schema:
  10203. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  10204. "500":
  10205. description: Internal Server Error
  10206. schema:
  10207. $ref: '#/definitions/app.Response'
  10208. security:
  10209. - ApiKeyAuth: []
  10210. summary: 查询合同申请表单数据
  10211. tags:
  10212. - 风险管理v3
  10213. /Erms3/QuerySpotContractDetail:
  10214. get:
  10215. parameters:
  10216. - description: 资金账号ID列表,用逗号分隔
  10217. in: query
  10218. name: accountids
  10219. required: true
  10220. type: string
  10221. - description: 合同类型,1为采购合同 -1为销售合同
  10222. in: query
  10223. name: contracttype
  10224. required: true
  10225. type: integer
  10226. - description: 合同模式,1为普通合同 2为回购销售合同
  10227. in: query
  10228. name: contractmode
  10229. required: true
  10230. type: integer
  10231. - description: 状态,0为履约中 1为已完成
  10232. in: query
  10233. name: status
  10234. required: true
  10235. type: integer
  10236. produces:
  10237. - application/json
  10238. responses:
  10239. "200":
  10240. description: OK
  10241. schema:
  10242. items:
  10243. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  10244. type: array
  10245. "500":
  10246. description: Internal Server Error
  10247. schema:
  10248. $ref: '#/definitions/app.Response'
  10249. security:
  10250. - ApiKeyAuth: []
  10251. summary: 查询合同详细信息
  10252. tags:
  10253. - 风险管理v3
  10254. /Erms3/QueryUserInfoApplies:
  10255. get:
  10256. parameters:
  10257. - description: 页码
  10258. in: query
  10259. name: page
  10260. type: integer
  10261. - description: 每页条数
  10262. in: query
  10263. name: pagesize
  10264. type: integer
  10265. - description: 客户名称,支持模糊查询
  10266. in: query
  10267. name: userName
  10268. type: string
  10269. produces:
  10270. - application/json
  10271. responses:
  10272. "200":
  10273. description: OK
  10274. schema:
  10275. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  10276. "500":
  10277. description: Internal Server Error
  10278. schema:
  10279. $ref: '#/definitions/app.Response'
  10280. security:
  10281. - ApiKeyAuth: []
  10282. summary: 客户申请信息查询
  10283. tags:
  10284. - 风险管理v3
  10285. /Erms3/QueryUserInfos:
  10286. get:
  10287. parameters:
  10288. - description: 页码
  10289. in: query
  10290. name: page
  10291. type: integer
  10292. - description: 每页条数
  10293. in: query
  10294. name: pagesize
  10295. type: integer
  10296. - description: 客户名称,支持模糊查询
  10297. in: query
  10298. name: userName
  10299. type: string
  10300. produces:
  10301. - application/json
  10302. responses:
  10303. "200":
  10304. description: OK
  10305. schema:
  10306. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  10307. "500":
  10308. description: Internal Server Error
  10309. schema:
  10310. $ref: '#/definitions/app.Response'
  10311. security:
  10312. - ApiKeyAuth: []
  10313. summary: 客户信息查询
  10314. tags:
  10315. - 风险管理v3
  10316. /HSBY/GetHsbyMyCount:
  10317. get:
  10318. description: 说明: 不包括已完成的数量。
  10319. parameters:
  10320. - description: 资金账户列表,格式:1,2,3
  10321. in: query
  10322. name: accountIDs
  10323. required: true
  10324. type: string
  10325. produces:
  10326. - application/json
  10327. responses:
  10328. "200":
  10329. description: OK
  10330. schema:
  10331. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  10332. "500":
  10333. description: Internal Server Error
  10334. schema:
  10335. $ref: '#/definitions/app.Response'
  10336. security:
  10337. - ApiKeyAuth: []
  10338. summary: 获取我的订单与包裹数量
  10339. tags:
  10340. - 定制【海商报业】
  10341. /HSBY/QueryClientFixedADConfigs:
  10342. get:
  10343. produces:
  10344. - application/json
  10345. responses:
  10346. "200":
  10347. description: OK
  10348. schema:
  10349. $ref: '#/definitions/models.Clientfixedadconfig'
  10350. "500":
  10351. description: Internal Server Error
  10352. schema:
  10353. $ref: '#/definitions/app.Response'
  10354. security:
  10355. - ApiKeyAuth: []
  10356. summary: 获取终端固定广告配置
  10357. tags:
  10358. - 定制【海商报业】
  10359. /HSBY/QueryHsbyBuyMyTradeDetail:
  10360. get:
  10361. parameters:
  10362. - description: 页码
  10363. in: query
  10364. name: page
  10365. type: integer
  10366. - description: 每页条数
  10367. in: query
  10368. name: pagesize
  10369. type: integer
  10370. - description: 资金账户列表,格式:1,2,3
  10371. in: query
  10372. name: accountIDs
  10373. required: true
  10374. type: string
  10375. produces:
  10376. - application/json
  10377. responses:
  10378. "200":
  10379. description: OK
  10380. schema:
  10381. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  10382. "500":
  10383. description: Internal Server Error
  10384. schema:
  10385. $ref: '#/definitions/app.Response'
  10386. security:
  10387. - ApiKeyAuth: []
  10388. summary: 查询"我的订单 - 已完成"单据信息
  10389. tags:
  10390. - 定制【海商报业】
  10391. /HSBY/QueryHsbyGoodsOrderDetails:
  10392. get:
  10393. description: 说明:查询结果已按委托价格和委托时间排序
  10394. parameters:
  10395. - description: 商品ID
  10396. in: query
  10397. name: goodsID
  10398. required: true
  10399. type: integer
  10400. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  10401. in: query
  10402. name: accountIDs
  10403. type: string
  10404. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  10405. in: query
  10406. name: buyOrSell
  10407. type: integer
  10408. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  10409. in: query
  10410. name: price
  10411. type: number
  10412. - description: 档位,不传则默认为3档
  10413. in: query
  10414. name: speed
  10415. type: integer
  10416. produces:
  10417. - application/json
  10418. responses:
  10419. "200":
  10420. description: OK
  10421. schema:
  10422. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  10423. "500":
  10424. description: Internal Server Error
  10425. schema:
  10426. $ref: '#/definitions/app.Response'
  10427. security:
  10428. - ApiKeyAuth: []
  10429. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  10430. tags:
  10431. - 定制【海商报业】
  10432. /HSBY/QueryHsbyListingGoodsDetail:
  10433. get:
  10434. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  10435. parameters:
  10436. - description: 商品ID
  10437. in: query
  10438. name: goodsID
  10439. required: true
  10440. type: integer
  10441. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  10442. in: query
  10443. name: accountID
  10444. type: integer
  10445. produces:
  10446. - application/json
  10447. responses:
  10448. "200":
  10449. description: OK
  10450. schema:
  10451. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  10452. "500":
  10453. description: Internal Server Error
  10454. schema:
  10455. $ref: '#/definitions/app.Response'
  10456. security:
  10457. - ApiKeyAuth: []
  10458. summary: 查询二级市场(挂牌点选)商品信息详情
  10459. tags:
  10460. - 定制【海商报业】
  10461. /HSBY/QueryHsbyMarketGoodsDetail:
  10462. get:
  10463. parameters:
  10464. - description: 委托单号
  10465. in: query
  10466. name: orderID
  10467. required: true
  10468. type: integer
  10469. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  10470. in: query
  10471. name: accountID
  10472. type: integer
  10473. produces:
  10474. - application/json
  10475. responses:
  10476. "200":
  10477. description: OK
  10478. schema:
  10479. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  10480. "500":
  10481. description: Internal Server Error
  10482. schema:
  10483. $ref: '#/definitions/app.Response'
  10484. security:
  10485. - ApiKeyAuth: []
  10486. summary: 查询三级市场(商城)商品信息详情
  10487. tags:
  10488. - 定制【海商报业】
  10489. /HSBY/QueryHsbyMarketGoodses:
  10490. get:
  10491. parameters:
  10492. - description: 页码
  10493. in: query
  10494. name: page
  10495. type: integer
  10496. - description: 每页条数
  10497. in: query
  10498. name: pagesize
  10499. type: integer
  10500. - description: 市场ID列表,格式:1,2,3
  10501. in: query
  10502. name: marketIDs
  10503. required: true
  10504. type: string
  10505. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  10506. in: query
  10507. name: accountID
  10508. required: true
  10509. type: integer
  10510. - description: 类别ID
  10511. in: query
  10512. name: categoryID
  10513. type: integer
  10514. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  10515. in: query
  10516. name: goodsIDs
  10517. type: string
  10518. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  10519. in: query
  10520. name: couponTypeID
  10521. type: integer
  10522. produces:
  10523. - application/json
  10524. responses:
  10525. "200":
  10526. description: OK
  10527. schema:
  10528. $ref: '#/definitions/models.HsbyMarketGoods'
  10529. "500":
  10530. description: Internal Server Error
  10531. schema:
  10532. $ref: '#/definitions/app.Response'
  10533. security:
  10534. - ApiKeyAuth: []
  10535. summary: 查询特卖商品列表(三级商城)
  10536. tags:
  10537. - 定制【海商报业】
  10538. /HSBY/QueryHsbyMarkets:
  10539. get:
  10540. produces:
  10541. - application/json
  10542. responses:
  10543. "200":
  10544. description: OK
  10545. schema:
  10546. $ref: '#/definitions/models.HsbyMarketInfo'
  10547. "500":
  10548. description: Internal Server Error
  10549. schema:
  10550. $ref: '#/definitions/app.Response'
  10551. security:
  10552. - ApiKeyAuth: []
  10553. summary: 查询海商报业相关市场信息
  10554. tags:
  10555. - 定制【海商报业】
  10556. /HSBY/QueryHsbyMyBuyOrderDetails:
  10557. get:
  10558. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  10559. parameters:
  10560. - description: 资金账户列表,格式:1,2,3
  10561. in: query
  10562. name: accountIDs
  10563. required: true
  10564. type: string
  10565. produces:
  10566. - application/json
  10567. responses:
  10568. "200":
  10569. description: OK
  10570. schema:
  10571. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  10572. "500":
  10573. description: Internal Server Error
  10574. schema:
  10575. $ref: '#/definitions/app.Response'
  10576. security:
  10577. - ApiKeyAuth: []
  10578. summary: 查询“我的订单”信息
  10579. tags:
  10580. - 定制【海商报业】
  10581. /HSBY/QueryHsbyMyGoods:
  10582. get:
  10583. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  10584. parameters:
  10585. - description: 资金账户列表,格式:1,2,3
  10586. in: query
  10587. name: accountIDs
  10588. required: true
  10589. type: string
  10590. produces:
  10591. - application/json
  10592. responses:
  10593. "200":
  10594. description: OK
  10595. schema:
  10596. $ref: '#/definitions/models.HsbyMyGoods'
  10597. "500":
  10598. description: Internal Server Error
  10599. schema:
  10600. $ref: '#/definitions/app.Response'
  10601. security:
  10602. - ApiKeyAuth: []
  10603. summary: 查询“我的商品”信息
  10604. tags:
  10605. - 定制【海商报业】
  10606. /HSBY/QueryHsbyMyPackages:
  10607. get:
  10608. parameters:
  10609. - description: 资金账户列表,格式:1,2,3
  10610. in: query
  10611. name: accountIDs
  10612. required: true
  10613. type: string
  10614. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  10615. in: query
  10616. name: takeOrderStatus
  10617. type: integer
  10618. produces:
  10619. - application/json
  10620. responses:
  10621. "200":
  10622. description: OK
  10623. schema:
  10624. $ref: '#/definitions/models.HsbyMyPackage'
  10625. "500":
  10626. description: Internal Server Error
  10627. schema:
  10628. $ref: '#/definitions/app.Response'
  10629. security:
  10630. - ApiKeyAuth: []
  10631. summary: 查询我的包裹信息
  10632. tags:
  10633. - 定制【海商报业】
  10634. /HSBY/QueryHsbyPreGoodsDetail:
  10635. get:
  10636. parameters:
  10637. - description: 商品ID
  10638. in: query
  10639. name: goodsID
  10640. required: true
  10641. type: integer
  10642. - description: 资金账户,主要用于获取预售商品购买上限
  10643. in: query
  10644. name: accountID
  10645. type: integer
  10646. produces:
  10647. - application/json
  10648. responses:
  10649. "200":
  10650. description: OK
  10651. schema:
  10652. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  10653. "500":
  10654. description: Internal Server Error
  10655. schema:
  10656. $ref: '#/definitions/app.Response'
  10657. security:
  10658. - ApiKeyAuth: []
  10659. summary: 查询一级市场(预售)商品信息详情
  10660. tags:
  10661. - 定制【海商报业】
  10662. /HSBY/QueryHsbyPreGoodses:
  10663. get:
  10664. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  10665. parameters:
  10666. - description: 页码
  10667. in: query
  10668. name: page
  10669. type: integer
  10670. - description: 每页条数
  10671. in: query
  10672. name: pagesize
  10673. type: integer
  10674. - description: 市场ID列表,格式:1,2,3
  10675. in: query
  10676. name: marketIDs
  10677. required: true
  10678. type: string
  10679. - description: 目的地(省)ID
  10680. in: query
  10681. name: descProvinceID
  10682. type: integer
  10683. - description: 目的地(市)ID
  10684. in: query
  10685. name: descCityID
  10686. type: integer
  10687. produces:
  10688. - application/json
  10689. responses:
  10690. "200":
  10691. description: OK
  10692. schema:
  10693. $ref: '#/definitions/models.HsbyPreGoods'
  10694. "500":
  10695. description: Internal Server Error
  10696. schema:
  10697. $ref: '#/definitions/app.Response'
  10698. security:
  10699. - ApiKeyAuth: []
  10700. summary: 查询新品上市商品列表(一级市场预售)
  10701. tags:
  10702. - 定制【海商报业】
  10703. /HSBY/QueryHsbySellMyDetails:
  10704. get:
  10705. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  10706. parameters:
  10707. - description: 页码
  10708. in: query
  10709. name: page
  10710. type: integer
  10711. - description: 每页条数
  10712. in: query
  10713. name: pagesize
  10714. type: integer
  10715. - description: 资金账户列表,格式:1,2,3
  10716. in: query
  10717. name: accountIDs
  10718. required: true
  10719. type: string
  10720. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  10721. in: query
  10722. name: orderType
  10723. type: integer
  10724. produces:
  10725. - application/json
  10726. responses:
  10727. "200":
  10728. description: OK
  10729. schema:
  10730. $ref: '#/definitions/models.HsbySellMyDetail'
  10731. "500":
  10732. description: Internal Server Error
  10733. schema:
  10734. $ref: '#/definitions/app.Response'
  10735. security:
  10736. - ApiKeyAuth: []
  10737. summary: 查询"我的闲置"单据信息
  10738. tags:
  10739. - 定制【海商报业】
  10740. /HSBY/QueryHsbyTopGoodses:
  10741. get:
  10742. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  10743. parameters:
  10744. - description: 页码
  10745. in: query
  10746. name: page
  10747. type: integer
  10748. - description: 每页条数
  10749. in: query
  10750. name: pagesize
  10751. type: integer
  10752. - description: 市场ID列表,格式:1,2,3
  10753. in: query
  10754. name: marketIDs
  10755. required: true
  10756. type: string
  10757. - description: 目的地(省)ID
  10758. in: query
  10759. name: descProvinceID
  10760. type: integer
  10761. - description: 目的地(市)ID
  10762. in: query
  10763. name: descCityID
  10764. type: integer
  10765. produces:
  10766. - application/json
  10767. responses:
  10768. "200":
  10769. description: OK
  10770. schema:
  10771. $ref: '#/definitions/models.HsbyTopGoods'
  10772. "500":
  10773. description: Internal Server Error
  10774. schema:
  10775. $ref: '#/definitions/app.Response'
  10776. security:
  10777. - ApiKeyAuth: []
  10778. summary: 查询热卖商品列表(二级市场挂牌点选)
  10779. tags:
  10780. - 定制【海商报业】
  10781. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  10782. get:
  10783. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  10784. parameters:
  10785. - description: 商品ID
  10786. in: query
  10787. name: goodsID
  10788. required: true
  10789. type: integer
  10790. produces:
  10791. - application/json
  10792. responses:
  10793. "200":
  10794. description: OK
  10795. schema:
  10796. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  10797. "500":
  10798. description: Internal Server Error
  10799. schema:
  10800. $ref: '#/definitions/app.Response'
  10801. security:
  10802. - ApiKeyAuth: []
  10803. summary: 查询游客三级市场(商城)商品信息详情
  10804. tags:
  10805. - 定制【海商报业】
  10806. /HSBY/QueryHsbyVisitorMarketGoodses:
  10807. get:
  10808. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  10809. parameters:
  10810. - description: 页码
  10811. in: query
  10812. name: page
  10813. type: integer
  10814. - description: 每页条数
  10815. in: query
  10816. name: pagesize
  10817. type: integer
  10818. - description: 市场ID列表,格式:1,2,3
  10819. in: query
  10820. name: marketIDs
  10821. required: true
  10822. type: string
  10823. - description: 类别ID
  10824. in: query
  10825. name: categoryID
  10826. type: integer
  10827. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  10828. in: query
  10829. name: goodsIDs
  10830. type: string
  10831. produces:
  10832. - application/json
  10833. responses:
  10834. "200":
  10835. description: OK
  10836. schema:
  10837. $ref: '#/definitions/models.HsbyMarketGoods'
  10838. "500":
  10839. description: Internal Server Error
  10840. schema:
  10841. $ref: '#/definitions/app.Response'
  10842. security:
  10843. - ApiKeyAuth: []
  10844. summary: 查询游客特卖商品列表(三级商城)
  10845. tags:
  10846. - 定制【海商报业】
  10847. /HSBY/QueryMyCollectionOrders:
  10848. get:
  10849. parameters:
  10850. - description: 页码
  10851. in: query
  10852. name: page
  10853. type: integer
  10854. - description: 每页条数
  10855. in: query
  10856. name: pagesize
  10857. type: integer
  10858. - description: 资金账户,格式:1,2,3
  10859. in: query
  10860. name: accountIDs
  10861. required: true
  10862. type: string
  10863. produces:
  10864. - application/json
  10865. responses:
  10866. "200":
  10867. description: OK
  10868. schema:
  10869. $ref: '#/definitions/models.HsbySellCollectionOrder'
  10870. "500":
  10871. description: Internal Server Error
  10872. schema:
  10873. $ref: '#/definitions/app.Response'
  10874. security:
  10875. - ApiKeyAuth: []
  10876. summary: 我的闲置中收款信息查询
  10877. tags:
  10878. - 定制【海商报业】
  10879. /HSBY/QueryMyCouponHolds:
  10880. get:
  10881. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  10882. parameters:
  10883. - description: 资金账户列表,格式:1,2,3
  10884. in: query
  10885. name: accountIDs
  10886. required: true
  10887. type: string
  10888. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  10889. in: query
  10890. name: holdStatus
  10891. type: string
  10892. produces:
  10893. - application/json
  10894. responses:
  10895. "200":
  10896. description: OK
  10897. schema:
  10898. $ref: '#/definitions/models.MyCouponHold'
  10899. "500":
  10900. description: Internal Server Error
  10901. schema:
  10902. $ref: '#/definitions/app.Response'
  10903. security:
  10904. - ApiKeyAuth: []
  10905. summary: 我的优惠卷持仓查询
  10906. tags:
  10907. - 定制【海商报业】
  10908. /HSBY/QueryMyCoupons:
  10909. get:
  10910. parameters:
  10911. - description: 资金账户列表,格式:1,2,3
  10912. in: query
  10913. name: accountIDs
  10914. required: true
  10915. type: string
  10916. - description: 商品ID, 一般与sellUserID配套传入
  10917. in: query
  10918. name: goodsID
  10919. type: integer
  10920. - description: 卖方UserID
  10921. in: query
  10922. name: sellUserID
  10923. type: integer
  10924. produces:
  10925. - application/json
  10926. responses:
  10927. "200":
  10928. description: OK
  10929. schema:
  10930. $ref: '#/definitions/models.MyCoupon'
  10931. "500":
  10932. description: Internal Server Error
  10933. schema:
  10934. $ref: '#/definitions/app.Response'
  10935. security:
  10936. - ApiKeyAuth: []
  10937. summary: 我的优惠卷查询
  10938. tags:
  10939. - 定制【海商报业】
  10940. /HSBY/QueryMyPayOrders:
  10941. get:
  10942. parameters:
  10943. - description: 页码
  10944. in: query
  10945. name: page
  10946. type: integer
  10947. - description: 每页条数
  10948. in: query
  10949. name: pagesize
  10950. type: integer
  10951. - description: 资金账户列表,格式:1,2,3
  10952. in: query
  10953. name: accountIDs
  10954. required: true
  10955. type: string
  10956. - description: 买方委托单号
  10957. in: query
  10958. name: buyOrderID
  10959. type: integer
  10960. - description: 卖方委托单号
  10961. in: query
  10962. name: sellOrderID
  10963. type: integer
  10964. produces:
  10965. - application/json
  10966. responses:
  10967. "200":
  10968. description: OK
  10969. schema:
  10970. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  10971. "500":
  10972. description: Internal Server Error
  10973. schema:
  10974. $ref: '#/definitions/app.Response'
  10975. security:
  10976. - ApiKeyAuth: []
  10977. summary: 获取我的订单中待付款信息
  10978. tags:
  10979. - 定制【海商报业】
  10980. /HSBY/QueryMyUsedCoupon:
  10981. get:
  10982. parameters:
  10983. - description: 资金账户列表,格式:1,2,3
  10984. in: query
  10985. name: accountIDs
  10986. required: true
  10987. type: string
  10988. produces:
  10989. - application/json
  10990. responses:
  10991. "200":
  10992. description: OK
  10993. schema:
  10994. $ref: '#/definitions/models.MyUsedCoupon'
  10995. "500":
  10996. description: Internal Server Error
  10997. schema:
  10998. $ref: '#/definitions/app.Response'
  10999. security:
  11000. - ApiKeyAuth: []
  11001. summary: 已使用优惠卷查询
  11002. tags:
  11003. - 定制【海商报业】
  11004. /HSBY/QueryProvincesAndCities:
  11005. get:
  11006. description: 查询结果只包括二级市场商品已关连的省市信息。
  11007. parameters:
  11008. - description: 省ID
  11009. in: query
  11010. name: provinceID
  11011. type: integer
  11012. produces:
  11013. - application/json
  11014. responses:
  11015. "200":
  11016. description: OK
  11017. schema:
  11018. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  11019. "500":
  11020. description: Internal Server Error
  11021. schema:
  11022. $ref: '#/definitions/app.Response'
  11023. security:
  11024. - ApiKeyAuth: []
  11025. summary: 查询省市信息(不包括区)
  11026. tags:
  11027. - 定制【海商报业】
  11028. /HSBY/SetHsbyMyPackagesStatus:
  11029. post:
  11030. parameters:
  11031. - description: 提货单号
  11032. in: query
  11033. name: takeOrderID
  11034. required: true
  11035. type: string
  11036. - description: 资金账号
  11037. in: query
  11038. name: accountID
  11039. required: true
  11040. type: integer
  11041. produces:
  11042. - application/json
  11043. responses:
  11044. "200":
  11045. description: OK
  11046. schema:
  11047. $ref: '#/definitions/app.Response'
  11048. "500":
  11049. description: Internal Server Error
  11050. schema:
  11051. $ref: '#/definitions/app.Response'
  11052. security:
  11053. - ApiKeyAuth: []
  11054. summary: 设置我的包裹已收货状态
  11055. tags:
  11056. - 定制【海商报业】
  11057. /Market/QueryGoodsesByLoginID:
  11058. get:
  11059. parameters:
  11060. - description: 登录账号
  11061. in: query
  11062. name: loginID
  11063. required: true
  11064. type: integer
  11065. - description: 市场ID列表,格式:1,2,3
  11066. in: query
  11067. name: marketIDs
  11068. type: string
  11069. produces:
  11070. - application/json
  11071. responses:
  11072. "200":
  11073. description: OK
  11074. schema:
  11075. $ref: '#/definitions/models.Goods'
  11076. "500":
  11077. description: Internal Server Error
  11078. schema:
  11079. $ref: '#/definitions/app.Response'
  11080. security:
  11081. - ApiKeyAuth: []
  11082. summary: 获取登录账号有权限的商品信息
  11083. tags:
  11084. - 通用市场
  11085. /Market/QueryMarketRun:
  11086. get:
  11087. parameters:
  11088. - description: 市场ID,不传返回所有
  11089. in: query
  11090. name: marketID
  11091. type: integer
  11092. produces:
  11093. - application/json
  11094. responses:
  11095. "200":
  11096. description: OK
  11097. schema:
  11098. $ref: '#/definitions/models.Marketrun'
  11099. "500":
  11100. description: Internal Server Error
  11101. schema:
  11102. $ref: '#/definitions/app.Response'
  11103. security:
  11104. - ApiKeyAuth: []
  11105. summary: 查询市场运行信息
  11106. tags:
  11107. - 通用市场
  11108. /Market/QueryMarketsByLoginID:
  11109. get:
  11110. parameters:
  11111. - description: 登录账号
  11112. in: query
  11113. name: loginID
  11114. required: true
  11115. type: integer
  11116. produces:
  11117. - application/json
  11118. responses:
  11119. "200":
  11120. description: OK
  11121. schema:
  11122. $ref: '#/definitions/models.Market'
  11123. "500":
  11124. description: Internal Server Error
  11125. schema:
  11126. $ref: '#/definitions/app.Response'
  11127. security:
  11128. - ApiKeyAuth: []
  11129. summary: 获取登录账号有权限的市场信息
  11130. tags:
  11131. - 通用市场
  11132. /Order/QueryHisTradeDetail:
  11133. get:
  11134. parameters:
  11135. - description: 资金账户 - 格式:1,2,3
  11136. in: query
  11137. name: accountID
  11138. required: true
  11139. type: string
  11140. - description: 成交单号
  11141. in: query
  11142. name: tradeID
  11143. type: integer
  11144. - description: 委托单号
  11145. in: query
  11146. name: orderID
  11147. type: integer
  11148. - description: 交易模式 - 格式:1,2,3
  11149. in: query
  11150. name: tradeMode
  11151. type: string
  11152. - description: 委托单据类型
  11153. in: query
  11154. name: buildType
  11155. type: integer
  11156. - description: 成交类别 - 格式:1,2,3
  11157. in: query
  11158. name: tradeType
  11159. type: string
  11160. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11161. in: query
  11162. name: startDate
  11163. type: string
  11164. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11165. in: query
  11166. name: endDate
  11167. type: string
  11168. produces:
  11169. - application/json
  11170. responses:
  11171. "200":
  11172. description: OK
  11173. schema:
  11174. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  11175. "500":
  11176. description: Internal Server Error
  11177. schema:
  11178. $ref: '#/definitions/app.Response'
  11179. security:
  11180. - ApiKeyAuth: []
  11181. summary: 历史成交单查询(合约市场)
  11182. tags:
  11183. - 通用单据
  11184. /Order/QueryHisTradeOrderDetail:
  11185. get:
  11186. parameters:
  11187. - description: 资金账户 - 格式:1,2,3
  11188. in: query
  11189. name: accountID
  11190. required: true
  11191. type: string
  11192. - description: 交易模式 - 格式:1,2,3
  11193. in: query
  11194. name: tradeMode
  11195. type: string
  11196. - description: 委托状态 - 格式:1,2,3
  11197. in: query
  11198. name: orderStatus
  11199. type: string
  11200. - description: 委托单号
  11201. in: query
  11202. name: orderID
  11203. type: integer
  11204. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11205. in: query
  11206. name: startDate
  11207. type: string
  11208. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11209. in: query
  11210. name: endDate
  11211. type: string
  11212. produces:
  11213. - application/json
  11214. responses:
  11215. "200":
  11216. description: OK
  11217. schema:
  11218. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  11219. "500":
  11220. description: Internal Server Error
  11221. schema:
  11222. $ref: '#/definitions/app.Response'
  11223. security:
  11224. - ApiKeyAuth: []
  11225. summary: 历史委托单查询请求(合约市场)
  11226. tags:
  11227. - 通用单据
  11228. /Order/QueryTradeDetail:
  11229. get:
  11230. parameters:
  11231. - description: 资金账户 - 格式:1,2,3
  11232. in: query
  11233. name: accountID
  11234. required: true
  11235. type: string
  11236. - description: 成交单号
  11237. in: query
  11238. name: tradeID
  11239. type: integer
  11240. - description: 委托单号
  11241. in: query
  11242. name: orderID
  11243. type: integer
  11244. - description: 交易模式 - 格式:1,2,3
  11245. in: query
  11246. name: tradeMode
  11247. type: string
  11248. - description: 委托单据类型
  11249. in: query
  11250. name: buildType
  11251. type: integer
  11252. - description: 成交类别 - 格式:1,2,3
  11253. in: query
  11254. name: tradeType
  11255. type: string
  11256. produces:
  11257. - application/json
  11258. responses:
  11259. "200":
  11260. description: OK
  11261. schema:
  11262. $ref: '#/definitions/order.QueryTradeDetailRsp'
  11263. "500":
  11264. description: Internal Server Error
  11265. schema:
  11266. $ref: '#/definitions/app.Response'
  11267. security:
  11268. - ApiKeyAuth: []
  11269. summary: 成交单查询(合约市场)
  11270. tags:
  11271. - 通用单据
  11272. /Order/QueryTradeOrderDetail:
  11273. get:
  11274. parameters:
  11275. - description: 资金账户 - 格式:1,2,3
  11276. in: query
  11277. name: accountID
  11278. required: true
  11279. type: string
  11280. - description: 交易模式 - 格式:1,2,3
  11281. in: query
  11282. name: tradeMode
  11283. type: string
  11284. - description: 委托状态 - 格式:1,2,3
  11285. in: query
  11286. name: orderStatus
  11287. type: string
  11288. - description: 委托单号
  11289. in: query
  11290. name: orderID
  11291. type: integer
  11292. produces:
  11293. - application/json
  11294. responses:
  11295. "200":
  11296. description: OK
  11297. schema:
  11298. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  11299. "500":
  11300. description: Internal Server Error
  11301. schema:
  11302. $ref: '#/definitions/app.Response'
  11303. security:
  11304. - ApiKeyAuth: []
  11305. summary: 委托单查询请求(合约市场)
  11306. tags:
  11307. - 通用单据
  11308. /Order/QueryTradePosition:
  11309. get:
  11310. parameters:
  11311. - description: 资金账户 - 格式:1,2,3
  11312. in: query
  11313. name: accountID
  11314. required: true
  11315. type: string
  11316. - description: 交易模式 - 格式:1,2,3
  11317. in: query
  11318. name: tradeMode
  11319. type: string
  11320. produces:
  11321. - application/json
  11322. responses:
  11323. "200":
  11324. description: OK
  11325. schema:
  11326. $ref: '#/definitions/order.QueryTradePositionRsp'
  11327. "500":
  11328. description: Internal Server Error
  11329. schema:
  11330. $ref: '#/definitions/app.Response'
  11331. security:
  11332. - ApiKeyAuth: []
  11333. summary: 持仓汇总查询(合约市场)
  11334. tags:
  11335. - 通用单据
  11336. /Quote/QueryHistoryDatas:
  11337. get:
  11338. parameters:
  11339. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  11340. 日线 10: Tik'
  11341. in: query
  11342. name: cycleType
  11343. required: true
  11344. type: integer
  11345. - description: 商品代码
  11346. in: query
  11347. name: goodsCode
  11348. required: true
  11349. type: string
  11350. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  11351. in: query
  11352. name: startTime
  11353. type: string
  11354. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  11355. in: query
  11356. name: endTime
  11357. type: string
  11358. - description: 条数
  11359. in: query
  11360. name: count
  11361. type: integer
  11362. - description: 是否按时间顺序排序(默认为时间倒序排序)
  11363. in: query
  11364. name: isAsc
  11365. type: boolean
  11366. produces:
  11367. - application/json
  11368. responses:
  11369. "200":
  11370. description: OK
  11371. schema:
  11372. $ref: '#/definitions/quote.HistoryData'
  11373. "500":
  11374. description: Internal Server Error
  11375. schema:
  11376. $ref: '#/definitions/app.Response'
  11377. security:
  11378. - ApiKeyAuth: []
  11379. summary: 查询行情历史数据
  11380. tags:
  11381. - 行情服务
  11382. /Quote/QueryTSData:
  11383. get:
  11384. parameters:
  11385. - description: 商品代码
  11386. in: query
  11387. name: goodsCode
  11388. required: true
  11389. type: string
  11390. produces:
  11391. - application/json
  11392. responses:
  11393. "200":
  11394. description: OK
  11395. schema:
  11396. $ref: '#/definitions/quote.QueryTSDataRsp'
  11397. "500":
  11398. description: Internal Server Error
  11399. schema:
  11400. $ref: '#/definitions/app.Response'
  11401. summary: 分时图数据查询
  11402. tags:
  11403. - 行情服务
  11404. /SZDZ/QueryConvertConfig:
  11405. get:
  11406. parameters:
  11407. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  11408. 6:交易转花生米(不设置)
  11409. in: query
  11410. name: convertType
  11411. type: integer
  11412. - description: 外部商品代码[JD\PD]
  11413. in: query
  11414. name: outerGoodsCode
  11415. type: string
  11416. - description: 内部商品ID列表[交易],格式:1,2,3
  11417. in: query
  11418. name: innerGoodsIDs
  11419. type: string
  11420. produces:
  11421. - application/json
  11422. responses:
  11423. "200":
  11424. description: OK
  11425. schema:
  11426. $ref: '#/definitions/models.Szdz3convertconfig'
  11427. "500":
  11428. description: Internal Server Error
  11429. schema:
  11430. $ref: '#/definitions/app.Response'
  11431. security:
  11432. - ApiKeyAuth: []
  11433. summary: 查询交易系统转换设置
  11434. tags:
  11435. - 定制【尚志大宗】
  11436. /SZDZ/QueryConvertLog:
  11437. get:
  11438. parameters:
  11439. - description: 资金账户 - 格式:1,2,3
  11440. in: query
  11441. name: accountID
  11442. required: true
  11443. type: string
  11444. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11445. in: query
  11446. name: startDate
  11447. type: string
  11448. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  11449. in: query
  11450. name: endDate
  11451. type: string
  11452. produces:
  11453. - application/json
  11454. responses:
  11455. "200":
  11456. description: OK
  11457. schema:
  11458. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  11459. "500":
  11460. description: Internal Server Error
  11461. schema:
  11462. $ref: '#/definitions/app.Response'
  11463. security:
  11464. - ApiKeyAuth: []
  11465. summary: 交易系统转换流水查询
  11466. tags:
  11467. - 定制【尚志大宗】
  11468. /SZDZ/QueryGoodsPickup:
  11469. get:
  11470. parameters:
  11471. - description: 资金账户 - 格式:1,2,3
  11472. in: query
  11473. name: accountID
  11474. required: true
  11475. type: string
  11476. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  11477. in: query
  11478. name: takeOrderStatus
  11479. type: integer
  11480. produces:
  11481. - application/json
  11482. responses:
  11483. "200":
  11484. description: OK
  11485. schema:
  11486. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  11487. "500":
  11488. description: Internal Server Error
  11489. schema:
  11490. $ref: '#/definitions/app.Response'
  11491. security:
  11492. - ApiKeyAuth: []
  11493. summary: 商品提货单查询
  11494. tags:
  11495. - 定制【尚志大宗】
  11496. /SZDZ/QueryRecieptOrder:
  11497. get:
  11498. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  11499. parameters:
  11500. - description: 页码
  11501. in: query
  11502. name: page
  11503. type: integer
  11504. - description: 每页条数
  11505. in: query
  11506. name: pagesize
  11507. type: integer
  11508. - description: 商品ID
  11509. in: query
  11510. name: goodsID
  11511. required: true
  11512. type: integer
  11513. - description: 所属账户名称
  11514. in: query
  11515. name: accountName
  11516. type: string
  11517. - description: 市场ID
  11518. in: query
  11519. name: marketID
  11520. type: integer
  11521. - description: 方向 - 0:买 1:卖
  11522. in: query
  11523. name: buyorsell
  11524. required: true
  11525. type: integer
  11526. produces:
  11527. - application/json
  11528. responses:
  11529. "200":
  11530. description: OK
  11531. schema:
  11532. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  11533. "500":
  11534. description: Internal Server Error
  11535. schema:
  11536. $ref: '#/definitions/app.Response'
  11537. security:
  11538. - ApiKeyAuth: []
  11539. summary: 点选挂牌委托单据查询(摘牌大厅)
  11540. tags:
  11541. - 定制【尚志大宗】
  11542. /SZDZ/QuerySZDZTradePosition:
  11543. get:
  11544. parameters:
  11545. - description: 资金账户
  11546. in: query
  11547. name: accountID
  11548. required: true
  11549. type: integer
  11550. produces:
  11551. - application/json
  11552. responses:
  11553. "200":
  11554. description: OK
  11555. schema:
  11556. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  11557. "500":
  11558. description: Internal Server Error
  11559. schema:
  11560. $ref: '#/definitions/app.Response'
  11561. security:
  11562. - ApiKeyAuth: []
  11563. summary: 持仓汇总查询(尚志大宗)
  11564. tags:
  11565. - 定制【尚志大宗】
  11566. /SZDZ/SearchWhite:
  11567. get:
  11568. parameters:
  11569. - description: 用户ID
  11570. in: query
  11571. name: userID
  11572. required: true
  11573. type: integer
  11574. produces:
  11575. - application/json
  11576. responses:
  11577. "200":
  11578. description: OK
  11579. schema:
  11580. $ref: '#/definitions/models.Szdz3searchwhitelist'
  11581. "500":
  11582. description: Internal Server Error
  11583. schema:
  11584. $ref: '#/definitions/app.Response'
  11585. security:
  11586. - ApiKeyAuth: []
  11587. summary: 搜索白名单
  11588. tags:
  11589. - 定制【尚志大宗】
  11590. /Search/SearchGoodses:
  11591. get:
  11592. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  11593. parameters:
  11594. - description: 检索内容
  11595. in: query
  11596. name: content
  11597. required: true
  11598. type: string
  11599. - description: 交易模式,格式:1,2,3
  11600. in: query
  11601. name: tradeModes
  11602. type: string
  11603. produces:
  11604. - application/json
  11605. responses:
  11606. "200":
  11607. description: OK
  11608. schema:
  11609. $ref: '#/definitions/models.SearchGoods'
  11610. "500":
  11611. description: Internal Server Error
  11612. schema:
  11613. $ref: '#/definitions/app.Response'
  11614. summary: 检索商品信息
  11615. tags:
  11616. - 检索服务
  11617. /TaAccount/GetTaAccounts:
  11618. get:
  11619. parameters:
  11620. - description: 登录账户
  11621. in: query
  11622. name: loginID
  11623. required: true
  11624. type: integer
  11625. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  11626. in: query
  11627. name: taAccountType
  11628. type: integer
  11629. produces:
  11630. - application/json
  11631. responses:
  11632. "200":
  11633. description: OK
  11634. schema:
  11635. $ref: '#/definitions/models.Taaccount'
  11636. "500":
  11637. description: Internal Server Error
  11638. schema:
  11639. $ref: '#/definitions/app.Response'
  11640. security:
  11641. - ApiKeyAuth: []
  11642. summary: 获取资金账户信息
  11643. tags:
  11644. - 资金账户
  11645. /TaAccount/QueryAmountLog:
  11646. get:
  11647. parameters:
  11648. - description: 页码
  11649. in: query
  11650. name: page
  11651. type: integer
  11652. - description: 每页条数
  11653. in: query
  11654. name: pagesize
  11655. type: integer
  11656. - description: 资金账户 - 格式:1,2,3
  11657. in: query
  11658. name: accountID
  11659. required: true
  11660. type: string
  11661. - description: 资金操作类型 - 格式:1,2,3
  11662. in: query
  11663. name: OperateType
  11664. type: string
  11665. produces:
  11666. - application/json
  11667. responses:
  11668. "200":
  11669. description: OK
  11670. schema:
  11671. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  11672. "500":
  11673. description: Internal Server Error
  11674. schema:
  11675. $ref: '#/definitions/app.Response'
  11676. security:
  11677. - ApiKeyAuth: []
  11678. summary: 资金流水查询(当前)
  11679. tags:
  11680. - 资金账户
  11681. /TaAccount/QueryHisAmountLog:
  11682. get:
  11683. parameters:
  11684. - description: 页码
  11685. in: query
  11686. name: page
  11687. type: integer
  11688. - description: 每页条数
  11689. in: query
  11690. name: pagesize
  11691. type: integer
  11692. - description: 资金账户 - 格式:1,2,3
  11693. in: query
  11694. name: accountID
  11695. required: true
  11696. type: string
  11697. - description: 资金操作类型 - 格式:1,2,3
  11698. in: query
  11699. name: OperateType
  11700. type: string
  11701. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  11702. in: query
  11703. name: startDate
  11704. type: string
  11705. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  11706. in: query
  11707. name: endDate
  11708. type: string
  11709. produces:
  11710. - application/json
  11711. responses:
  11712. "200":
  11713. description: OK
  11714. schema:
  11715. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  11716. "500":
  11717. description: Internal Server Error
  11718. schema:
  11719. $ref: '#/definitions/app.Response'
  11720. security:
  11721. - ApiKeyAuth: []
  11722. summary: 资金流水查询(历史)
  11723. tags:
  11724. - 资金账户
  11725. /Trade/QueryRecieptOrder:
  11726. get:
  11727. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  11728. parameters:
  11729. - description: 页码
  11730. in: query
  11731. name: page
  11732. type: integer
  11733. - description: 每页条数
  11734. in: query
  11735. name: pagesize
  11736. type: integer
  11737. - description: 商品ID
  11738. in: query
  11739. name: goodsID
  11740. required: true
  11741. type: integer
  11742. - description: 所属账户名称
  11743. in: query
  11744. name: accountName
  11745. type: string
  11746. - description: 市场ID
  11747. in: query
  11748. name: marketID
  11749. type: integer
  11750. - description: 方向 - 0:买 1:卖
  11751. in: query
  11752. name: buyorsell
  11753. required: true
  11754. type: integer
  11755. produces:
  11756. - application/json
  11757. responses:
  11758. "200":
  11759. description: OK
  11760. schema:
  11761. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  11762. "500":
  11763. description: Internal Server Error
  11764. schema:
  11765. $ref: '#/definitions/app.Response'
  11766. security:
  11767. - ApiKeyAuth: []
  11768. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  11769. tags:
  11770. - 通用交易
  11771. /User/AddMessageBoard:
  11772. post:
  11773. parameters:
  11774. - description: 用户ID
  11775. in: query
  11776. name: userID
  11777. required: true
  11778. type: integer
  11779. - description: 留言信息
  11780. in: query
  11781. name: message
  11782. required: true
  11783. type: string
  11784. produces:
  11785. - application/json
  11786. responses:
  11787. "200":
  11788. description: OK
  11789. schema:
  11790. $ref: '#/definitions/app.Response'
  11791. "500":
  11792. description: Internal Server Error
  11793. schema:
  11794. $ref: '#/definitions/app.Response'
  11795. security:
  11796. - ApiKeyAuth: []
  11797. summary: 添加用户留言板信息
  11798. tags:
  11799. - 用户信息
  11800. /User/AddUserFavoriteGoods:
  11801. post:
  11802. parameters:
  11803. - description: 用户ID
  11804. in: query
  11805. name: userID
  11806. required: true
  11807. type: integer
  11808. - description: 商品ID
  11809. in: query
  11810. name: goodsID
  11811. required: true
  11812. type: integer
  11813. produces:
  11814. - application/json
  11815. responses:
  11816. "200":
  11817. description: OK
  11818. schema:
  11819. $ref: '#/definitions/app.Response'
  11820. "500":
  11821. description: Internal Server Error
  11822. schema:
  11823. $ref: '#/definitions/app.Response'
  11824. security:
  11825. - ApiKeyAuth: []
  11826. summary: 添加用户商品收藏信息
  11827. tags:
  11828. - 用户信息
  11829. /User/GetLoginID:
  11830. get:
  11831. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  11832. parameters:
  11833. - description: 登录代码
  11834. in: query
  11835. name: username
  11836. required: true
  11837. type: string
  11838. produces:
  11839. - application/json
  11840. responses:
  11841. "200":
  11842. description: OK
  11843. schema:
  11844. $ref: '#/definitions/app.Response'
  11845. "500":
  11846. description: Internal Server Error
  11847. schema:
  11848. $ref: '#/definitions/app.Response'
  11849. summary: 获取登录ID
  11850. tags:
  11851. - 用户信息
  11852. /User/GetUserAccount:
  11853. get:
  11854. parameters:
  11855. - description: 用户ID
  11856. in: query
  11857. name: userID
  11858. required: true
  11859. type: integer
  11860. produces:
  11861. - application/json
  11862. responses:
  11863. "200":
  11864. description: OK
  11865. schema:
  11866. $ref: '#/definitions/models.Useraccount'
  11867. "500":
  11868. description: Internal Server Error
  11869. schema:
  11870. $ref: '#/definitions/app.Response'
  11871. security:
  11872. - ApiKeyAuth: []
  11873. summary: 获取用户账号信息
  11874. tags:
  11875. - 用户信息
  11876. /User/GetUserAuthStatus:
  11877. get:
  11878. parameters:
  11879. - description: 用户ID
  11880. in: query
  11881. name: userID
  11882. required: true
  11883. type: integer
  11884. produces:
  11885. - application/json
  11886. responses:
  11887. "200":
  11888. description: OK
  11889. schema:
  11890. $ref: '#/definitions/app.Response'
  11891. "500":
  11892. description: Internal Server Error
  11893. schema:
  11894. $ref: '#/definitions/app.Response'
  11895. security:
  11896. - ApiKeyAuth: []
  11897. summary: 获取用户实名认证状态
  11898. tags:
  11899. - 用户信息
  11900. /User/QueryMessageBoard:
  11901. get:
  11902. parameters:
  11903. - description: 用户ID
  11904. in: query
  11905. name: userID
  11906. required: true
  11907. type: integer
  11908. produces:
  11909. - application/json
  11910. responses:
  11911. "200":
  11912. description: OK
  11913. schema:
  11914. $ref: '#/definitions/models.Messageboard'
  11915. "500":
  11916. description: Internal Server Error
  11917. schema:
  11918. $ref: '#/definitions/app.Response'
  11919. security:
  11920. - ApiKeyAuth: []
  11921. summary: 获取用户留言板信息
  11922. tags:
  11923. - 用户信息
  11924. /User/QueryUserFavoriteGoodses:
  11925. get:
  11926. parameters:
  11927. - description: 用户ID
  11928. in: query
  11929. name: userID
  11930. required: true
  11931. type: integer
  11932. produces:
  11933. - application/json
  11934. responses:
  11935. "200":
  11936. description: OK
  11937. schema:
  11938. $ref: '#/definitions/models.Userfavoritegoods'
  11939. "500":
  11940. description: Internal Server Error
  11941. schema:
  11942. $ref: '#/definitions/app.Response'
  11943. security:
  11944. - ApiKeyAuth: []
  11945. summary: 获取用户商品收藏信息
  11946. tags:
  11947. - 用户信息
  11948. /User/QueryUserInfo:
  11949. get:
  11950. parameters:
  11951. - description: 用户ID
  11952. in: query
  11953. name: userID
  11954. required: true
  11955. type: integer
  11956. produces:
  11957. - application/json
  11958. responses:
  11959. "200":
  11960. description: OK
  11961. schema:
  11962. $ref: '#/definitions/models.Userinfo'
  11963. "500":
  11964. description: Internal Server Error
  11965. schema:
  11966. $ref: '#/definitions/app.Response'
  11967. security:
  11968. - ApiKeyAuth: []
  11969. summary: 获取用户信息
  11970. tags:
  11971. - 用户信息
  11972. /User/QueryUserReferNum:
  11973. get:
  11974. parameters:
  11975. - description: 用户ID
  11976. in: query
  11977. name: userID
  11978. required: true
  11979. type: integer
  11980. produces:
  11981. - application/json
  11982. responses:
  11983. "200":
  11984. description: OK
  11985. schema:
  11986. $ref: '#/definitions/app.Response'
  11987. "500":
  11988. description: Internal Server Error
  11989. schema:
  11990. $ref: '#/definitions/app.Response'
  11991. summary: 获取用户邀请码
  11992. tags:
  11993. - 用户信息
  11994. /User/RemoveUserFavoriteGoods:
  11995. post:
  11996. parameters:
  11997. - description: 用户ID
  11998. in: query
  11999. name: userID
  12000. required: true
  12001. type: integer
  12002. - description: 商品ID
  12003. in: query
  12004. name: goodsID
  12005. required: true
  12006. type: integer
  12007. produces:
  12008. - application/json
  12009. responses:
  12010. "200":
  12011. description: OK
  12012. schema:
  12013. $ref: '#/definitions/app.Response'
  12014. "500":
  12015. description: Internal Server Error
  12016. schema:
  12017. $ref: '#/definitions/app.Response'
  12018. security:
  12019. - ApiKeyAuth: []
  12020. summary: 移除用户商品收藏信息
  12021. tags:
  12022. - 用户信息
  12023. /User/UpdateUserAccountStatus:
  12024. post:
  12025. parameters:
  12026. - description: 用户ID
  12027. in: query
  12028. name: userID
  12029. required: true
  12030. type: integer
  12031. - description: 账户状态 - 4:正常 6:注销(停用)
  12032. in: query
  12033. name: accountStatus
  12034. required: true
  12035. type: integer
  12036. produces:
  12037. - application/json
  12038. responses:
  12039. "200":
  12040. description: OK
  12041. schema:
  12042. $ref: '#/definitions/app.Response'
  12043. "500":
  12044. description: Internal Server Error
  12045. schema:
  12046. $ref: '#/definitions/app.Response'
  12047. security:
  12048. - ApiKeyAuth: []
  12049. summary: 更新用户状态
  12050. tags:
  12051. - 用户信息
  12052. /WR/GetWRCategoryInfo:
  12053. get:
  12054. produces:
  12055. - application/json
  12056. responses:
  12057. "200":
  12058. description: OK
  12059. schema:
  12060. $ref: '#/definitions/models.WRCategoryTree'
  12061. "500":
  12062. description: Internal Server Error
  12063. schema:
  12064. $ref: '#/definitions/app.Response'
  12065. summary: 获取现货分类信息
  12066. tags:
  12067. - 仓单服务
  12068. /WRTrade/GetAllDeliveryGoods:
  12069. get:
  12070. produces:
  12071. - application/json
  12072. - application/json
  12073. responses:
  12074. "200":
  12075. description: OK
  12076. schema:
  12077. $ref: '#/definitions/app.Response'
  12078. "500":
  12079. description: Internal Server Error
  12080. schema:
  12081. $ref: '#/definitions/app.Response'
  12082. security:
  12083. - ApiKeyAuth: []
  12084. - ApiKeyAuth: []
  12085. summary: 获取带仓单分类的种类信息
  12086. tags:
  12087. - 仓单贸易
  12088. - 仓单贸易
  12089. securityDefinitions:
  12090. ApiKeyAuth:
  12091. in: header
  12092. name: Authorization
  12093. type: apiKey
  12094. swagger: "2.0"